sdr 0.21

Uses of Class
net.cscott.sdr.calls.ast.Comp

Packages that use Comp
net.cscott.sdr.calls This package contains the square dance choreography engine, and the basic types and interfaces required to communicate with it. 
net.cscott.sdr.calls.ast This package contains the abstract syntax used for call definition and evaluation. 
net.cscott.sdr.calls.transform This package contains code to parse call lists and transform call abstract syntax in various ways. 
 

Uses of Comp in net.cscott.sdr.calls
 

Methods in net.cscott.sdr.calls that return Comp
abstract  Comp Call.apply(Apply ast)
          Evaluates this call with the arguments given in the Apply node, returning a Comp.
 

Methods in net.cscott.sdr.calls with parameters of type Comp
static Call Call.makeSimpleCall(String name, Program program, Comp def, Rule rule)
          Create a Call object for a 'simple call' which takes no arguments.
 

Uses of Comp in net.cscott.sdr.calls.ast
 

Subclasses of Comp in net.cscott.sdr.calls.ast
 class If
          If rejects its child as suitable for execution from the current formation unless its condition evaluates true.
 class In
          In alters the timing of its child such that it executes in exactly count beats.
 class Opt
          Opt is a list of call options.
 class Par
          Par is a list of call pieces.
 class Seq
          Seq is the serial composition of primitive call pieces.
 class Warped
          Warped transforms the coordinate space of its child.
 

Fields in net.cscott.sdr.calls.ast declared as Comp
 Comp If.child
           
 Comp In.child
           
 Comp OptCall.child
           
 Comp ParCall.child
           
 Comp Part.child
           
 Comp Warped.child
           
 

Methods in net.cscott.sdr.calls.ast that return Comp
abstract
<T> Comp
Comp.accept(TransformVisitor<T> v, T t)
           
<T> Comp
If.accept(TransformVisitor<T> v, T t)
           
<T> Comp
In.accept(TransformVisitor<T> v, T t)
           
<T> Comp
Opt.accept(TransformVisitor<T> v, T t)
           
<T> Comp
Par.accept(TransformVisitor<T> v, T t)
           
<T> Comp
Seq.accept(TransformVisitor<T> v, T t)
           
<T> Comp
Warped.accept(TransformVisitor<T> v, T t)
           
 Comp Apply.expand()
           
 

Methods in net.cscott.sdr.calls.ast with parameters of type Comp
 Part Part.build(boolean isDivisible, Comp child)
          Factory: creates new Part only if it would differ from this.
 If If.build(Condition condition, Comp child)
          Factory: creates new If only if it would differ from this.
 In In.build(Fraction count, Comp child)
          Factory: creates new In only if it would differ from this.
 OptCall OptCall.build(List<Selector> selectors, Comp child)
          Factory: creates new OptCall only if it would differ from this.
 ParCall ParCall.build(Set<TaggedFormation.Tag> tags, Comp child)
          Factory: creates new ParCall only if it would differ from this.
 Warped Warped.build(Warp warp, Comp child)
          Factory: creates new If only if it would differ from this.
 

Constructors in net.cscott.sdr.calls.ast with parameters of type Comp
If(Condition condition, Comp child)
           
In(Fraction count, Comp child)
           
OptCall(List<Selector> selectors, Comp child)
           
ParCall(Set<TaggedFormation.Tag> tags, Comp child)
           
Part(boolean isDivisible, Comp child)
           
Warped(Warp warp, Comp child)
           
 

Uses of Comp in net.cscott.sdr.calls.transform
 

Methods in net.cscott.sdr.calls.transform that return Comp
static Comp Elaborate.elaborate(DanceState ds, Formation f, Comp c, boolean doFully)
           
static Comp RemoveIn.removeIn(Comp c)
          Main method: pass in a comp, and get out a Comp without In nodes.
 Comp Elaborate.visit(If iff, Formation f)
           
 Comp TransformVisitor.visit(If iff, T t)
           
 Comp RemoveIn.visit(In in, Fraction f)
           
 Comp TransformVisitor.visit(In in, T t)
           
 Comp Elaborate.visit(Opt opt, Formation f)
          Go through list of possible formations, and pick the first one which works.
 Comp TransformVisitor.visit(Opt opt, T t)
           
 Comp Elaborate.visit(Par p, Formation _f)
          For each select clause, rephrase using 'primitive' tags.
 Comp TransformVisitor.visit(Par p, T t)
           
 Comp Fractional.visit(Seq s, Fraction f)
           
 Comp TransformVisitor.visit(Seq s, T t)
           
 Comp Elaborate.visit(Warped w, Formation f)
          A little optimization: for pairs of Warps, compose them into one node.
 Comp TransformVisitor.visit(Warped w, T t)
           
 

Methods in net.cscott.sdr.calls.transform that return types with arguments of type Comp
 net.cscott.sdr.calls.transform.BuilderHelper.B<? extends Comp> CallFileBuilder.pieces(AST _t)
           
 net.cscott.sdr.calls.transform.BuilderHelper.B<? extends Comp> CallFileBuilder.res(AST _t)
           
 

Methods in net.cscott.sdr.calls.transform with parameters of type Comp
static Comp Elaborate.elaborate(DanceState ds, Formation f, Comp c, boolean doFully)
           
static Comp RemoveIn.removeIn(Comp c)
          Main method: pass in a comp, and get out a Comp without In nodes.
 


sdr 0.21

Copyright (c) 2006 C. Scott Ananian