ArgNumberExpr Class ReferenceExpression for arguments in a statement function.
More...
#include <ArgNumberExpr.h>
Inheritance diagram for ArgNumberExpr:
[legend]List of all members.
Detailed Description
Expression for arguments in a statement function.
Polaris Expression - See also:
- Expression/ArgNumberExpr.h
Expression/ArgNumberExpr.h
Expression/Expression.cc
An ArgNumberExpr is the expression for arguments of a statement function. Arg number 1 is the first statement function argument, arg number 2 is the second, and so forth. These should never be seen in a scanned program since statement functions are in-lined as the program is being parsed.
Definition at line 30 of file ArgNumberExpr.h.
Constructor & Destructor Documentation
| ArgNumberExpr::ArgNumberExpr |
( |
const Type & |
etype |
) |
[inline, protected] |
|
| ArgNumberExpr::ArgNumberExpr |
( |
const Type & |
etype, |
|
|
int |
arg_value |
|
) |
[inline] |
|
| ArgNumberExpr::ArgNumberExpr |
( |
const ArgNumberExpr & |
e |
) |
[inline] |
|
|
|
ArgNumberExpr code:.
... nothing to do
Definition at line 3299 of file Expression.cc. |
Member Function Documentation
| void ArgNumberExpr::value |
( |
int |
i |
) |
[inline, virtual] |
|
| int ArgNumberExpr::value |
( |
|
) |
const [inline, virtual] |
|
| Expression * ArgNumberExpr::clone |
( |
|
) |
const [virtual] |
|
| int ArgNumberExpr::structures_OK |
( |
|
) |
const [virtual] |
|
| virtual void ArgNumberExpr::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. |
| virtual void ArgNumberExpr::print_debug |
( |
ostream & |
o, |
|
|
Boolean |
debug |
|
) |
const [virtual] |
|
|
|
debug indicates whether it should contain extra fields
Implements Expression. |
| const ExprSignature & ArgNumberExpr::update_signature |
( |
|
) |
[virtual] |
|
| int ArgNumberExpr::node_compare |
( |
const Expression & |
ex |
) |
const [virtual] |
|
| int ArgNumberExpr::exchange_expr |
( |
VDL & |
vdl |
) |
[virtual] |
|
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files:
|