

Public Member Functions | |
| listNode (char *begin_sym, char *end_sym) | |
| void | add (astNode *element) |
| bool | print (prettyPrintStream *output) |
| int | width (prettyPrintStream *output) |
Protected Attributes | |
| GrowableArray< astNode * > * | elements |
| char * | begin_sym |
| char * | end_sym |
Definition at line 215 of file prettyPrinter.cpp.
| listNode::listNode | ( | char * | begin_sym, | |
| char * | end_sym | |||
| ) | [inline] |
| void listNode::add | ( | astNode * | element | ) | [inline, virtual] |
Reimplemented from astNode.
Definition at line 227 of file prettyPrinter.cpp.
References elements, and GrowableArray< E >::push().
Referenced by scopeNode::params(), and scopeNode::temps().
Here is the call graph for this function:

| bool listNode::print | ( | prettyPrintStream * | output | ) | [inline, virtual] |
Reimplemented from astNode.
Definition at line 231 of file prettyPrinter.cpp.
References GrowableArray< E >::at(), begin_sym, elements, end_sym, GenericGrowableArray::length(), astNode::print(), prettyPrintStream::print(), and prettyPrintStream::space().
Here is the call graph for this function:

| int listNode::width | ( | prettyPrintStream * | output | ) | [inline, virtual] |
Reimplemented from astNode.
Definition at line 247 of file prettyPrinter.cpp.
References GrowableArray< E >::at(), begin_sym, elements, end_sym, GenericGrowableArray::length(), astNode::width(), prettyPrintStream::width_of_space(), and prettyPrintStream::width_of_string().
Here is the call graph for this function:

char* listNode::begin_sym [protected] |
GrowableArray<astNode*>* listNode::elements [protected] |
Definition at line 217 of file prettyPrinter.cpp.
Referenced by add(), listNode(), print(), and width().
char* listNode::end_sym [protected] |
1.4.7