CommaExpr Class ReferenceAn expression representing an argument list.
More...
#include <CommaExpr.h>
Inheritance diagram for CommaExpr:
[legend]List of all members.
Detailed Description
An expression representing an argument list.
Polaris Expression - See also:
- Expression/CommaExpr.h
Expression/CommaExpr.h
Expression/Expression.cc
A CommaExpr represents a comma-separated list of expressions. CommaExprs are typically used for representing the argument lists of array references or function calls.
Definition at line 28 of file CommaExpr.h.
Constructor & Destructor Documentation
| CommaExpr::CommaExpr |
( |
|
) |
[inline] |
|
|
|
Constructor for a CommaExpr with up to five args.
|
|
|
Creates a new CommaExpr object with the expressions in 'list' as its arguments.
'list' is deleted automatically, so the user must NOT delete 'list' after the call to this constructor.
Definition at line 89 of file CommaExpr.h.
References COMMA_OP, make_type(), and VOID_TYPE. |
| CommaExpr::CommaExpr |
( |
const CommaExpr & |
e |
) |
[inline] |
|
|
|
Copy constructor.
< nothing to do
Definition at line 96 of file CommaExpr.h.
References e. |
Member Function Documentation
| int CommaExpr::structures_OK |
( |
|
) |
const [virtual] |
|
| virtual void CommaExpr::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.
Reimplemented from NonBinaryExpr. |
| virtual void CommaExpr::print_debug |
( |
ostream & |
o, |
|
|
Boolean |
debug |
|
) |
const [virtual] |
|
| int CommaExpr::exchange_expr |
( |
VDL & |
vdl |
) |
[virtual] |
|
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
|