statement Class Reference

Inheritance diagram for statement:

Inheritance graph
[legend]
Collaboration diagram for statement:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool is_statement ()
 statement (int bci, scopeNode *scope, astNode *stat, bool has_return)
void set_return ()
bool has_hat ()
bool print (prettyPrintStream *output)
int width (prettyPrintStream *output)

Private Member Functions

char * hat ()

Private Attributes

bool has_return
astNodestat

Detailed Description

Definition at line 590 of file prettyPrinter.cpp.


Constructor & Destructor Documentation

statement::statement ( int  bci,
scopeNode scope,
astNode stat,
bool  has_return 
) [inline]

Definition at line 599 of file prettyPrinter.cpp.

References stat.


Member Function Documentation

bool statement::has_hat (  )  [inline]

Definition at line 605 of file prettyPrinter.cpp.

References has_return.

char* statement::hat (  )  [inline, private]

Definition at line 594 of file prettyPrinter.cpp.

Referenced by print(), and width().

bool statement::is_statement (  )  [inline, virtual]

Reimplemented from astNode.

Definition at line 597 of file prettyPrinter.cpp.

bool statement::print ( prettyPrintStream output  )  [inline, virtual]

Reimplemented from astNode.

Definition at line 607 of file prettyPrinter.cpp.

References has_return, hat(), HIGHLIGHT, astNode::print(), prettyPrintStream::print(), and stat.

Here is the call graph for this function:

void statement::set_return (  )  [inline]

Definition at line 604 of file prettyPrinter.cpp.

References has_return.

int statement::width ( prettyPrintStream output  )  [inline, virtual]

Reimplemented from astNode.

Definition at line 612 of file prettyPrinter.cpp.

References has_return, hat(), stat, astNode::width(), and prettyPrintStream::width_of_string().

Here is the call graph for this function:


Member Data Documentation

bool statement::has_return [private]

Definition at line 592 of file prettyPrinter.cpp.

Referenced by has_hat(), print(), set_return(), and width().

astNode* statement::stat [private]

Definition at line 593 of file prettyPrinter.cpp.

Referenced by print(), statement(), and width().


The documentation for this class was generated from the following file:
Generated on Mon Oct 9 14:17:07 2006 for Strongtalk VM by  doxygen 1.4.7