public class TreeScanner extends TreeVisitor
Constructor and Description |
---|
TreeScanner() |
Modifier and Type | Method and Description |
---|---|
void |
scan(Tree node) |
void |
visitArrayAccessExpr(ArrayAccessExpr e) |
void |
visitBinaryExpr(BinaryExpr e) |
void |
visitBreakStmt(BreakStmt s) |
void |
visitCallExpr(CallExpr e) |
void |
visitCompoundStmt(CompoundStmt s) |
void |
visitContinueStmt(ContinueStmt s) |
void |
visitDeclStmt(DeclStmt s) |
void |
visitDiscardStmt(DiscardStmt s) |
void |
visitDoWhileStmt(DoWhileStmt s) |
void |
visitExprStmt(ExprStmt s) |
void |
visitFieldSelectExpr(FieldSelectExpr e) |
void |
visitForStmt(ForStmt s) |
void |
visitFuncDef(FuncDef d) |
void |
visitGlueBlock(GlueBlock b) |
void |
visitLiteralExpr(LiteralExpr e) |
void |
visitParenExpr(ParenExpr e) |
void |
visitProgramUnit(ProgramUnit p) |
void |
visitReturnStmt(ReturnStmt s) |
void |
visitSelectStmt(SelectStmt s) |
void |
visitUnaryExpr(UnaryExpr e) |
void |
visitVarDecl(VarDecl d) |
void |
visitVariableExpr(VariableExpr e) |
void |
visitVectorCtorExpr(VectorCtorExpr e) |
void |
visitWhileStmt(WhileStmt s) |
visit
public final void scan(Tree node)
public void visitArrayAccessExpr(ArrayAccessExpr e)
visitArrayAccessExpr
in class TreeVisitor
public void visitBinaryExpr(BinaryExpr e)
visitBinaryExpr
in class TreeVisitor
public void visitBreakStmt(BreakStmt s)
visitBreakStmt
in class TreeVisitor
public void visitCallExpr(CallExpr e)
visitCallExpr
in class TreeVisitor
public void visitCompoundStmt(CompoundStmt s)
visitCompoundStmt
in class TreeVisitor
public void visitContinueStmt(ContinueStmt s)
visitContinueStmt
in class TreeVisitor
public void visitDeclStmt(DeclStmt s)
visitDeclStmt
in class TreeVisitor
public void visitDiscardStmt(DiscardStmt s)
visitDiscardStmt
in class TreeVisitor
public void visitDoWhileStmt(DoWhileStmt s)
visitDoWhileStmt
in class TreeVisitor
public void visitExprStmt(ExprStmt s)
visitExprStmt
in class TreeVisitor
public void visitFieldSelectExpr(FieldSelectExpr e)
visitFieldSelectExpr
in class TreeVisitor
public void visitForStmt(ForStmt s)
visitForStmt
in class TreeVisitor
public void visitFuncDef(FuncDef d)
visitFuncDef
in class TreeVisitor
public void visitGlueBlock(GlueBlock b)
visitGlueBlock
in class TreeVisitor
public void visitLiteralExpr(LiteralExpr e)
visitLiteralExpr
in class TreeVisitor
public void visitParenExpr(ParenExpr e)
visitParenExpr
in class TreeVisitor
public void visitProgramUnit(ProgramUnit p)
visitProgramUnit
in class TreeVisitor
public void visitReturnStmt(ReturnStmt s)
visitReturnStmt
in class TreeVisitor
public void visitSelectStmt(SelectStmt s)
visitSelectStmt
in class TreeVisitor
public void visitUnaryExpr(UnaryExpr e)
visitUnaryExpr
in class TreeVisitor
public void visitVarDecl(VarDecl d)
visitVarDecl
in class TreeVisitor
public void visitVariableExpr(VariableExpr e)
visitVariableExpr
in class TreeVisitor
public void visitVectorCtorExpr(VectorCtorExpr e)
visitVectorCtorExpr
in class TreeVisitor
public void visitWhileStmt(WhileStmt s)
visitWhileStmt
in class TreeVisitor
Copyright © 2020. All rights reserved.