DirectiveStmt Class Reference#include <DirectiveStmt.h>
Inheritance diagram for DirectiveStmt:
[legend]List of all members.
|
Public Member Functions |
| void | build_refs () |
| | methods which will retrieve data from common fields
|
| virtual int | structures_OK () const |
| virtual void | convert (BinRep &stmt, ExprTable &etable, Symtab &symtab, const NamelistDict &namelists, const FormatDB &formats, Dictionary< NextEntry > *next_table) |
| | DirectiveStmt (const char *l, AssertionList *a_list) |
| | DirectiveStmt (const DirectiveStmt &stmt) |
| AssertionList * | assertion_ref () const |
| | return a list of assertions or 0.
|
| void | assertion (AssertionList *a_list) |
| | set the assertion list.
|
| virtual | ~DirectiveStmt () |
| virtual DirectiveStmt & | operator= (const DirectiveStmt &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.
|
Protected Member Functions |
| | DirectiveStmt (const char *l) |
Protected Attributes |
| AssertionList * | _a_list |
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
| DirectiveStmt::DirectiveStmt |
( |
const char * |
l |
) |
[protected] |
|
| DirectiveStmt::DirectiveStmt |
( |
const char * |
l, |
|
|
AssertionList * |
a_list |
|
) |
|
|
Member Function Documentation
| void DirectiveStmt::build_refs |
( |
|
) |
[virtual] |
|
| int DirectiveStmt::structures_OK |
( |
|
) |
const [virtual] |
|
| Statement * DirectiveStmt::clone |
( |
|
) |
const [virtual] |
|
| void DirectiveStmt::print_debug |
( |
ostream & |
o, |
|
|
int |
debug |
|
) |
const [virtual] |
|
| virtual void DirectiveStmt::fortran_write |
( |
ostream & |
o, |
|
|
int & |
indent, |
|
|
char * |
type = "" |
|
) |
const [virtual] |
|
| void DirectiveStmt::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:
|