|
Nearly CC
An educational compiler skeleton
|
Support for printing a text representation of an AST. More...
#include "ast.h"


Public Member Functions | |
| virtual std::string | node_tag_to_string (int tag) const |
| Override to convert a parse node's tag to a string. More... | |
| void | print (Node *t) const |
Support for printing a text representation of an AST.
|
virtual |
Override to convert a parse node's tag to a string.
| tag | parse node tag value |
Reimplemented from ParseTreePrint.