AssignStmt Class Reference#include <AssignStmt.h>
Inheritance diagram for AssignStmt:
[legend]List of all members.
|
Public Member Functions |
| void | build_refs () |
| | AssignStmt (const char *l, Expression *lhs_exp, Statement *target_stmt) |
| | AssignStmt (const char *l, Expression *lhs_exp, Format *format) |
| | AssignStmt (const AssignStmt &stmt) |
| virtual AssignStmt & | operator= (const AssignStmt &stmt) |
| virtual | ~AssignStmt () |
| virtual int | structures_OK () const |
| virtual void | convert (BinRep &stmt, ExprTable &etable, Symtab &symtab, const NamelistDict &namelists, const FormatDB &formats, Dictionary< NextEntry > *next_table) |
| virtual Statement * | clone () const |
| virtual void | print_debug (ostream &o, int debug) const |
| virtual void | fortran_write (ostream &o, int &indent, char *type="") const |
| ASSIGN_TYPE | atype () const |
| const Format * | format_ref () const |
| Format * | format_ref () |
| const Expression & | lhs () const |
| Expression & | lhs () |
| const Statement * | target_ref () const |
| Statement * | target_ref () |
| void | atype (ASSIGN_TYPE t) |
| void | lhs (Expression *ex) |
| void | target (Statement *t) |
| void | format (const Format *f) |
| virtual void | relink_sptrs (ProgramUnit &p) |
| virtual void | exchange_convert (VDL &vdl) |
| | Convert the Statement into the exchange format.
|
Protected Member Functions |
| virtual void | _setptrs (Dictionary< VoidPtrDef > &labels, const FormatDB &formats) |
| | Copies base values of this into other.
|
| | AssignStmt (const char *l) |
Protected Attributes |
| ASSIGN_TYPE | _atype |
| Statement * | _target |
| Format * | _format |
Friends |
| Statement * | make_statement (const char *name, const BinRep &binstr) |
| | make_statement expects the statement name ("S10") and a binstr containing the statement set.
|
Constructor & Destructor Documentation
| AssignStmt::AssignStmt |
( |
const char * |
l |
) |
[protected] |
|
|
|
Definition at line 3987 of file Statement.cc.
References _atype, _format, _target, ASSIGN_STMT, build_refs(), EXECUTABLE_ASSIGN, LABEL_STMT, LHS, List< T >::make_static_list(), List< T >::modify(), and null_to_omega(). |
| AssignStmt::AssignStmt |
( |
const char * |
l, |
|
|
Expression * |
lhs_exp, |
|
|
Format * |
format |
|
) |
|
|
| AssignStmt::AssignStmt |
( |
const AssignStmt & |
stmt |
) |
|
|
Member Function Documentation
| void AssignStmt::_setptrs |
( |
Dictionary< VoidPtrDef > & |
labels, |
|
|
const FormatDB & |
formats |
|
) |
[protected, virtual] |
|
| void AssignStmt::build_refs |
( |
|
) |
[virtual] |
|
| int AssignStmt::structures_OK |
( |
|
) |
const [virtual] |
|
| Statement * AssignStmt::clone |
( |
|
) |
const [virtual] |
|
| void AssignStmt::print_debug |
( |
ostream & |
o, |
|
|
int |
debug |
|
) |
const [virtual] |
|
| virtual void AssignStmt::fortran_write |
( |
ostream & |
o, |
|
|
int & |
indent, |
|
|
char * |
type = "" |
|
) |
const [virtual] |
|
| ASSIGN_TYPE AssignStmt::atype |
( |
|
) |
const [inline, virtual] |
|
| const Format* AssignStmt::format_ref |
( |
|
) |
const [inline, virtual] |
|
| Format* AssignStmt::format_ref |
( |
|
) |
[inline, virtual] |
|
| const Expression& AssignStmt::lhs |
( |
|
) |
const [inline, virtual] |
|
| const Statement* AssignStmt::target_ref |
( |
|
) |
const [inline, virtual] |
|
| Statement* AssignStmt::target_ref |
( |
|
) |
[inline, virtual] |
|
| void AssignStmt::lhs |
( |
Expression * |
ex |
) |
[virtual] |
|
| void AssignStmt::target |
( |
Statement * |
t |
) |
[virtual] |
|
| void AssignStmt::format |
( |
const Format * |
f |
) |
|
|
| void AssignStmt::relink_sptrs |
( |
ProgramUnit & |
p |
) |
[virtual] |
|
| void AssignStmt::exchange_convert |
( |
VDL & |
vdl |
) |
[virtual] |
|
Friends And Related Function Documentation
| Statement* make_statement |
( |
const char * |
name, |
|
|
const BinRep & |
binstr |
|
) |
[friend] |
|
|
|
make_statement expects the statement name ("S10") and a binstr containing the statement set.
It returns a pointer to the correct statement object with the tag field already filled in.
The statement table contains tuples of the from ["tag", { all the statement info}]. One should call make_statement passing the "tag" for the name and a binstr which represents the set.
Definition at line 265 of file StmtList.cc. |
Member Data Documentation
The documentation for this class was generated from the following files:
|