|
Aegis
4.25.D505
|
#include <lookup.h>
Public Member Functions | |
| virtual | ~rpt_expr_lookup () |
Static Public Member Functions | |
| static rpt_expr::pointer | create (const rpt_expr::pointer &lhs, const rpt_expr::pointer &rhs) |
| static rpt_expr::pointer | create (const rpt_expr::pointer &lhs, const nstring &rhs) |
Protected Member Functions | |
| bool | lvalue () const |
| rpt_value::pointer | evaluate () const |
Private Member Functions | |
| rpt_expr_lookup (const rpt_expr::pointer &lhs, const rpt_expr::pointer &rhs) | |
| rpt_expr_lookup () | |
| rpt_expr_lookup (const rpt_expr_lookup &) | |
| rpt_expr_lookup & | operator= (const rpt_expr_lookup &) |
The rpt_expr_lookup class is used to represent array lookup syntax tree expression nodes.
| virtual rpt_expr_lookup::~rpt_expr_lookup | ( | ) | [virtual] |
The destructor.
| rpt_expr_lookup::rpt_expr_lookup | ( | const rpt_expr::pointer & | lhs, |
| const rpt_expr::pointer & | rhs | ||
| ) | [private] |
The constructor. It is private on purpose, use the "create" class method instead.
| lhs | The left hand expression, the array to index |
| rhs | The right hand expression, the array index |
| rpt_expr_lookup::rpt_expr_lookup | ( | ) | [private] |
The default constructor. Do not use.
| rpt_expr_lookup::rpt_expr_lookup | ( | const rpt_expr_lookup & | ) | [private] |
The copy constructor. Do not use.
| static rpt_expr::pointer rpt_expr_lookup::create | ( | const rpt_expr::pointer & | lhs, |
| const rpt_expr::pointer & | rhs | ||
| ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| lhs | The left hand expression, the array to index |
| rhs | The right hand expression, the array index |
| static rpt_expr::pointer rpt_expr_lookup::create | ( | const rpt_expr::pointer & | lhs, |
| const nstring & | rhs | ||
| ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| lhs | The left hand expression, the structure to index |
| rhs | The right hand expression, the member name |
| rpt_value::pointer rpt_expr_lookup::evaluate | ( | ) | const [protected, virtual] |
The evaluate method may be used to calculate the value of the expression syntax tree.
Implements rpt_expr.
| bool rpt_expr_lookup::lvalue | ( | ) | const [protected, virtual] |
The lvalue method may be used to determine whether or not this expression node is an L-value (something which may appear on the left hand side of an assigment, a variable).
The default implementation, which is true for the vast majority of expression nodes, returns false.
Reimplemented from rpt_expr.
| rpt_expr_lookup& rpt_expr_lookup::operator= | ( | const rpt_expr_lookup & | ) | [private] |
The assignment operator. Do not use.
1.7.6.1