org.jruby.ast.visitor |
Provide the infrastructure to apply the visitor pattern to the tree of nodes produced
by compiling a ruby script.
The Visitor pattern used here is slightly modified in that it uses a specific iterating
visitor to reify the tree navigation. This is important since due to the different
semantic of each node several meaningfull navigation can be implemented.
|
Java Source File Name | Type | Comment |
AbstractVisitor.java | Class | This visitor calls by default the return visitNode method for each visited Node. |
DefaultIteratorVisitor.java | Class | Default iterator visitor. |
NodeVisitor.java | Interface | Visitor interface to be implemented by visitors of the jRuby AST. |