EntryStmt Class Reference#include <EntryStmt.h>
Inheritance diagram for EntryStmt:
[legend]List of all members.
|
Public Member Functions |
| const Expression & | routine_guarded () const |
| Expression & | routine_guarded () |
| int | routine_valid () const |
| void | routine (Expression *e) |
| const Expression & | parameters_guarded () const |
| Expression & | parameters_guarded () |
| int | parameters_valid () const |
| void | parameters (Expression *e) |
| Boolean | access_summary_exists () |
| SymbolAccessRefMap & | access_summary () |
| void | access_summary (SymbolAccessRefMap *sarm) |
| | Write out the access summary.
|
| void | write_access_summary (ostream &o) |
| virtual int | structures_OK () const |
| virtual void | convert (BinRep &stmt, ExprTable &etable, Symtab &symtab, const NamelistDict &namelists, const FormatDB &formats, Dictionary< NextEntry > *next_table) |
| | EntryStmt (const char *l, Expression *routine_exp, Expression *parameters_exp) |
| | EntryStmt (const EntryStmt &stmt) |
| | EntryStmt (const char *l, Expression *routine_exp, Expression *parameters_exp, SymbolAccessRefMap *refmap) |
| virtual | ~EntryStmt () |
| virtual EntryStmt & | operator= (const EntryStmt &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 | relink_sptrs (ProgramUnit &p) |
| | Change _routine pointer to point within given ProgramUnit.
|
| virtual void | exchange_convert (VDL &vdl) |
| | Convert the Statement into the exchange format.
|
Protected Member Functions |
| | EntryStmt (const char *l) |
Protected Attributes |
| SymbolAccessRefMap * | _access_summary |
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
| EntryStmt::EntryStmt |
( |
const char * |
l |
) |
[protected] |
|
| EntryStmt::EntryStmt |
( |
const EntryStmt & |
stmt |
) |
|
|
Member Function Documentation
| const Expression& EntryStmt::routine_guarded |
( |
|
) |
const [inline, virtual] |
|
| Expression& EntryStmt::routine_guarded |
( |
|
) |
[inline, virtual] |
|
| int EntryStmt::routine_valid |
( |
|
) |
const [inline, virtual] |
|
| void EntryStmt::routine |
( |
Expression * |
e |
) |
[virtual] |
|
| const Expression& EntryStmt::parameters_guarded |
( |
|
) |
const [inline, virtual] |
|
| Expression& EntryStmt::parameters_guarded |
( |
|
) |
[inline, virtual] |
|
| int EntryStmt::parameters_valid |
( |
|
) |
const [inline, virtual] |
|
| void EntryStmt::parameters |
( |
Expression * |
e |
) |
[virtual] |
|
| Boolean EntryStmt::access_summary_exists |
( |
|
) |
|
|
| void EntryStmt::write_access_summary |
( |
ostream & |
o |
) |
|
|
| int EntryStmt::structures_OK |
( |
|
) |
const [virtual] |
|
| Statement * EntryStmt::clone |
( |
|
) |
const [virtual] |
|
| void EntryStmt::print_debug |
( |
ostream & |
o, |
|
|
int |
debug |
|
) |
const [virtual] |
|
| void EntryStmt::fortran_write |
( |
ostream & |
o, |
|
|
int & |
indent, |
|
|
char * |
type = "" |
|
) |
const [virtual] |
|
|
|
... Main entry point of program unit
... silvius: f77 on Linux complains about functions like this: ... FUNCTION f ... It needs: ... FUNCTION f()
Implements Statement.
Definition at line 5703 of file Statement.cc.
References Expression::arg_list(), COMMA_OP, e, List< T >::entries(), fortran_indent(), FUNCTION_CLASS, ID_OP, Expression::op(), PARAMETERS, ROUTINE_EXPR, routine_guarded(), Symbol::sym_class(), Expression::symbol(), and List< T >::valid(). |
| virtual void EntryStmt::relink_sptrs |
( |
ProgramUnit & |
p |
) |
[virtual] |
|
| void EntryStmt::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:
|