|
sdr 0.5 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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. |
Fields in net.cscott.sdr.calls.ast declared as Comp | |
---|---|
Comp |
Part.child
|
Comp |
ParCall.child
|
Comp |
OptCall.child
|
Comp |
In.child
|
Comp |
If.child
The child to evaluate, iff the condition is true. |
Methods in net.cscott.sdr.calls.ast that return Comp | ||
---|---|---|
|
Seq.accept(TransformVisitor<T> v,
T t)
|
|
|
Par.accept(TransformVisitor<T> v,
T t)
|
|
|
Opt.accept(TransformVisitor<T> v,
T t)
|
|
|
In.accept(TransformVisitor<T> v,
T t)
|
|
|
If.accept(TransformVisitor<T> v,
T t)
|
|
abstract
|
Comp.accept(TransformVisitor<T> v,
T t)
|
|
Comp |
AstParser.comp()
|
|
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. |
Constructors in net.cscott.sdr.calls.ast with parameters of type Comp | |
---|---|
If(Condition condition,
Comp child)
|
|
If(Condition condition,
Comp child,
String msg)
|
|
If(Condition condition,
Comp child,
String msg,
Fraction priority)
|
|
In(Fraction count,
Comp child)
|
|
OptCall(List<Selector> selectors,
Comp child)
|
|
ParCall(Set<TaggedFormation.Tag> tags,
Comp child)
|
|
Part(boolean isDivisible,
Comp child)
|
Uses of Comp in net.cscott.sdr.calls.transform |
---|
Methods in net.cscott.sdr.calls.transform that return Comp | |
---|---|
static Comp |
RemoveIn.removeIn(Comp c)
Main method: pass in a Comp , and get out a Comp
without In nodes. |
Comp |
TransformVisitor.visit(If iff,
T t)
|
Comp |
RemoveIn.visit(In in,
Fraction f)
|
Comp |
TransformVisitor.visit(In in,
T t)
|
Comp |
TransformVisitor.visit(Opt opt,
T t)
|
Comp |
TransformVisitor.visit(Par p,
T t)
|
Comp |
Fractional.visit(Seq s,
Fraction f)
|
Comp |
TransformVisitor.visit(Seq s,
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()
|
net.cscott.sdr.calls.transform.BuilderHelper.B<? extends Comp> |
CallFileBuilder.res()
|
Methods in net.cscott.sdr.calls.transform with parameters of type Comp | |
---|---|
static Comp |
RemoveIn.removeIn(Comp c)
Main method: pass in a Comp , and get out a Comp
without In nodes. |
abstract RESULT |
ValueVisitor.visit(Comp c,
CLOSURE t)
|
Constructors in net.cscott.sdr.calls.transform with parameters of type Comp | |
---|---|
Evaluator.Standard(Comp continuation)
Create a standard evaluator which wll dance the specified calls. |
|
sdr 0.5 | |||||||||
PREV NEXT | FRAMES NO FRAMES |