orc.ast.extended.visitor
Class Walker
java.lang.Object
orc.ast.extended.visitor.Walker
- All Implemented Interfaces:
- Visitor<java.lang.Void>
public class Walker
- extends java.lang.Object
- implements Visitor<java.lang.Void>
- Author:
- jthywiss
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Walker
public Walker()
enterScope
public void enterScope(ASTNode node)
leaveScope
public void leaveScope(ASTNode node)
enter
public boolean enter(ASTNode node)
visit
public java.lang.Void visit(AssertType expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(AssertType expr)
leave
public void leave(AssertType expr)
visit
public java.lang.Void visit(Call expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Call expr)
leave
public void leave(Call expr)
visit
public java.lang.Void visit(Capsule expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Capsule expr)
leave
public void leave(Capsule expr)
visit
public java.lang.Void visit(Catch expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Catch expr)
leave
public void leave(Catch expr)
visit
public java.lang.Void visit(ConsExpr expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(ConsExpr expr)
leave
public void leave(ConsExpr expr)
visit
public java.lang.Void visit(Declare expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Declare expr)
leave
public void leave(Declare expr)
visit
public java.lang.Void visit(Dot expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Dot expr)
leave
public void leave(Dot expr)
visit
public java.lang.Void visit(Field expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Field expr)
leave
public void leave(Field expr)
visit
public java.lang.Void visit(HasType expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(HasType expr)
leave
public void leave(HasType expr)
visit
public java.lang.Void visit(IfThenElse expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(IfThenElse expr)
leave
public void leave(IfThenElse expr)
visit
public java.lang.Void visit(Lambda expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Lambda expr)
leave
public void leave(Lambda expr)
visit
public java.lang.Void visit(Let expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Let expr)
leave
public void leave(Let expr)
visit
public java.lang.Void visit(ListExpr expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(ListExpr expr)
leave
public void leave(ListExpr expr)
visit
public java.lang.Void visit(Literal expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Literal expr)
leave
public void leave(Literal expr)
visit
public java.lang.Void visit(Name expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Name expr)
leave
public void leave(Name expr)
visit
public java.lang.Void visit(NilExpr expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(NilExpr expr)
leave
public void leave(NilExpr expr)
visit
public java.lang.Void visit(Parallel expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Parallel expr)
leave
public void leave(Parallel expr)
visit
public java.lang.Void visit(Otherwise expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Otherwise expr)
leave
public void leave(Otherwise expr)
visit
public java.lang.Void visit(Sequential expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Sequential expr)
leave
public void leave(Sequential expr)
visit
public java.lang.Void visit(Stop expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Stop expr)
leave
public void leave(Stop expr)
visit
public java.lang.Void visit(Temporary expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Temporary expr)
leave
public void leave(Temporary expr)
visit
public java.lang.Void visit(Throw expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Throw expr)
leave
public void leave(Throw expr)
visit
public java.lang.Void visit(Pruning expr)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(Pruning expr)
leave
public void leave(Pruning expr)
visit
public java.lang.Void visit(CatchHandler handler)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(CatchHandler handler)
leave
public void leave(CatchHandler handler)
visit
public java.lang.Void visit(IncludeDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(IncludeDeclaration decl)
leave
public void leave(IncludeDeclaration decl)
visit
public java.lang.Void visit(ClassDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(ClassDeclaration decl)
leave
public void leave(ClassDeclaration decl)
visit
public java.lang.Void visit(DefsDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(DefsDeclaration decl)
leave
public void leave(DefsDeclaration decl)
visit
public java.lang.Void visit(SiteDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(SiteDeclaration decl)
leave
public void leave(SiteDeclaration decl)
visit
public java.lang.Void visit(ValDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(ValDeclaration decl)
leave
public void leave(ValDeclaration decl)
visit
public java.lang.Void visit(DefMemberClause defn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(DefMemberClause defn)
leave
public void leave(DefMemberClause defn)
visit
public java.lang.Void visit(DefMemberType defn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(DefMemberType defn)
leave
public void leave(DefMemberType defn)
visit
public java.lang.Void visit(DatatypeDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(DatatypeDeclaration decl)
leave
public void leave(DatatypeDeclaration decl)
visit
public java.lang.Void visit(TypeAliasDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(TypeAliasDeclaration decl)
leave
public void leave(TypeAliasDeclaration decl)
visit
public java.lang.Void visit(TypeDeclaration decl)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(TypeDeclaration decl)
leave
public void leave(TypeDeclaration decl)
visit
public java.lang.Void visit(AsPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(AsPattern patn)
leave
public void leave(AsPattern patn)
visit
public java.lang.Void visit(CallPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(CallPattern patn)
leave
public void leave(CallPattern patn)
visit
public java.lang.Void visit(ConsPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(ConsPattern patn)
leave
public void leave(ConsPattern patn)
visit
public java.lang.Void visit(EqPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(EqPattern patn)
leave
public void leave(EqPattern patn)
visit
public java.lang.Void visit(ListPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(ListPattern patn)
leave
public void leave(ListPattern patn)
visit
public java.lang.Void visit(LiteralPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(LiteralPattern patn)
leave
public void leave(LiteralPattern patn)
visit
public java.lang.Void visit(NilPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(NilPattern patn)
leave
public void leave(NilPattern patn)
visit
public java.lang.Void visit(TuplePattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(TuplePattern patn)
leave
public void leave(TuplePattern patn)
visit
public java.lang.Void visit(TypedPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(TypedPattern patn)
leave
public void leave(TypedPattern patn)
visit
public java.lang.Void visit(VariablePattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(VariablePattern patn)
leave
public void leave(VariablePattern patn)
visit
public java.lang.Void visit(WildcardPattern patn)
- Specified by:
visit
in interface Visitor<java.lang.Void>
enter
public boolean enter(WildcardPattern patn)
leave
public void leave(WildcardPattern patn)