sdr 0.7

net.cscott.sdr.calls.transform
Class TransformVisitor<T>

java.lang.Object
  extended by 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

Constructor Summary
TransformVisitor()
           
 
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
 

Constructor Detail

TransformVisitor

public TransformVisitor()
Method Detail

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)

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian