class ExportTreeDOT extends DefaultASTVisitor
| Constructor and Description |
|---|
ExportTreeDOT() |
ExportTreeDOT(PrintStream output) |
ExportTreeDOT(PrintStream output,
boolean showTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultPostVisit(ASTNode node) |
void |
defaultPreVisit(ASTNode node) |
int |
getNextID(String typeLabel) |
void |
postVisit(ASTAssignment node) |
void |
postVisit(ASTBinaryExpr node) |
void |
postVisit(ASTBlock node) |
void |
postVisit(ASTConditional node) |
void |
postVisit(ASTFunction node) |
void |
postVisit(ASTFunctionCall node) |
void |
postVisit(ASTLiteral node) |
void |
postVisit(ASTLocation node) |
void |
postVisit(ASTProgram node) |
void |
postVisit(ASTReturn node) |
void |
postVisit(ASTUnaryExpr node) |
void |
postVisit(ASTVariable node) |
void |
postVisit(ASTVoidFunctionCall node) |
void |
postVisit(ASTWhileLoop node) |
void |
preVisit(ASTProgram node) |
void |
printLink(ASTNode src,
ASTNode dst) |
void |
printNodeLabel(ASTNode node,
String label) |
void |
printNodeLabel(ASTNode node,
String regularLabel,
String shortLabel) |
public ExportTreeDOT()
public ExportTreeDOT(PrintStream output)
public ExportTreeDOT(PrintStream output, boolean showTypes)
public int getNextID(String typeLabel)
public void defaultPreVisit(ASTNode node)
defaultPreVisit in class DefaultASTVisitorpublic void preVisit(ASTProgram node)
preVisit in interface ASTVisitorpreVisit in class DefaultASTVisitorpublic void defaultPostVisit(ASTNode node)
defaultPostVisit in class DefaultASTVisitorpublic void postVisit(ASTProgram node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTVariable node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTFunction node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTBlock node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTAssignment node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTVoidFunctionCall node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTConditional node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTWhileLoop node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTReturn node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTBinaryExpr node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTUnaryExpr node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTFunctionCall node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTLocation node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorpublic void postVisit(ASTLiteral node)
postVisit in interface ASTVisitorpostVisit in class DefaultASTVisitorCopyright © 2019. All rights reserved.