LabelExpr Class ReferenceAn expression representing a statement label reference.
More...
#include <LabelExpr.h>
Inheritance diagram for LabelExpr:
[legend]List of all members.
Detailed Description
An expression representing a statement label reference.
Polaris Expression - See also:
- Expression/LabelExpr.h
Expression/LabelExpr.h
Expression/Expression.cc
A LabelExpr is a reference to a statement label in an s_control_type and simply contains a reference to a Statement.
Definition at line 27 of file LabelExpr.h.
Constructor & Destructor Documentation
| LabelExpr::LabelExpr |
( |
Statement & |
stmt |
) |
[inline] |
|
| LabelExpr::LabelExpr |
( |
const LabelExpr & |
e |
) |
[inline] |
|
|
|
LabelExpr code:.
Note: The following data fields are aliased: label = data
... nothing to do
Definition at line 5441 of file Expression.cc. |
Member Function Documentation
| const Statement & LabelExpr::stmt |
( |
|
) |
const [virtual] |
|
| void LabelExpr::stmt |
( |
Statement & |
stmt |
) |
[virtual] |
|
| void LabelExpr::relink_eptrs |
( |
ProgramUnit & |
p |
) |
[virtual] |
|
| virtual void LabelExpr::print_debug |
( |
ostream & |
o, |
|
|
Boolean |
debug |
|
) |
const [virtual] |
|
|
|
debug indicates whether it should contain extra fields
Implements Expression. |
| int LabelExpr::structures_OK |
( |
|
) |
const [virtual] |
|
| virtual void LabelExpr::convert |
( |
BinRep & |
exprSet, |
|
|
Symtab & |
symtab |
|
) |
[virtual] |
|
|
|
Read in the values of my fields and my subexpressions from the given BinRep object.
Convert(BinRep) expects the BinRep to be referencing an expression set of the same type as the expression. On return, all data from the expression set has been inserted into the appropriate fields in the expression object. NOTE that this converts the expression to an intermediate form which may contain TableExpr objects.
Implements Expression. |
| int LabelExpr::node_compare |
( |
const Expression & |
ex |
) |
const [virtual] |
|
| int LabelExpr::exchange_expr |
( |
VDL & |
vdl |
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following files:
|