Polaris: BlockExitStmt Class Reference

BlockExitStmt Class Reference

#include <BlockExitStmt.h>

Inheritance diagram for BlockExitStmt:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual RefSet< Statement > * build_succ (const StmtList &stmts) const
Statementfollow_ref () 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)
 BlockExitStmt (const char *l)
 BlockExitStmt (const BlockExitStmt &stmt)
virtual ~BlockExitStmt ()
virtual BlockExitStmtoperator= (const BlockExitStmt &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

BlockExitStmt::BlockExitStmt const char *  l  ) 
 

Definition at line 7906 of file Statement.cc.

References _follow, and BLOCK_EXIT_STMT.

Referenced by clone().

BlockExitStmt::BlockExitStmt const BlockExitStmt stmt  ) 
 

Definition at line 7912 of file Statement.cc.

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

BlockExitStmt::~BlockExitStmt  )  [virtual]
 

... nothing to do

Definition at line 7936 of file Statement.cc.


Member Function Documentation

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

Copies base values of this into other.

Reimplemented from Statement.

Definition at line 7942 of file Statement.cc.

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

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

Reimplemented from Statement.

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

Reimplemented from Statement.

Definition at line 29 of file BlockExitStmt.h.

References _follow.

int BlockExitStmt::structures_OK  )  const [virtual]
 

Implements Statement.

Definition at line 7975 of file Statement.cc.

References Statement::in_out_refs_structures_OK().

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

Reimplemented from Statement.

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

Definition at line 7921 of file Statement.cc.

References _follow, and Statement::copy_base().

Statement * BlockExitStmt::clone  )  const [virtual]
 

Implements Statement.

Definition at line 7931 of file Statement.cc.

References BlockExitStmt().

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

... comment '}'

Implements Statement.

Definition at line 7961 of file Statement.cc.

References _follow, and Statement::tag().

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

Implements Statement.

void BlockExitStmt::exchange_convert VDL vdl  )  [virtual]
 

Convert the Statement into the exchange format.

Reimplemented from Statement.

Definition at line 7983 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 BlockExitStmt.h.

friend class StmtList [friend]
 

Reimplemented from Statement.

Definition at line 18 of file BlockExitStmt.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* BlockExitStmt::_follow [protected]
 

Definition at line 22 of file BlockExitStmt.h.

Referenced by _setptrs(), BlockExitStmt(), 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