

Public Member Functions | |
| codeNode (int bci, scopeNode *scope) | |
| void | add (astNode *statement) |
| bool | print (prettyPrintStream *output) |
| bool | is_code () |
| statement * | last_statement () |
| int | width (prettyPrintStream *output) |
Protected Attributes | |
| GrowableArray< astNode * > * | statements |
Definition at line 532 of file prettyPrinter.cpp.
| codeNode::codeNode | ( | int | bci, | |
| scopeNode * | scope | |||
| ) | [inline] |
| void codeNode::add | ( | astNode * | statement | ) | [inline, virtual] |
Reimplemented from astNode.
Reimplemented in inlinedBlockNode.
Definition at line 540 of file prettyPrinter.cpp.
References GrowableArray< E >::push(), and statements.
Here is the call graph for this function:

| bool codeNode::is_code | ( | ) | [inline, virtual] |
| statement* codeNode::last_statement | ( | ) | [inline] |
Definition at line 547 of file prettyPrinter.cpp.
References assert, GrowableArray< E >::at(), astNode::is_statement(), GenericGrowableArray::length(), and statements.
Here is the call graph for this function:

| bool codeNode::print | ( | prettyPrintStream * | output | ) | [virtual] |
Reimplemented from astNode.
Reimplemented in inlinedBlockNode, methodNode, and blockNode.
Definition at line 619 of file prettyPrinter.cpp.
References GrowableArray< E >::at(), GenericGrowableArray::length(), prettyPrintStream::newline(), prettyPrintStream::print(), and statements.
Referenced by blockNode::print(), methodNode::print(), and inlinedBlockNode::print().
Here is the call graph for this function:

| int codeNode::width | ( | prettyPrintStream * | output | ) | [inline, virtual] |
Reimplemented from astNode.
Reimplemented in inlinedBlockNode, and blockNode.
Definition at line 555 of file prettyPrinter.cpp.
References GrowableArray< E >::at(), prettyPrintStream::infinity(), GenericGrowableArray::length(), statements, and astNode::width().
Referenced by blockNode::print(), blockNode::width(), and inlinedBlockNode::width().
Here is the call graph for this function:

GrowableArray<astNode*>* codeNode::statements [protected] |
Definition at line 534 of file prettyPrinter.cpp.
Referenced by inlinedBlockNode::add(), add(), codeNode(), last_statement(), print(), and width().
1.4.7