orc.ast.oil.visitor
Class Transformer
java.lang.Object
orc.ast.oil.visitor.Transformer
- All Implemented Interfaces:
- Visitor<Expression>
- Direct Known Subclasses:
- SiteResolver
public abstract class Transformer
- extends java.lang.Object
- implements Visitor<Expression>
Abstract base class tree transformer for Oil expressions.
- Author:
- quark
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transformer
public Transformer()
visit
public Expression visit(Parallel expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Call expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Type visit(Type type)
visit
public Expression visit(Constant arg)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(DeclareDefs expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Def visit(Def d)
visit
public Expression visit(Field arg)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(HasType hasType)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Pruning expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Sequential expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Otherwise expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Stop expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Site arg)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(DeclareType typeDecl)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Variable arg)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(WithLocation expr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Throw throwExpr)
- Specified by:
visit
in interface Visitor<Expression>
visit
public Expression visit(Catch catchExpr)
- Specified by:
visit
in interface Visitor<Expression>