|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.cscott.sdr.calls.lists.C1List
public abstract class C1List
The C1List
class contains complex call
and concept definitions which are on the 'C1' program.
Note that "simple" calls and concepts are defined in
the resource file at
net/cscott/sdr/calls/lists/c1.calls
;
this class contains only those definitions for which an
executable component is required.
Nested Class Summary | |
---|---|
static class |
C1List.ConcentricEvaluator
Evaluator for concentric and quasi-concentric. |
static class |
C1List.ConcentricType
Variant of 'concentric' to do. |
Field Summary | |
---|---|
static Call |
CONCENTRIC
|
static Call |
FINISH
The "finish" concept. |
static Call |
SIAMESE
|
static Call |
TANDEM
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Call FINISH
js> importPackage(net.cscott.sdr.calls) js> importPackage(net.cscott.sdr.calls.ast) js> ds = new DanceState(new DanceProgram(Program.C1), Formation.FOUR_SQUARE); undefined; js> a1 = Expr.literal("swing thru") 'swing thru js> a = new Expr("finish", a1) (Expr finish 'swing thru) js> C1List.FINISH.getEvaluator(ds, a.args).simpleExpansion() (Seq (Part 'DIVISIBLE '1 (Opt (From 'ANY (Seq (Part 'DIVISIBLE '1 (Seq (Apply (Expr _those who can turn left not grand '1/2)))))))))
js> importPackage(net.cscott.sdr.calls) js> importPackage(net.cscott.sdr.calls.ast) js> ds = new DanceState(new DanceProgram(Program.C1), Formation.FOUR_SQUARE); undefined; js> Evaluator.parseAndEval(ds, "touch 1/2") js> a = new Expr("finish", Expr.literal("recycle")) (Expr finish 'recycle) js> C1List.FINISH.getEvaluator(ds, a.args).simpleExpansion() (Opt (From 'ANY (Seq (Part 'DIVISIBLE '1 (Opt (From 'ANY (Seq (Apply (Expr _box counter rotate '1/4)) (Apply 'roll))))))))
public static final Call TANDEM
public static final Call SIAMESE
public static final Call CONCENTRIC
|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |