Package org.codehaus.janino
Class Visitor
- java.lang.Object
-
- org.codehaus.janino.Visitor
-
public final class Visitor extends java.lang.Object
The basis for the "visitor" pattern as described in "Gamma, Helm, Johnson, Vlissides: Design Patterns".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Visitor.AbstractCompilationUnitVisitor<R,EX extends java.lang.Throwable>
The visitor for the different kinds ofJava.AbstractCompilationUnit
s.static interface
Visitor.AnnotationVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.Annotation
s.static interface
Visitor.ArrayInitializerOrRvalueVisitor<R,EX extends java.lang.Throwable>
The visitor forJava.ArrayInitializerOrRvalue
.static interface
Visitor.AtomVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.Atom
s.static interface
Visitor.BlockStatementVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.BlockStatement
s (statements that may appear with a block).static interface
Visitor.ConstructorInvocationVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.ConstructorInvocation
s.static interface
Visitor.ElementValueVisitor<R,EX extends java.lang.Throwable>
static interface
Visitor.FieldDeclarationOrInitializerVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.BlockStatement
s (statements that may appear with a block).static interface
Visitor.FunctionDeclaratorVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.FunctionDeclarator
s.static interface
Visitor.ImportVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.AbstractCompilationUnit.ImportDeclaration
s.static interface
Visitor.LambdaBodyVisitor<R,EX extends java.lang.Throwable>
The visitor for the different kinds ofJava.LambdaBody
s.static interface
Visitor.LambdaParametersVisitor<R,EX extends java.lang.Throwable>
The visitor for the different kinds ofJava.LambdaParameters
styles.static interface
Visitor.LvalueVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.Lvalue
s.static interface
Visitor.ModifierVisitor<R,EX extends java.lang.Throwable>
The visitor for the different kinds ofJava.Modifier
s.static interface
Visitor.ModuleDirectiveVisitor<R,EX extends java.lang.Throwable>
The visitor for the different kinds ofJava.ModuleDirective
s.static interface
Visitor.RvalueVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.Rvalue
s.static interface
Visitor.TryStatementResourceVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.TryStatement.Resource
s.static interface
Visitor.TypeArgumentVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.TypeArgument
s.static interface
Visitor.TypeBodyDeclarationVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.TypeBodyDeclaration
s (declarations that may appear in the body of a type declaration).static interface
Visitor.TypeDeclarationVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.TypeDeclaration
s.static interface
Visitor.TypeVisitor<R,EX extends java.lang.Throwable>
The visitor for all kinds ofJava.Type
s.
-