openjava.ptree.util
Class ParseTreeVisitor
java.lang.Object
|
+--openjava.ptree.util.ParseTreeVisitor
- Direct Known Subclasses:
- EvaluationShuttle, GenericVisitor, SourceCodeWriter
- public abstract class ParseTreeVisitor
- extends Object
The class ParseTreeVisitor
is a Visitor role
in the Visitor pattern and visits ParseTree
objects
as the role of Element.
For example
- Since:
- %SOFTWARE% 1.0
- Version:
- 1.0
- Author:
- Michiaki Tatsubori
- See Also:
ParseTree
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseTreeVisitor
public ParseTreeVisitor()
visit
public void visit(ParseTree p)
throws ParseTreeException
ParseTreeException
visit
public void visit(ParseTreeObject p)
throws ParseTreeException
ParseTreeException
visit
public void visit(NonLeaf p)
throws ParseTreeException
ParseTreeException
visit
public void visit(Leaf p)
throws ParseTreeException
ParseTreeException
visit
public void visit(MemberDeclaration p)
throws ParseTreeException
ParseTreeException
visit
public void visit(Statement p)
throws ParseTreeException
ParseTreeException
visit
public void visit(Expression p)
throws ParseTreeException
ParseTreeException
visit
public void visit(VariableInitializer p)
throws ParseTreeException
ParseTreeException
visit
public void visit(List p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(AllocationExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ArrayAccess p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ArrayAllocationExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ArrayInitializer p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(AssignmentExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(BinaryExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(Block p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(BreakStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CaseGroup p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CaseGroupList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CaseLabel p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CaseLabelList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CastExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CatchBlock p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CatchList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ClassDeclaration p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ClassDeclarationList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ClassLiteral p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(CompilationUnit p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ConditionalExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ConstructorDeclaration p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ConstructorInvocation p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ContinueStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(DoWhileStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(EmptyStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ExpressionList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ExpressionStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(FieldAccess p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(FieldDeclaration p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ForStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(IfStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(InstanceofExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(LabeledStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(Literal p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(MemberDeclarationList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(MemberInitializer p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(MethodCall p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(MethodDeclaration p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ModifierList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(Parameter p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ParameterList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ReturnStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(SelfAccess p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(StatementList p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(SwitchStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(SynchronizedStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(ThrowStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(TryStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(TypeName p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(UnaryExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(Variable p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(VariableDeclaration p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(VariableDeclarator p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(WhileStatement p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(QueryExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(AliasedExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(JoinExpression p)
throws ParseTreeException
ParseTreeException
visit
public abstract void visit(InsertExpression p)
throws ParseTreeException
ParseTreeException