Classes
- GeneralizingAstVisitor
-
An AST visitor that will recursively visit all of the nodes in an AST structure (like instances of the class RecursiveAstVisitor). In addition, when a node of a specific type is visited not only will the visit method for that specific type of node be invoked, but additional methods for the superclasses of that node will also be invoked. For example, using an instance of this class to visit a BaseCompositeInline will cause the method visitBaseCompositeInline to be invoked but will also cause the methods visitCompositeInline, visitInlineNode, visitNode to be subsequently invoked.
- RecursiveAstVisitor
-
An AST visitor that will recursively visit all of the nodes in an AST structure. For example, using an instance of this class to visit a BlockNode will also cause all of the statements in the block to be visited.
- SimpleAstVisitor
-
An AST visitor that will do nothing when visiting an AST node. It is intended to be a superclass for classes that use the visitor pattern primarily as a dispatch mechanism (and hence don't need to recursively visit a whole structure) and that only need to visit a small number of node types.
- UnifyingAstVisitor
-
An AST visitor that will recursively visit all of the nodes in an AST structure (like instances of the class RecursiveAstVisitor). In addition, every node will also be visited by using a single unified visitNode method.