Package org.jruby.ast.visitor

Provide the infrastructure to apply the visitor pattern to the tree of nodes produced by compiling a ruby script.

See:
          Description

Interface Summary
NodeVisitor Visitor interface to be implemented by visitors of the jRuby AST.
 

Class Summary
AbstractVisitor This visitor calls by default the visitNode method for each visited Node.
BreakStatementVisitor  
DefaultIteratorVisitor Default iterator visitor.
ExpressionVisitor  
UselessStatementVisitor  
 

Package org.jruby.ast.visitor Description

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.



Copyright © 2002 Jan Arne Petersen. All Rights Reserved.