Operators and Keywords

Function List:


tree_expression Class Reference

#include <pt-exp.h>

Inherits tree.

Inherited by tree_anon_fcn_handle, tree_binary_expression, tree_colon_expression, tree_constant, tree_fcn_handle, tree_identifier, tree_index_expression, tree_matrix, tree_multi_assignment, tree_simple_assignment, and tree_unary_expression.

Collaboration diagram for tree_expression:

List of all members.

Public Member Functions

 tree_expression (int l=-1, int c=-1)
virtual ~tree_expression (void)
virtual bool has_magic_end (void) const =0
virtual tree_expressiondup (symbol_table::scope_id, symbol_table::context_id context) const =0
virtual bool is_constant (void) const
virtual bool is_matrix_constant (void) const
virtual bool is_identifier (void) const
virtual bool is_index_expression (void) const
virtual bool is_assignment_expression (void) const
virtual bool is_prefix_expression (void) const
virtual bool is_unary_expression (void) const
virtual bool is_binary_expression (void) const
virtual bool is_boolean_expression (void) const
virtual bool is_logically_true (const char *)
virtual bool lvalue_ok (void) const
virtual bool rvalue_ok (void) const
virtual octave_value rvalue1 (int nargout=1)
virtual octave_value_list rvalue (int nargout)
virtual octave_value_list rvalue (int nargout, const std::list< octave_lvalue > *lvalue_list)
virtual octave_lvalue lvalue (void)
int paren_count (void) const
bool is_postfix_indexed (void) const
bool print_result (void) const
virtual std::string oper (void) const
virtual std::string name (void) const
virtual std::string original_text (void) const
virtual void mark_braindead_shortcircuit (const std::string &)
tree_expressionmark_in_parens (void)
tree_expressionmark_postfix_indexed (void)
tree_expressionset_print_flag (bool print)
virtual void copy_base (const tree_expression &e)

Protected Attributes

int num_parens
bool postfix_indexed
bool print_flag

Constructor & Destructor Documentation

tree_expression::tree_expression ( int  l = -1,
int  c = -1 
) [inline]
virtual tree_expression::~tree_expression ( void   )  [inline, virtual]

Member Function Documentation

virtual void tree_expression::copy_base ( const tree_expression e  )  [inline, virtual]
virtual bool tree_expression::is_assignment_expression ( void   )  const [inline, virtual]
virtual bool tree_expression::is_binary_expression ( void   )  const [inline, virtual]

Reimplemented in tree_binary_expression.

virtual bool tree_expression::is_boolean_expression ( void   )  const [inline, virtual]

Reimplemented in tree_boolean_expression.

virtual bool tree_expression::is_constant ( void   )  const [inline, virtual]

Reimplemented in tree_constant.

virtual bool tree_expression::is_identifier ( void   )  const [inline, virtual]

Reimplemented in tree_identifier.

virtual bool tree_expression::is_index_expression ( void   )  const [inline, virtual]

Reimplemented in tree_index_expression.

bool tree_expression::is_logically_true ( const char *  warn_for  )  [virtual]
virtual bool tree_expression::is_matrix_constant ( void   )  const [inline, virtual]
bool tree_expression::is_postfix_indexed ( void   )  const [inline]
virtual bool tree_expression::is_prefix_expression ( void   )  const [inline, virtual]
virtual bool tree_expression::is_unary_expression ( void   )  const [inline, virtual]

Reimplemented in tree_unary_expression.

octave_lvalue tree_expression::lvalue ( void   )  [virtual]
virtual bool tree_expression::lvalue_ok ( void   )  const [inline, virtual]

Reimplemented in tree_identifier, and tree_index_expression.

virtual void tree_expression::mark_braindead_shortcircuit ( const std::string &   )  [inline, virtual]

Reimplemented in tree_binary_expression.

tree_expression* tree_expression::mark_in_parens ( void   )  [inline]
tree_expression* tree_expression::mark_postfix_indexed ( void   )  [inline]
virtual std::string tree_expression::name ( void   )  const [inline, virtual]
virtual std::string tree_expression::oper ( void   )  const [inline, virtual]
std::string tree_expression::original_text ( void   )  const [virtual]

Reimplemented in tree_constant.

int tree_expression::paren_count ( void   )  const [inline]
bool tree_expression::print_result ( void   )  const [inline]
octave_value_list tree_expression::rvalue ( int  nargout,
const std::list< octave_lvalue > *  lvalue_list 
) [virtual]

Reimplemented in tree_index_expression.

tree_expression* tree_expression::set_print_flag ( bool  print  )  [inline]

Member Data Documentation

int tree_expression::num_parens [protected]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines