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) |
visitpublic final void scan(Tree node)
public void visitArrayAccessExpr(ArrayAccessExpr e)
visitArrayAccessExpr in class TreeVisitorpublic void visitBinaryExpr(BinaryExpr e)
visitBinaryExpr in class TreeVisitorpublic void visitBreakStmt(BreakStmt s)
visitBreakStmt in class TreeVisitorpublic void visitCallExpr(CallExpr e)
visitCallExpr in class TreeVisitorpublic void visitCompoundStmt(CompoundStmt s)
visitCompoundStmt in class TreeVisitorpublic void visitContinueStmt(ContinueStmt s)
visitContinueStmt in class TreeVisitorpublic void visitDeclStmt(DeclStmt s)
visitDeclStmt in class TreeVisitorpublic void visitDiscardStmt(DiscardStmt s)
visitDiscardStmt in class TreeVisitorpublic void visitDoWhileStmt(DoWhileStmt s)
visitDoWhileStmt in class TreeVisitorpublic void visitExprStmt(ExprStmt s)
visitExprStmt in class TreeVisitorpublic void visitFieldSelectExpr(FieldSelectExpr e)
visitFieldSelectExpr in class TreeVisitorpublic void visitForStmt(ForStmt s)
visitForStmt in class TreeVisitorpublic void visitFuncDef(FuncDef d)
visitFuncDef in class TreeVisitorpublic void visitGlueBlock(GlueBlock b)
visitGlueBlock in class TreeVisitorpublic void visitLiteralExpr(LiteralExpr e)
visitLiteralExpr in class TreeVisitorpublic void visitParenExpr(ParenExpr e)
visitParenExpr in class TreeVisitorpublic void visitProgramUnit(ProgramUnit p)
visitProgramUnit in class TreeVisitorpublic void visitReturnStmt(ReturnStmt s)
visitReturnStmt in class TreeVisitorpublic void visitSelectStmt(SelectStmt s)
visitSelectStmt in class TreeVisitorpublic void visitUnaryExpr(UnaryExpr e)
visitUnaryExpr in class TreeVisitorpublic void visitVarDecl(VarDecl d)
visitVarDecl in class TreeVisitorpublic void visitVariableExpr(VariableExpr e)
visitVariableExpr in class TreeVisitorpublic void visitVectorCtorExpr(VectorCtorExpr e)
visitVectorCtorExpr in class TreeVisitorpublic void visitWhileStmt(WhileStmt s)
visitWhileStmt in class TreeVisitor