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 DefaultASTVisitor
public void preVisit(ASTProgram node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void defaultPostVisit(ASTNode node)
defaultPostVisit
in class DefaultASTVisitor
public void postVisit(ASTProgram node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTVariable node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTFunction node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTBlock node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTAssignment node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTVoidFunctionCall node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTConditional node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTWhileLoop node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTReturn node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTBinaryExpr node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTUnaryExpr node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTFunctionCall node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTLocation node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
public void postVisit(ASTLiteral node)
postVisit
in interface ASTVisitor
postVisit
in class DefaultASTVisitor
Copyright © 2019. All rights reserved.