|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AstVisitor
Method Summary | |
---|---|
List<AstNodeType> |
getAstNodeTypesToVisit()
The AST node types that this check must be registered for. |
void |
leaveFile(AstNode ast)
Called once a computation unit tree has been fully visited. |
void |
leaveNode(AstNode ast)
Called once an AST node has been fully visited. |
void |
visitFile(AstNode ast)
Called before starting visiting a computation unit tree. |
void |
visitNode(AstNode ast)
Called to process an AST node whose type has been registered to be visited. |
Method Detail |
---|
List<AstNodeType> getAstNodeTypesToVisit()
void visitFile(AstNode ast)
ast
- the root of the treevoid leaveFile(AstNode ast)
ast
- the root of the treevoid visitNode(AstNode ast)
ast
- the AST node to processvoid leaveNode(AstNode ast)
ast
- the AST node which has been visited
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |