sdr 0.7

net.cscott.sdr.calls.transform
Class ValueVisitor<RESULT,CLOSURE>

java.lang.Object
  extended by net.cscott.sdr.calls.transform.ValueVisitor<RESULT,CLOSURE>

public abstract class ValueVisitor<RESULT,CLOSURE>
extends Object

ValueVisitor is a superclass to eliminate common code when writing tree transformations.

Version:
$Id: ValueVisitor.java,v 1.2 2006-10-25 20:43:28 cananian Exp $
Author:
C. Scott Ananian

Constructor Summary
ValueVisitor()
           
 
Method Summary
abstract  RESULT visit(Apply apply, CLOSURE t)
           
abstract  RESULT visit(Comp c, CLOSURE t)
           
abstract  RESULT visit(Expr e, CLOSURE t)
           
abstract  RESULT visit(If iff, CLOSURE t)
           
abstract  RESULT visit(In in, CLOSURE t)
           
abstract  RESULT visit(OptCall oc, CLOSURE t)
           
abstract  RESULT visit(Opt opt, CLOSURE t)
           
abstract  RESULT visit(ParCall pc, CLOSURE t)
           
abstract  RESULT visit(Par p, CLOSURE t)
           
abstract  RESULT visit(Part p, CLOSURE t)
           
abstract  RESULT visit(Prim p, CLOSURE t)
           
abstract  RESULT visit(SeqCall s, CLOSURE t)
           
abstract  RESULT visit(Seq s, CLOSURE t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueVisitor

public ValueVisitor()
Method Detail

visit

public abstract RESULT visit(Apply apply,
                             CLOSURE t)

visit

public abstract RESULT visit(Comp c,
                             CLOSURE t)

visit

public abstract RESULT visit(Expr e,
                             CLOSURE t)

visit

public abstract RESULT visit(If iff,
                             CLOSURE t)

visit

public abstract RESULT visit(In in,
                             CLOSURE t)

visit

public abstract RESULT visit(Opt opt,
                             CLOSURE t)

visit

public abstract RESULT visit(OptCall oc,
                             CLOSURE t)

visit

public abstract RESULT visit(Par p,
                             CLOSURE t)

visit

public abstract RESULT visit(ParCall pc,
                             CLOSURE t)

visit

public abstract RESULT visit(Part p,
                             CLOSURE t)

visit

public abstract RESULT visit(Prim p,
                             CLOSURE t)

visit

public abstract RESULT visit(Seq s,
                             CLOSURE t)

visit

public abstract RESULT visit(SeqCall s,
                             CLOSURE t)

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian