|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DanceState | |
---|---|
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.lists | This package contains call lists and generated natural-language parsers for the various square dance programs. |
net.cscott.sdr.calls.transform | This package contains code to parse call lists and transform call abstract syntax in various ways. |
Uses of DanceState in net.cscott.sdr.calls |
---|
Methods in net.cscott.sdr.calls that return DanceState | |
---|---|
DanceState |
DanceState.cloneAndClear()
Return a new independent dance state with the same static state and current formation, but empty movements and actions. |
DanceState |
DanceState.cloneAndClear(Formation formation)
Similar to cloneAndClear() , but allows you to specify the new
'current formation' of the result. |
Methods in net.cscott.sdr.calls with parameters of type DanceState | ||
---|---|---|
Boolean |
Predicate.evaluate(Class<? super Boolean> type,
DanceState ds,
List<Expr> args)
|
|
Evaluator |
Call.evaluate(Class<? super Evaluator> type,
DanceState ds,
List<Expr> args)
Implementation of ExprFunc interface: this Call can
be evaluated to yield an Evaluator . |
|
FormationMatch |
Matcher.evaluate(Class<? super FormationMatch> type,
DanceState ds,
List<Expr> args)
Implement the ExprFunc contract. |
|
abstract T |
ExprFunc.evaluate(Class<? super T> type,
DanceState ds,
List<Expr> args)
Perform the operation of the ExprFunc on the given list of
arguments args , yielding a value of the specified type . |
|
abstract Evaluator |
Evaluator.evaluate(DanceState ds)
Do "one part" of the continuation, and return an Evaluator
which will do the remaining parts, or null if there are no
additional parts to evaluate. |
|
Evaluator |
Evaluator.Standard.evaluate(DanceState ds)
|
|
Evaluator |
Evaluator.EvaluatorChain.evaluate(DanceState ds)
|
|
abstract boolean |
Predicate.evaluate(DanceState ds,
List<Expr> args)
Evaluates this predicate with the arguments given in the list of Expr nodes, returning a boolean. |
|
static
|
ExprList.evaluate(String atom,
Class<T> type,
DanceState ds,
List<Expr> args)
This method evaluates Expr nodes. |
|
void |
Evaluator.evaluateAll(DanceState ds)
|
|
abstract Evaluator |
Call.getEvaluator(DanceState ds,
List<Expr> args)
Returns the Evaluator to use on the result of an application. |
|
static void |
Evaluator.parseAndEval(DanceState ds,
String... calls)
Convenience method for easy testing. |
Uses of DanceState in net.cscott.sdr.calls.ast |
---|
Methods in net.cscott.sdr.calls.ast with parameters of type DanceState | ||
---|---|---|
|
Expr.evaluate(Class<T> type,
DanceState ds)
Evaluate the Expr in the given DanceState to yield
a result of the requested type . |
|
Selector |
ParCall.evaluate(DanceState ds)
|
|
Evaluator |
Apply.evaluator(DanceState ds)
|
Uses of DanceState in net.cscott.sdr.calls.lists |
---|
Methods in net.cscott.sdr.calls.lists with parameters of type DanceState | |
---|---|
Evaluator |
BasicList.LRMEvaluator.evaluate(DanceState ds)
|
Evaluator |
C1List.ConcentricEvaluator.evaluate(DanceState ds)
|
Evaluator |
A1List.SolidEvaluator.evaluate(DanceState ds)
|
Uses of DanceState in net.cscott.sdr.calls.transform |
---|
Methods in net.cscott.sdr.calls.transform with parameters of type DanceState | |
---|---|
Evaluator |
Finish.PartSelectorCall.getEvaluator(DanceState ds,
List<Expr> args)
|
protected abstract Finish |
Finish.PartSelectorCall.getPartsVisitor(DanceState ds)
|
static Comp |
RemoveIn.removeIn(DanceState ds,
In in)
Main method: pass in a Comp , and get out a Comp
without In nodes. |
Constructors in net.cscott.sdr.calls.transform with parameters of type DanceState | |
---|---|
Finish(DanceState ds)
|
|
Finish(String conceptName,
Set<String> safeConcepts,
DanceState ds)
|
|
FirstPart(DanceState ds)
|
|
Fractional(DanceState ds)
|
|
LikeA(DanceState ds)
|
|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |