class PrintDebugTree extends DefaultASTVisitor
BuildParentLinks
and CalculateNodeDepths
.Constructor and Description |
---|
PrintDebugTree() |
PrintDebugTree(PrintStream output) |
Modifier and Type | Method and Description |
---|---|
void |
indent(ASTNode node) |
void |
newline(ASTNode node) |
void |
newline(ASTNode node,
boolean printSource) |
void |
preVisit(ASTAssignment node) |
void |
preVisit(ASTBinaryExpr node) |
void |
preVisit(ASTBlock node) |
void |
preVisit(ASTBreak node) |
void |
preVisit(ASTConditional node) |
void |
preVisit(ASTContinue node) |
void |
preVisit(ASTFunction node) |
void |
preVisit(ASTFunctionCall node) |
void |
preVisit(ASTLiteral node) |
void |
preVisit(ASTLocation node) |
void |
preVisit(ASTProgram node) |
void |
preVisit(ASTReturn node) |
void |
preVisit(ASTUnaryExpr node) |
void |
preVisit(ASTVariable node) |
void |
preVisit(ASTVoidFunctionCall node) |
void |
preVisit(ASTWhileLoop node) |
public PrintDebugTree()
public PrintDebugTree(PrintStream output)
public void indent(ASTNode node)
public void newline(ASTNode node)
public void newline(ASTNode node, boolean printSource)
public void preVisit(ASTProgram node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTFunction node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTVariable node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTBlock node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTAssignment node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTVoidFunctionCall node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTConditional node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTWhileLoop node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTReturn node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTBreak node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTContinue node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTBinaryExpr node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTUnaryExpr node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTFunctionCall node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTLocation node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
public void preVisit(ASTLiteral node)
preVisit
in interface ASTVisitor
preVisit
in class DefaultASTVisitor
Copyright © 2019. All rights reserved.