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 |
astNode * | stat |
Definition at line 590 of file prettyPrinter.cpp.
bool statement::has_hat | ( | ) | [inline] |
char* statement::hat | ( | ) | [inline, private] |
bool statement::is_statement | ( | ) | [inline, virtual] |
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] |
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:
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] |