AssignmentStmt Class ReferenceLHS and RHS of an assignment statement must be in shape conformance.
More...
#include <AssignmentStmt.h>
Inheritance diagram for AssignmentStmt:
[legend]List of all members.
|
Public Member Functions |
| void | build_refs () |
| int | iterate_in_exprs_valid () const |
| | Check if there are valid in_ref exprs.
|
| Mutator< Expression > | iterate_in_exprs_guarded () |
| int | iterate_out_exprs_valid () const |
| | Check if there are valid out_ref exprs.
|
| Mutator< Expression > | iterate_out_exprs_guarded () |
| const Expression & | lhs () const |
| Expression & | lhs () |
| const Expression & | rhs () const |
| Expression & | rhs () |
| void | lhs (Expression *e) |
| void | rhs (Expression *e) |
| virtual int | structures_OK () const |
| virtual void | convert (BinRep &stmt, ExprTable &etable, Symtab &symtab, const NamelistDict &namelists, const FormatDB &formats, Dictionary< NextEntry > *next_table) |
| | AssignmentStmt (const char *l, Expression *lhs_exp, Expression *rhs_exp) |
| | AssignmentStmt (const AssignmentStmt &stmt) |
| virtual | ~AssignmentStmt () |
| virtual AssignmentStmt & | operator= (const AssignmentStmt &stmt) |
| virtual Statement * | clone () const |
| virtual void | print_debug (ostream &o, int debug) const |
| virtual void | fortran_write (ostream &o, int &indent, char *type="") const |
| virtual void | exchange_convert (VDL &vdl) |
| | Convert the Statement into the exchange 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.
|
Detailed Description
LHS and RHS of an assignment statement must be in shape conformance.
Thus, either they have the same rank or RHS is a scalar.
Definition at line 16 of file AssignmentStmt.h.
Constructor & Destructor Documentation
Member Function Documentation
| void AssignmentStmt::build_refs |
( |
|
) |
[virtual] |
|
| int AssignmentStmt::iterate_in_exprs_valid |
( |
|
) |
const [virtual] |
|
| int AssignmentStmt::iterate_out_exprs_valid |
( |
|
) |
const [virtual] |
|
| const Expression& AssignmentStmt::lhs |
( |
|
) |
const [inline, virtual] |
|
| Expression& AssignmentStmt::lhs |
( |
|
) |
[inline, virtual] |
|
| const Expression& AssignmentStmt::rhs |
( |
|
) |
const [inline, virtual] |
|
| Expression& AssignmentStmt::rhs |
( |
|
) |
[inline, virtual] |
|
| void AssignmentStmt::lhs |
( |
Expression * |
e |
) |
[virtual] |
|
| void AssignmentStmt::rhs |
( |
Expression * |
e |
) |
[virtual] |
|
| int AssignmentStmt::structures_OK |
( |
|
) |
const [virtual] |
|
| Statement * AssignmentStmt::clone |
( |
|
) |
const [virtual] |
|
| void AssignmentStmt::print_debug |
( |
ostream & |
o, |
|
|
int |
debug |
|
) |
const [virtual] |
|
| virtual void AssignmentStmt::fortran_write |
( |
ostream & |
o, |
|
|
int & |
indent, |
|
|
char * |
type = "" |
|
) |
const [virtual] |
|
| void AssignmentStmt::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. |
The documentation for this class was generated from the following files:
|