#include <load.h>
Inheritance diagram for expression_load:

Public Member Functions | |
| virtual | ~expression_load () |
Protected Member Functions | |
| expression_load (const location &locn, const type::pointer &operand) | |
| bool | is_lvalue () const |
| type::pointer | get_type () const |
| int | get_precedence () const |
| side_effect_t | has_side_effect () const |
Private Member Functions | |
| expression_load () | |
| expression_load (const expression_load &) | |
| expression_load & | operator= (const expression_load &) |
Private Attributes | |
| type::pointer | var_type |
Definition at line 31 of file load.h.
| virtual expression_load::~expression_load | ( | ) | [virtual] |
The destructor.
| expression_load::expression_load | ( | const location & | locn, | |
| const type::pointer & | operand | |||
| ) | [protected] |
The constructor. (You must derive from this class.)
| expression_load::expression_load | ( | ) | [private] |
The default constructor. Do not use.
| expression_load::expression_load | ( | const expression_load & | ) | [private] |
The copy constructor. Do not use.
| bool expression_load::is_lvalue | ( | ) | const [protected, virtual] |
The is_lvalue method is used to determine whether or not this expression is suitable to appear on the left hand side of an assignment expression.
Implements expression.
| type::pointer expression_load::get_type | ( | ) | const [protected, virtual] |
The get_type method is used to get the type of this expression.
Implements expression.
| int expression_load::get_precedence | ( | ) | const [protected, virtual] |
The get_precedence method is used to obtain the precedence of this expression node.
The highest precedence has the highest absolute value, the lowest precedence gets the lowest absolute value.
Implements expression.
| side_effect_t expression_load::has_side_effect | ( | ) | const [protected, virtual] |
The has_side_effect method is used to determine if an expression has any effect. It is used by the parse to produce "statement with no effect" warnings.
Implements expression.
| expression_load& expression_load::operator= | ( | const expression_load & | ) | [private] |
The assignment operator. Do not use.
type::pointer expression_load::var_type [private] |
1.5.1