|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ExprFunc | |
---|---|
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.transform | This package contains code to parse call lists and transform call abstract syntax in various ways. |
Uses of ExprFunc in net.cscott.sdr.calls |
---|
Subclasses of ExprFunc in net.cscott.sdr.calls | |
---|---|
class |
Call
The Call class includes 'simple calls' (like HINGE) which
take no arguments, 'complex calls' (like SQUARE THRU) which take a
numerical argument, and 'concepts' (like AS COUPLES) which take another
call or calls as arguments. |
class |
Matcher
A Matcher takes a formation and pulls out all instances of
a sub-formation. |
class |
Predicate
A Predicate is a boolean test on the current formation and dance
state, or else an operator on such boolean tests. |
Fields in net.cscott.sdr.calls declared as ExprFunc | |
---|---|
static ExprFunc<Fraction> |
ExprList._ADD_NUM
Simple math: addition. |
static ExprFunc<Matcher> |
MatcherList._ALLOW_UNMATCHED
|
static ExprFunc |
ExprList._APPLY
|
static ExprFunc<Matcher> |
MatcherList._CENTER
|
static ExprFunc<String> |
ExprList._COUPLE_NUM_PATTERN
The ExprList._COUPLE_NUM_PATTERN is mostly for determining when we're
"at home". |
static ExprFunc<Fraction> |
ExprList._DIVIDE_NUM
Simple math: division. |
static ExprFunc<String> |
ExprList._FACING_PATTERN
|
static ExprFunc<Fraction> |
ExprList._FLOOR
Simple math: return integer part of a fraction. |
static ExprFunc<Fraction> |
ExprList._FRACTION
Simple math: return fractional part of a number. |
static ExprFunc |
ExprList._IF
|
static ExprFunc<String> |
ExprList._INOUT_PATTERN
Check whether dancers are facing "in" or "out" of the center of the formation. |
static ExprFunc<Matcher> |
MatcherList._MIXED
|
static ExprFunc<Fraction> |
ExprList._MOD_NUM
Simple math: modulo. |
static ExprFunc<Fraction> |
ExprList._MULTIPLY_NUM
Simple math: multiplication. |
static ExprFunc<Matcher> |
MatcherList._NOT_GRAND
"Not grand" matcher means means don't allow matches whose bounds include the origin unless total # of dancers is 4 or less. |
static ExprFunc<Matcher> |
MatcherList._OR
|
static ExprFunc<String> |
ExprList._PROPERTY
The ExprList._PROPERTY function interrogates the dance engine's
environment, as exposed by DanceState.property(String, String) . |
static ExprFunc<String> |
ExprList._ROLL_PATTERN
|
static ExprFunc<String> |
ExprList._SELECTION_PATTERN
Check the order of the selected dancers within the given formation. |
static ExprFunc<Fraction> |
ExprList._SUBTRACT_NUM
Simple math: subtraction. |
static ExprFunc<String> |
ExprList._SWEEP_PATTERN
|
static ExprFunc<Selector> |
SelectorList.AND
Selector combiner: select dancers who match all of the selector arguments. |
static ExprFunc<Selector> |
SelectorList.FORMATION
Complex selector: do a formation match and select tagged dancers from the match -- but don't change the dance state. |
static ExprFunc |
ExprList.LITERAL
|
static ExprFunc<Selector> |
SelectorList.MATCH
Select dancers matched on a regex match against a dancer pattern. |
static ExprFunc<Selector> |
SelectorList.NONE
Selector which matches no dancers. |
static ExprFunc<Selector> |
SelectorList.NOT
Selector combiner: select dancers who don't match the selector argument. |
static ExprFunc<Fraction> |
ExprList.NUM_DANCERS
|
static ExprFunc<Selector> |
SelectorList.OR
Selector combiner: select dancers who match any of the selector arguments. |
static ExprFunc<Selector> |
SelectorList.OTHERS
Human-friendly synonym for ALL. |
Methods in net.cscott.sdr.calls that return ExprFunc | |
---|---|
static ExprFunc<Selector> |
SelectorList.valueOf(String s)
Return the Selector function with the given (case-insensitive)
name. |
static ExprFunc<Matcher> |
MatcherList.valueOf(String s)
Parse names of Matcher combination functions. |
Uses of ExprFunc in net.cscott.sdr.calls.transform |
---|
Subclasses of ExprFunc in net.cscott.sdr.calls.transform | |
---|---|
static class |
Finish.PartSelectorCall
Helper class to define concepts based on this class (and subclasses of it). |
|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |