sdr 0.7

net.cscott.sdr.calls.transform
Class FirstPart

java.lang.Object
  extended by net.cscott.sdr.calls.transform.TransformVisitor<T>
      extended by net.cscott.sdr.calls.transform.PartsVisitor<Void>
          extended by net.cscott.sdr.calls.transform.Finish
              extended by net.cscott.sdr.calls.transform.FirstPart

public class FirstPart
extends Finish

Transformation implementing C4List._FIRST_PART (not on any list). Extracts just the first part of the call. Equivalent to "like a reverse order".

Author:
C. Scott Ananian

Nested Class Summary
 
Nested classes/interfaces inherited from class net.cscott.sdr.calls.transform.Finish
Finish.PartSelectorCall
 
Constructor Summary
FirstPart(DanceState ds)
           
 
Method Summary
 Comp visit(If iff, Void t)
           
 Part visit(Part p, Void t)
           
 Comp visit(Seq s, Void t)
           
 
Methods inherited from class net.cscott.sdr.calls.transform.Finish
visit, visit, visit
 
Methods inherited from class net.cscott.sdr.calls.transform.PartsVisitor
desugarAnd, visit
 
Methods inherited from class net.cscott.sdr.calls.transform.TransformVisitor
visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirstPart

public FirstPart(DanceState ds)
Method Detail

visit

public Part visit(Part p,
                  Void t)
Overrides:
visit in class Finish

visit

public Comp visit(Seq s,
                  Void t)
Overrides:
visit in class Finish

visit

public Comp visit(If iff,
                  Void t)
Overrides:
visit in class Finish

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian