net.cscott.sdr.calls.transform
Class TransformVisitor<T>
java.lang.Object
net.cscott.sdr.calls.transform.TransformVisitor<T>
- Direct Known Subclasses:
- PartsVisitor, RemoveIn
public abstract class TransformVisitor<T>
- extends Object
TransformVisitor
is a superclass to eliminate
common code when writing tree transformations.
- Version:
- $Id: TransformVisitor.java,v 1.4 2006-10-18 21:14:44 cananian Exp $
- Author:
- C. Scott Ananian
Method Summary |
SeqCall |
visit(Apply apply,
T t)
|
Expr |
visit(Expr e,
T t)
|
Comp |
visit(If iff,
T t)
|
Comp |
visit(In in,
T t)
|
OptCall |
visit(OptCall oc,
T t)
|
Comp |
visit(Opt opt,
T t)
|
ParCall |
visit(ParCall pc,
T t)
|
Comp |
visit(Par p,
T t)
|
SeqCall |
visit(Part p,
T t)
|
SeqCall |
visit(Prim p,
T t)
|
Comp |
visit(Seq s,
T t)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformVisitor
public TransformVisitor()
visit
public SeqCall visit(Apply apply,
T t)
visit
public Expr visit(Expr e,
T t)
visit
public Comp visit(If iff,
T t)
visit
public Comp visit(In in,
T t)
visit
public Comp visit(Opt opt,
T t)
visit
public OptCall visit(OptCall oc,
T t)
visit
public Comp visit(Par p,
T t)
visit
public ParCall visit(ParCall pc,
T t)
visit
public SeqCall visit(Part p,
T t)
visit
public SeqCall visit(Prim p,
T t)
visit
public Comp visit(Seq s,
T t)
Copyright © 2006-2009 C. Scott Ananian