Polaris: BlockEntryStmt Class Reference

BlockEntryStmt Class Reference

#include <BlockEntryStmt.h>

Inheritance diagram for BlockEntryStmt:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual RefSet< Statement > * build_succ (const StmtList &stmts) const
virtual int structures_OK () const
virtual void convert (BinRep &stmt, ExprTable &etable, Symtab &symtab, const NamelistDict &namelists, const FormatDB &formats, Dictionary< NextEntry > *next_table)
Statementfollow_ref () const
 BlockEntryStmt (const char *l)
 BlockEntryStmt (const BlockEntryStmt &stmt)
virtual ~BlockEntryStmt ()
virtual BlockEntryStmtoperator= (const BlockEntryStmt &stmt)
virtual Statementclone () 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

virtual void _setptrs (Dictionary< VoidPtrDef > &labels, const FormatDB &formats)
 Copies base values of this into other.

Protected Attributes

Statement_follow

Friends

class Directive
class StmtList
Statementmake_statement (const char *name, const BinRep &binstr)
 make_statement expects the statement name ("S10") and a binstr containing the statement set.

Constructor & Destructor Documentation

BlockEntryStmt::BlockEntryStmt const char *  l  ) 
 

Definition at line 7791 of file Statement.cc.

References _follow, and BLOCK_ENTRY_STMT.

Referenced by clone().

BlockEntryStmt::BlockEntryStmt const BlockEntryStmt stmt  ) 
 

Definition at line 7797 of file Statement.cc.

References _follow, BLOCK_ENTRY_STMT, and Statement::copy_base().

BlockEntryStmt::~BlockEntryStmt  )  [virtual]
 

... nothing to do

Definition at line 7821 of file Statement.cc.


Member Function Documentation

void BlockEntryStmt::_setptrs Dictionary< VoidPtrDef > &  labels,
const FormatDB formats
[protected, virtual]
 

Copies base values of this into other.

Reimplemented from Statement.

Definition at line 7827 of file Statement.cc.

References _follow, Statement::_setptrs(), and makeptr_ptr().

virtual RefSet<Statement>* BlockEntryStmt::build_succ const StmtList stmts  )  const [virtual]
 

Reimplemented from Statement.

int BlockEntryStmt::structures_OK  )  const [virtual]
 

Implements Statement.

Definition at line 7860 of file Statement.cc.

References Statement::in_out_refs_structures_OK().

virtual void BlockEntryStmt::convert BinRep stmt,
ExprTable etable,
Symtab symtab,
const NamelistDict namelists,
const FormatDB formats,
Dictionary< NextEntry > *  next_table
[virtual]
 

Reimplemented from Statement.

Statement* BlockEntryStmt::follow_ref  )  const [inline, virtual]
 

Reimplemented from Statement.

Definition at line 35 of file BlockEntryStmt.h.

References _follow.

BlockEntryStmt & BlockEntryStmt::operator= const BlockEntryStmt stmt  )  [virtual]
 

Definition at line 7806 of file Statement.cc.

References _follow, and Statement::copy_base().

Statement * BlockEntryStmt::clone  )  const [virtual]
 

Implements Statement.

Definition at line 7816 of file Statement.cc.

References BlockEntryStmt().

void BlockEntryStmt::print_debug ostream &  o,
int  debug
const [virtual]
 

... comment '}'

Implements Statement.

Definition at line 7846 of file Statement.cc.

References _follow, and Statement::tag().

virtual void BlockEntryStmt::fortran_write ostream &  o,
int &  indent,
char *  type = ""
const [virtual]
 

Implements Statement.

void BlockEntryStmt::exchange_convert VDL vdl  )  [virtual]
 

Convert the Statement into the exchange format.

Reimplemented from Statement.

Definition at line 7868 of file Statement.cc.

References Statement::exchange_convert(), BinRep::find_ref(), Set< T >::ins(), List< T >::ins_last(), Statement::tag(), BinRep::to_set(), and BinRep::to_tuple().


Friends And Related Function Documentation

friend class Directive [friend]
 

Definition at line 17 of file BlockEntryStmt.h.

friend class StmtList [friend]
 

Reimplemented from Statement.

Definition at line 18 of file BlockEntryStmt.h.

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

Statement* BlockEntryStmt::_follow [protected]
 

Definition at line 22 of file BlockEntryStmt.h.

Referenced by _setptrs(), BlockEntryStmt(), follow_ref(), operator=(), and print_debug().


The documentation for this class was generated from the following files:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:03 2005