Navigation

Operators and Keywords

Function List:

C++ API

tree_identifier Class Reference

#include <pt-id.h>

Inherits tree_expression.

Collaboration diagram for tree_identifier:

List of all members.


Public Member Functions

 tree_identifier (int l=-1, int c=-1)
 tree_identifier (const symbol_table::symbol_record &s, int l=-1, int c=-1, symbol_table::scope_id sc=symbol_table::current_scope())
 ~tree_identifier (void)
bool has_magic_end (void) const
bool is_identifier (void) const
std::string name (void) const
bool is_defined (void)
bool is_variable (void)
octave_value do_lookup (const octave_value_list &args=octave_value_list())
void mark_global (void)
void mark_as_static (void)
void mark_as_formal_parameter (void)
bool lvalue_ok (void) const
octave_value rvalue1 (int nargout=1)
octave_value_list rvalue (int nargout)
octave_lvalue lvalue (void)
void eval_undefined_error (void)
tree_identifierdup (symbol_table::scope_id scope, symbol_table::context_id context) const
void accept (tree_walker &tw)

Friends

class tree_index_expression

Constructor & Destructor Documentation

tree_identifier::tree_identifier ( int  l = -1,
int  c = -1 
) [inline]

tree_identifier::tree_identifier ( const symbol_table::symbol_record s,
int  l = -1,
int  c = -1,
symbol_table::scope_id  sc = symbol_table::current_scope () 
) [inline]

tree_identifier::~tree_identifier ( void   )  [inline]


Member Function Documentation

void tree_identifier::accept ( tree_walker tw  )  [virtual]

Implements tree.

octave_value tree_identifier::do_lookup ( const octave_value_list args = octave_value_list ()  )  [inline]

tree_identifier * tree_identifier::dup ( symbol_table::scope_id  scope,
symbol_table::context_id  context 
) const [virtual]

Implements tree_expression.

void tree_identifier::eval_undefined_error ( void   ) 

bool tree_identifier::has_magic_end ( void   )  const [inline, virtual]

Implements tree_expression.

bool tree_identifier::is_defined ( void   )  [inline]

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

Reimplemented from tree_expression.

bool tree_identifier::is_variable ( void   )  [inline]

octave_lvalue tree_identifier::lvalue ( void   )  [virtual]

Reimplemented from tree_expression.

bool tree_identifier::lvalue_ok ( void   )  const [inline, virtual]

Reimplemented from tree_expression.

void tree_identifier::mark_as_formal_parameter ( void   )  [inline]

void tree_identifier::mark_as_static ( void   )  [inline]

void tree_identifier::mark_global ( void   )  [inline]

std::string tree_identifier::name ( void   )  const [inline, virtual]

Reimplemented from tree_expression.

octave_value_list tree_identifier::rvalue ( int  nargout  )  [virtual]

Reimplemented from tree_expression.

octave_value tree_identifier::rvalue1 ( int  nargout = 1  )  [virtual]

Reimplemented from tree_expression.


Friends And Related Function Documentation

friend class tree_index_expression [friend]


The documentation for this class was generated from the following files: