FormatExpr Class ReferenceExpression describing the s_control of an I/O statement.
More...
#include <FormatExpr.h>
Inheritance diagram for FormatExpr:
[legend]List of all members.
Detailed Description
Expression describing the s_control of an I/O statement.
Polaris Expression - See also:
- Expression/FormatExpr.h
Expression/FormatExpr.h
Expression/Expression.cc
A FormatExpr is used to describe the s_control of an I/O statement. The FormatExpr is used when the rhs of a an s_control_type pair is a pointer to a Format class, i.e. representing a FORMAT statement label, such as in WRITE(*, 100), where the 100 would be represented as a FormatExpr pointing to the Format object with tag '100'.
The Format expression does not exist in Delta. It is used when a write statement uses the line number of a format statement. The FormatExpr contains a single format field which contains a pointer to a Format class object.
Definition at line 37 of file FormatExpr.h.
Constructor & Destructor Documentation
| FormatExpr::FormatExpr |
( |
const Format & |
format |
) |
[inline] |
|
| FormatExpr::FormatExpr |
( |
const FormatExpr & |
e |
) |
[inline] |
|
|
|
Note: The following data fields are aliased: format = data.
... nothing to do
Definition at line 4423 of file Expression.cc. |
Member Function Documentation
| const Format & FormatExpr::format |
( |
|
) |
const [virtual] |
|
| Format & FormatExpr::format |
( |
|
) |
[virtual] |
|
| void FormatExpr::format |
( |
Format & |
format |
) |
[virtual] |
|
| void FormatExpr::relink_eptrs |
( |
ProgramUnit & |
p |
) |
[virtual] |
|
| Expression * FormatExpr::clone |
( |
|
) |
const [virtual] |
|
| virtual void FormatExpr::print_debug |
( |
ostream & |
o, |
|
|
Boolean |
debug |
|
) |
const [virtual] |
|
|
|
debug indicates whether it should contain extra fields
Implements Expression. |
| int FormatExpr::structures_OK |
( |
|
) |
const [virtual] |
|
| virtual void FormatExpr::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 FormatExpr::node_compare |
( |
const Expression & |
ex |
) |
const [virtual] |
|
| int FormatExpr::exchange_expr |
( |
VDL & |
vdl |
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following files:
|