public interface ASTVisitor
DefaultASTVisitor
(which contains empty default stubs
for all of these functions) rather than attempt to implement ASTVisitor
directly.void preVisit(ASTProgram node)
void postVisit(ASTProgram node)
void preVisit(ASTFunction node)
void postVisit(ASTFunction node)
void preVisit(ASTVariable node)
void postVisit(ASTVariable node)
void preVisit(ASTBlock node)
void postVisit(ASTBlock node)
void preVisit(ASTAssignment node)
void postVisit(ASTAssignment node)
void preVisit(ASTVoidFunctionCall node)
void postVisit(ASTVoidFunctionCall node)
void preVisit(ASTConditional node)
void postVisit(ASTConditional node)
void preVisit(ASTWhileLoop node)
void postVisit(ASTWhileLoop node)
void preVisit(ASTReturn node)
void postVisit(ASTReturn node)
void preVisit(ASTBreak node)
void postVisit(ASTBreak node)
void preVisit(ASTContinue node)
void postVisit(ASTContinue node)
void preVisit(ASTBinaryExpr node)
void inVisit(ASTBinaryExpr node)
void postVisit(ASTBinaryExpr node)
void preVisit(ASTUnaryExpr node)
void postVisit(ASTUnaryExpr node)
void preVisit(ASTFunctionCall node)
void postVisit(ASTFunctionCall node)
void preVisit(ASTLocation node)
void postVisit(ASTLocation node)
void preVisit(ASTLiteral node)
void postVisit(ASTLiteral node)
Copyright © 2019. All rights reserved.