public class Ham4Parser extends antlr.LLkParser implements Ham4ParserTokenTypes
TokenStream
and generating an AST for
the sign.Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
static antlr.collections.impl.BitSet |
_tokenSet_10 |
static antlr.collections.impl.BitSet |
_tokenSet_11 |
static antlr.collections.impl.BitSet |
_tokenSet_12 |
static antlr.collections.impl.BitSet |
_tokenSet_13 |
static antlr.collections.impl.BitSet |
_tokenSet_14 |
static antlr.collections.impl.BitSet |
_tokenSet_15 |
static antlr.collections.impl.BitSet |
_tokenSet_16 |
static antlr.collections.impl.BitSet |
_tokenSet_17 |
static antlr.collections.impl.BitSet |
_tokenSet_18 |
static antlr.collections.impl.BitSet |
_tokenSet_19 |
static antlr.collections.impl.BitSet |
_tokenSet_2 |
static antlr.collections.impl.BitSet |
_tokenSet_20 |
static antlr.collections.impl.BitSet |
_tokenSet_21 |
static antlr.collections.impl.BitSet |
_tokenSet_22 |
static antlr.collections.impl.BitSet |
_tokenSet_23 |
static antlr.collections.impl.BitSet |
_tokenSet_24 |
static antlr.collections.impl.BitSet |
_tokenSet_25 |
static antlr.collections.impl.BitSet |
_tokenSet_26 |
static antlr.collections.impl.BitSet |
_tokenSet_27 |
static antlr.collections.impl.BitSet |
_tokenSet_28 |
static antlr.collections.impl.BitSet |
_tokenSet_29 |
static antlr.collections.impl.BitSet |
_tokenSet_3 |
static antlr.collections.impl.BitSet |
_tokenSet_30 |
static antlr.collections.impl.BitSet |
_tokenSet_31 |
static antlr.collections.impl.BitSet |
_tokenSet_32 |
static antlr.collections.impl.BitSet |
_tokenSet_33 |
static antlr.collections.impl.BitSet |
_tokenSet_34 |
static antlr.collections.impl.BitSet |
_tokenSet_35 |
static antlr.collections.impl.BitSet |
_tokenSet_36 |
static antlr.collections.impl.BitSet |
_tokenSet_37 |
static antlr.collections.impl.BitSet |
_tokenSet_38 |
static antlr.collections.impl.BitSet |
_tokenSet_39 |
static antlr.collections.impl.BitSet |
_tokenSet_4 |
static antlr.collections.impl.BitSet |
_tokenSet_40 |
static antlr.collections.impl.BitSet |
_tokenSet_41 |
static antlr.collections.impl.BitSet |
_tokenSet_42 |
static antlr.collections.impl.BitSet |
_tokenSet_43 |
static antlr.collections.impl.BitSet |
_tokenSet_44 |
static antlr.collections.impl.BitSet |
_tokenSet_45 |
static antlr.collections.impl.BitSet |
_tokenSet_46 |
static antlr.collections.impl.BitSet |
_tokenSet_47 |
static antlr.collections.impl.BitSet |
_tokenSet_48 |
static antlr.collections.impl.BitSet |
_tokenSet_49 |
static antlr.collections.impl.BitSet |
_tokenSet_5 |
static antlr.collections.impl.BitSet |
_tokenSet_50 |
static antlr.collections.impl.BitSet |
_tokenSet_51 |
static antlr.collections.impl.BitSet |
_tokenSet_52 |
static antlr.collections.impl.BitSet |
_tokenSet_53 |
static antlr.collections.impl.BitSet |
_tokenSet_54 |
static antlr.collections.impl.BitSet |
_tokenSet_55 |
static antlr.collections.impl.BitSet |
_tokenSet_56 |
static antlr.collections.impl.BitSet |
_tokenSet_57 |
static antlr.collections.impl.BitSet |
_tokenSet_58 |
static antlr.collections.impl.BitSet |
_tokenSet_59 |
static antlr.collections.impl.BitSet |
_tokenSet_6 |
static antlr.collections.impl.BitSet |
_tokenSet_60 |
static antlr.collections.impl.BitSet |
_tokenSet_61 |
static antlr.collections.impl.BitSet |
_tokenSet_62 |
static antlr.collections.impl.BitSet |
_tokenSet_63 |
static antlr.collections.impl.BitSet |
_tokenSet_64 |
static antlr.collections.impl.BitSet |
_tokenSet_65 |
static antlr.collections.impl.BitSet |
_tokenSet_66 |
static antlr.collections.impl.BitSet |
_tokenSet_67 |
static antlr.collections.impl.BitSet |
_tokenSet_68 |
static antlr.collections.impl.BitSet |
_tokenSet_69 |
static antlr.collections.impl.BitSet |
_tokenSet_7 |
static antlr.collections.impl.BitSet |
_tokenSet_8 |
static antlr.collections.impl.BitSet |
_tokenSet_9 |
A1LIST, A1TLIST, A2TLIST, ACTION1, ACTION1T, ACTION2, ACTION2T, BASICHDSHP, BASICHDSHP1, CNTCTBODY, CNTCTHAND, CNTCTOFHAND, CNTCTOHARM, CNTCTOHHAND, CRCLRMVMT, EOF, EXTFIDIR, EXTFIDIR1, EXTFIDIR2, FCROSSING, FIBENDING, FICRSSLIST, FINGERLIST, FISHPLIST, FSHAPE, HamAltbegin, HamAltend, HamAlternatingmotion, HamArcd, HamArcl, HamArcr, HamArcu, HamArmextended, HamBehind, HamBelowstomach, HamBetween, HamBrushing, HamCee12, HamCee12open, HamCeeall, HamCheek, HamChest, HamChin, HamCircled, HamCircledi, HamCircledl, HamCircledo, HamCircledr, HamCirclei, HamCircleil, HamCircleir, HamCirclel, HamCircleo, HamCircleol, HamCircleor, HamCircler, HamCircleu, HamCircleui, HamCircleul, HamCircleuo, HamCircleur, HamClockd, HamClockdl, HamClockdr, HamClockfull, HamClockl, HamClockr, HamClocku, HamClockul, HamClockur, HamClose, HamComma, HamCorefref, HamCoreftag, HamCross, HamDecreasing, HamDoublebent, HamDoublehooked, HamEar, HamEarlobe, HamElbow, HamElbowinside, HamEllipseh, HamEllipseul, HamEllipseur, HamEllipsev, HamEtc, HamExclaim, HamExtfingerd, HamExtfingerdi, HamExtfingerdl, HamExtfingerdo, HamExtfingerdr, HamExtfingeri, HamExtfingeril, HamExtfingerir, HamExtfingerl, HamExtfingero, HamExtfingerol, HamExtfingeror, HamExtfingerr, HamExtfingeru, HamExtfingerui, HamExtfingerul, HamExtfingeruo, HamExtfingerur, HamEyebrows, HamEyes, HamFast, HamFinger2, HamFinger23, HamFinger2345, HamFinger23spread, HamFingerbase, HamFingerbendmod, HamFingerhookedmod, HamFingermidjoint, HamFingernail, HamFingerpad, HamFingerplay, HamFingerside, HamFingerstraightmod, HamFingertip, HamFist, HamFlathand, HamForehead, HamFullstop, HamFusionbegin, HamFusionend, HamHalt, HamHandback, HamHead, HamHeadtop, HamIncreasing, HamIndexfinger, HamInterlock, HamLargemod, HamLinefeed, HamLips, HamLowerarm, HamLrat, HamLrbeside, HamMetaalt, HamMiddlefinger, HamMime, HamMovecross, HamMoved, HamMovedi, HamMovedl, HamMovedo, HamMovedr, HamMovei, HamMoveil, HamMoveir, HamMovel, HamMoveo, HamMoveol, HamMoveor, HamMover, HamMoveu, HamMoveui, HamMoveul, HamMoveuo, HamMoveur, HamMovex, HamNbs, HamNeck, HamNeutralspace, HamNodding, HamNomotion, HamNondominant, HamNonipsi, HamNose, HamNostrils, HamOrirelative, HamPagebreak, HamPalm, HamPalmd, HamPalmdl, HamPalmdr, HamPalml, HamPalmr, HamPalmu, HamPalmul, HamPalmur, HamParbegin, HamParend, HamPinch12, HamPinch12open, HamPinchall, HamPinky, HamPinkyside, HamPlus, HamQuery, HamRepeatcontinue, HamRepeatcontinueseveral, HamRepeatfromstart, HamRepeatfromstartseveral, HamRepeatreverse, HamReplace, HamRest, HamReturn, HamRingfinger, HamSeqbegin, HamSeqend, HamShoulders, HamShouldertop, HAMSIGNS, HamSlow, HamSmallmod, HamSpace, HamStirccw, HamStircw, HamStomach, HamSwinging, HamSymmlr, HamSymmpar, HamTab, HamTeeth, HamTense, HamThumb, HamThumbacrossmod, HamThumbball, HamThumbopenmod, HamThumboutmod, HamThumbside, HamTongue, HamTouch, HamTwisting, HamUnderchin, HamUpperarm, HamVersion40, HamWavy, HamWristback, HamWristpulse, HamWristtoback, HamWristtopinky, HamWristtopulse, HamWristtothumb, HamZigzag, HCONSTLLN, HDCFGTAIL2, HDCONFIG1, HDCONFIG2, HSCLASS, HSFINGERITEM, HSHAPE1, HSHAPE2, ICFG1, ICFG2, LEVARM, LEVBODY, LEVHAND, LOC1, LOC2, LOCBODY, LOCTNARM, LOCTNBODY, LOCTNBODYARM, LOCTNHAND, MICFG1, MICFG2, MOVINGREPETITION, NMACT1T, NMICLIST, NMICUNIT, NULL_TREE_LOOKAHEAD, PALMOR1, PALMOR2, PARACT1, PARACT1T, PARACT2T, REPETITIONS, REPLACE, REPLACETAIL1, SEQACT1, SEQACT1T, SEQACT2T, SEQFUSEDACT1, SEQFUSEDACT1T, SEQFUSEDACT2T, SIGN1, SIGN2, SIMPLEMVMT, SPLITACT2LOC2, SPLITACT2T, SPLITHDCFG2, SPLITREPLACETL, STRGHTMVMT, THSPECIAL, THUMBPOS, WS
Constructor and Description |
---|
Ham4Parser(antlr.ParserSharedInputState state) |
Ham4Parser(antlr.TokenBuffer tokenBuf) |
Ham4Parser(antlr.TokenStream lexer) |
Ham4Parser(antlr.TokenStream lexer,
boolean erimmed)
Constructs a new HNS-4 sign parser, taking input from the given
token stream, and using the given setting of the
Immediate Error Reportingflag. |
Modifier and Type | Method and Description |
---|---|
void |
a1tlist()
|
void |
a1tstar()
a1tstar
:
a1tlist
//
{ #a1tstar = #([A1TLIST,"a1tstar"], #a1tstar); }
; |
void |
a2tlist()
|
void |
a2tstar()
a2tstar
:
a2tlist
//
{ #a2tstar = #([A2TLIST,"a2tstar"], #a2tstar); }
; |
void |
action1()
action1
:
(
HamNomotion
|
simplemovement
(
( modifier )+
( HamLargemod )?
)?
|
( HamSeqbegin digit )
=>
specialfingerplaymovement
|
paraction1
|
seqaction1
|
seqfusedaction1
)
{ #action1 = #([ACTION1,"action1"], #action1); }
; |
void |
action1t()
action1t
:
(
(
action1 )
=>
(
action1
(
( handconstellation )
=>
handconstellation
|
location1
( HamLargemod )?
)?
)
|
paraction1t
|
( nmaction1t ) //#### 2003-08
=>
nmaction1t
|
seqaction1t
|
seqfusedaction1t
)
repetitionsoption
//
{ #action1t = #([ACTION1T,"action1t"], #action1t); }
; |
void |
action2t()
action2t
:
(
(
action1 location2not1 )
=>
action1
location2not1
repetitionsoption
|
( action1t )
=>
action1t
|
(
( HamParbegin ( action1 )+ HamPlus
( action1 )+ HamParend location2 )
=>
splitaction2loc2
|
( HamParbegin ( action1t )+ HamPlus )
=>
splitaction2t
|
paraction2t
|
seqaction2t
|
seqfusedaction2t
)
repetitionsoption
)
{ #action2t = #([ACTION2T,"action2t"], #action2t); }
; |
void |
alternations()
alternations
: HamAlternatingmotion
( HamAlternatingmotion )?
;
|
void |
arc()
arc
: HamArcl
| HamArcu
| HamArcr
| HamArcd
;
|
void |
arckind()
|
void |
basichandshape()
basichandshape
: (
handshapeclass
|
HamNondominant
)
// 2011-03
// Allow HamEtc for "underspecified"/approximate. |
void |
basichandshape1()
basichandshape1
:
basichandshape
(
( HamBetween handshapeclass ) //#### 2003-08
=>
HamBetween !
basichandshape
)?
{ #basichandshape1 =
#([BASICHDSHP1,"basichandshape1"], #basichandshape1); }
; |
void |
brushingcontact()
brushingcontact
:
HamSeqbegin !
HamBrushing
location1
HamSeqend !
; |
void |
cautiousfingerlist()
cautiousfingerlist
:
reccautiousfingerlist
//
{ #cautiousfingerlist =
#([FINGERLIST,"fingerlist"], #cautiousfingerlist); }
; |
void |
ccontact()
ccontact
: HamInterlock
| HamCross
;
|
void |
checkForParseError()
Does nothing unless parse errors have occurred, in which case
a new
RecognitionException is thrown whose detail message
is a complete parsing error log. |
void |
circularmovement()
circularmovement
:
movementcircle
(
HamBetween !
movementcircle
)?
{ #circularmovement =
#([CRCLRMVMT,"crclrmvmt"], #circularmovement); }
; |
void |
clock()
clock
: HamClocku
| HamClockul
| HamClockl
| HamClockdl
| HamClockd
| HamClockdr
| HamClockr
| HamClockur
;
|
void |
contactbody()
contactbody
:
(
pcontact
|
HamArmextended
|
contactofhand
)
{ #contactbody = #([CNTCTBODY,"contactbody"], #contactbody); }
; |
void |
contacthand()
contacthand
:
(
pcontact
|
ccontact
|
contactofhand
)
{ #contacthand = #([CNTCTHAND,"contacthand"], #contacthand); }
; |
void |
contactofhand()
contactofhand
: HamSeqbegin !
(
pcontact
|
ccontact
)
(
( levelhand )
=>
contactohhand
|
contactoharm
)
HamSeqend !
//
{ #contactofhand =
#([CNTCTOFHAND,"contactofhand"], #contactofhand); }
; |
void |
contactoharm()
contactoharm
:
levelcomplexarm
//
{ #contactoharm =
#([CNTCTOHARM,"contactoharm"], #contactoharm); }
; |
void |
contactohhand()
contactohhand
:
levelcomplexhand
//
{ #contactohhand =
#([CNTCTOHHAND,"contactohhand"], #contactohhand); }
; |
void |
digit()
|
void |
dorsalorpalmar()
dorsalorpalmar
: HamHandback
| HamPalm
;
|
void |
ellipse()
ellipse
:
ellipsedirection
( size )?
; |
void |
ellipsedirection()
ellipsedirection
: HamEllipseh
| HamEllipseur
| HamEllipsev
| HamEllipseul
;
|
void |
extfidir()
extfidir
:
( HamExtfingeru
| HamExtfingerur
| HamExtfingerr
| HamExtfingerdr
| HamExtfingerd
| HamExtfingerdl
| HamExtfingerl
| HamExtfingerul
| (
HamExtfingerol
(
HamExtfingeruo
| HamExtfingerdo
)?
)
| HamExtfingero
| (
HamExtfingeror
(
HamExtfingeruo
| HamExtfingerdo
)?
)
| (
HamExtfingeril
(
HamExtfingerui
| HamExtfingerdi
)?
)
| HamExtfingeri
| (
HamExtfingerir
(
HamExtfingerui
| HamExtfingerdi
)?
)
| (
HamExtfingerui
(
HamExtfingeril
| HamExtfingerir
)?
)
| (
HamExtfingerdi
(
HamExtfingeril
| HamExtfingerir
)?
)
| (
HamExtfingerdo
(
HamExtfingerol
| HamExtfingeror
)?
)
| (
HamExtfingeruo
(
HamExtfingerol
| HamExtfingeror
)?
)
)
{ #extfidir = #([EXTFIDIR,"extfidir"], #extfidir); }
;
|
void |
extfidir1()
|
void |
extfidir2()
extfidir2
:
(
extfidir1
|
splitextfidir2
)
{ #extfidir2 = #([EXTFIDIR2,"extfidir2"], #extfidir2); }
; |
void |
finger()
finger
: HamIndexfinger
| HamMiddlefinger
| HamRingfinger
| HamPinky
;
|
void |
fingerbending()
fingerbending
:
( HamFingerstraightmod
| HamFingerbendmod
| HamFingerhookedmod
| HamDoublebent
| HamDoublehooked
)
{ #fingerbending =
#([FIBENDING,"fingerbending"], #fingerbending); }
;
|
void |
fingercrossing()
fingercrossing
:
digit
fingerpart
digit
//
{ #fingercrossing =
#([FCROSSING,"fingercrossing"], #fingercrossing); }
; |
void |
fingercrossinglist()
fingercrossinglist
:
recfingercrossinglist
//
{ #fingercrossinglist =
#([FICRSSLIST,"fingercrossinglist"],
#fingercrossinglist); }
; |
void |
fingerlist()
fingerlist
:
recfingerlist
//
{ #fingerlist =
#([FINGERLIST,"fingerlist"], #fingerlist); }
; |
void |
fingerpart()
fingerpart
: HamFingertip
| HamFingernail
| HamFingerpad
| HamFingermidjoint
| HamFingerbase
| HamFingerside
;
|
void |
fingershape()
fingershape
:
digit
fingerbending
//
{ #fingershape = #([FSHAPE,"fingershape"], #fingershape); }
; |
void |
fingershapelist()
fingershapelist
:
recfingershapelist
//
{ #fingershapelist =
#([FISHPLIST,"fingershapelist"], #fingershapelist); }
; |
void |
hamsignseq()
|
void |
hamsinglesign()
hamsinglesign
:
hamsignseq
EOF !
; |
void |
handbendandthumb()
|
void |
handconfig1()
handconfig1
:
handshape1
(
extfidir1
palmor1
)?
//
{ #handconfig1 = #([HDCONFIG1,"handconfig1"], #handconfig1); }
; |
void |
handconfig2()
handconfig2
:
(
(
handshape2 ( HamParbegin )? extfidir1 )
=>
handshape2
handconfigtail2
|
( handshape2 )
=>
handshape2
|
splithandconfig2
)
//#### before 2003-08-30:
// (
// ( handconfig1 )
// =>
// handconfig1
// |
// ( HamParbegin handshape1 HamPlus )
// =>
// handshape2
// handconfigtail2
// |
// ( handshape1 ( HamParbegin )? extfidir1 )
// =>
// handshape2
// handconfigtail2
// |
// abbrevhandconfig1
// |
// splithandconfig2
// )
//
{ #handconfig2 = #([HDCONFIG2,"handconfig2"], #handconfig2); }
; |
void |
handconfigtail2()
|
void |
handconstellation()
handconstellation
: (
HamParbegin !
locationhand
HamPlus !
locationhand
HamParend !
)?
contacthand
//
{ #handconstellation =
#([HCONSTLLN,"handconstellation"], #handconstellation); }
; |
void |
handpart()
handpart
: HamWristback
| HamWristpulse
| HamThumbball
| HamPalm
| HamHandback
| HamThumbside
| HamPinkyside
;
|
void |
handshape1()
handshape1
:
basichandshape1
(
( ( hsfingeritem )+ HamBetween finger )
=>
cautiousfingerlist
fingershapelist
fingercrossinglist
thumbbetweenexplicit
|
( ( hsdigit )* ( fingerbending | fingerpart ) )
=>
cautiousfingerlist
fingershapelist
fingercrossinglist
( ( thumbspecial ) => thumbspecial )?
|
( ( hsfingeritem )* ( thumbbetweendefault | thumbextra ) )
=>
fingerlist
fingershapelist
fingercrossinglist
( thumbbetweendefault | thumbextra )
|
fingerlist
fingershapelist
fingercrossinglist
)
{ #handshape1 = #([HSHAPE1,"handshape1"], #handshape1); }
; |
void |
handshape2()
handshape2
:
(
handshape1
|
HamParbegin !
handshape1
HamPlus !
handshape1
HamParend !
)
{ #handshape2 = #([HSHAPE2,"handshape2"], #handshape2); }
; |
void |
handshapeclass()
handshapeclass
:
( HamFist
| HamFlathand
| HamFinger2
| HamFinger23
| HamFinger23spread
| HamFinger2345
| HamPinch12
| HamPinchall
| HamPinch12open
| HamCee12
| HamCeeall
| HamCee12open
)
{ #handshapeclass =
#([HSCLASS,"handshapeclass"], #handshapeclass); }
;
|
void |
hsdigit()
hsdigit //#### HNS-4
:
thumb
| hsfingeritem
; |
void |
hsfingeritem()
hsfingeritem //#### HNS-4
:
finger
( HamLargemod )?
//
{ #hsfingeritem =
#([HSFINGERITEM,"hsfingeritem"], #hsfingeritem); }
; |
void |
initialconfig1()
initialconfig1
: (
nminitialconfig )?
minitialconfig1
//
{ #initialconfig1 =
#([ICFG1,"initialconfig1"], #initialconfig1); }
; |
void |
initialconfig2()
initialconfig2
: (
nminitialconfig )?
minitialconfig2
//
{ #initialconfig2 =
#([ICFG2,"initialconfig2"], #initialconfig2); }
; |
void |
levelarm()
levelarm
:
(
// 2011-03
// Allow HamEtc for "underspecified"/approximate.
|
void |
levelbody()
levelbody
:
(
// 2011-03
// Allow HamEtc for "underspecified"/approximate.
|
void |
levelcomplexarm()
|
void |
levelcomplexbody()
|
void |
levelcomplexhand()
|
void |
levelhand()
levelhand
:
(
lochand
( dorsalorpalmar )?
( side )
=>
( side )?
|
side
lochand
( dorsalorpalmar )?
)
{ #levelhand = #([LEVHAND,"levelhand"], #levelhand); }
; |
void |
locarm()
locarm
: HamUpperarm
| HamElbow
| HamElbowinside
| HamLowerarm
;
|
void |
location1()
location1
:
(
(
locationindexuse ) //#### 2003-08
=>
locationindexuse
|
( levelhand )
=>
locationhand
|
locationbodyarm
)
{ #location1 = #([LOC1,"location1"], #location1); }
; |
void |
location1as2()
location1as2
:
location1
{ #location1as2 = #([LOC2,"location1as2"], #location1as2); }
; |
void |
location2()
location2
:
(
location1as2
|
location2not1
)
; |
void |
location2not1()
location2not1
:
(
(
handconstellation )
=>
handconstellation
(
HamNeutralspace !
( HamArmextended )?
|
( locationbody )?
//
//2001-07-05
//If we replace the above option with the following, i.e. |
void |
locationarm()
locationarm
:
levelcomplexarm
( HamBehind )?
( ( contactbody ) => contactbody )?
//
{ #locationarm = #([LOCTNARM,"locationarm"], #locationarm); }
; |
void |
locationbody()
locationbody
:
levelcomplexbody
( HamBehind )?
( ( contactbody ) => contactbody )?
//
{ #locationbody = #([LOCTNBODY,"locationbody"], #locationbody); }
; |
void |
locationbodyarm()
locationbodyarm
:
(
HamNeutralspace !
( HamArmextended )?
|
(
levelbody )
=>
locationbody
|
locationarm
)
{ #locationbodyarm =
#([LOCTNBODYARM,"locationbodyarm"], #locationbodyarm); }
; |
void |
locationhand()
locationhand
:
levelcomplexhand
( (contacthand ) => contacthand )?
//
{ #locationhand = #([LOCTNHAND,"locationhand"], #locationhand); }
; |
void |
locationindexdefine()
locationindexdefine
:
digit
HamCoreftag !
; |
void |
locationindexuse()
locationindexuse
:
digit
HamCorefref !
; |
void |
locbody()
locbody
:
( HamHead
| HamHeadtop
| HamForehead
| HamEyebrows
// | HamEyes #### see below
| HamNose
| HamNostrils
// | HamLips #### see below
| HamTongue
| (
(
HamEyes
| HamLips
| HamTeeth
)
(
HamDoublebent
| HamDoublehooked
)?
)
| HamChin
| HamUnderchin
| HamNeck
| HamShouldertop
| HamShoulders
| HamChest
| HamStomach
| HamBelowstomach
)
{ #locbody = #([LOCBODY,"locbody"], #locbody); }
;
|
void |
lochand()
lochand
:
(
handpart
|
fingerpart
( digit )*
|
///#### 2003-08 New HNS-4-Orientated version:
( digit )+
( fingerpart )?
// was:
// digit
// (
// ( digit )*
// |
// fingerpart
// )
//
)
; |
void |
locsided()
locsided
: HamEar
| HamEarlobe
| HamCheek
;
|
void |
minitialconfig1()
minitialconfig1
:
handconfig1
( location1 )?
//
{ #minitialconfig1 =
#([MICFG1,"minitialconfig1"], #minitialconfig1); }
; |
void |
minitialconfig2()
minitialconfig2
:
(
(
handconfig2 )
=>
handconfig2
(
( location2 )
=>
location2
)?
|
HamParbegin !
handconfig1
(
( HamPlus )
=>
HamPlus
//?? handconfig1
location1
HamParend !
|
location1
HamPlus
//?? handconfig1
( location1 )?
HamParend !
)
)
{ #minitialconfig2 =
#([MICFG2,"minitialconfig2"], #minitialconfig2); }
; |
void |
modifier()
modifier
: HamFast
| HamSlow
| HamTense
| HamRest
| HamHalt
;
|
void |
movementarrow()
movementarrow
: HamMoveu
| HamMoveur
| HamMover
| HamMovedr
| HamMoved
| HamMovedl
| HamMovel
| HamMoveul
| HamMoveol
| HamMoveo
| HamMoveor
| HamMoveil
| HamMovei
| HamMoveir
| HamMoveui
| HamMovedi
| HamMovedo
| HamMoveuo
;
|
void |
movementcircle()
movementcircle
: HamCircleo
| HamCirclei
| HamCircled
| HamCircleu
| HamCirclel
| HamCircler
| HamCircleul
| HamCircledr
| HamCircleur
| HamCircledl
| HamCircleol
| HamCircleir
| HamCircleor
| HamCircleil
| HamCircleui
| HamCircledo
| HamCircledi
| HamCircleuo
;
|
void |
movementcross()
movementcross
: HamMovecross
| HamMovex
;
|
void |
movingrepetition()
movingrepetition
:
HamSeqbegin !
repetition
movementarrow
( size )?
( sizechangenonlinear )?
HamSeqend !
//
{ #movingrepetition =
#([MOVINGREPETITION, "movingrepetition"],
#movingrepetition); }
; |
void |
nmaction1t()
|
void |
nmicunit()
|
void |
nminitialconfig()
nminitialconfig
: (
nmicunit
)+
{ #nminitialconfig =
#([NMICLIST,"nminitialconfig"], #nminitialconfig); }
; |
void |
nondomsign1()
nondomsign1
: HamNondominant
initialconfig1
a1tstar
//
{ #nondomsign1 = #([SIGN1,"sign1"], #nondomsign1); }
; |
void |
palmor()
palmor
: HamPalmu
| HamPalmur
| HamPalmr
| HamPalmdr
| HamPalmd
| HamPalmdl
| HamPalml
| HamPalmul
;
|
void |
palmor1()
|
void |
palmor2()
palmor2
:
(
palmor1
|
splitpalmor2
)
{ #palmor2 = #([PALMOR2,"palmor2"], #palmor2); }
; |
void |
paraction1()
paraction1
:
HamParbegin !
(
action1 )+
HamParend !
//
{ #paraction1 = #([PARACT1,"paract1"], #paraction1); }
; |
void |
paraction1t()
paraction1t
:
HamParbegin !
(
action1t )+
HamParend !
//
{ #paraction1t = #([PARACT1T,"paract1t"], #paraction1t); }
; |
void |
paraction2t()
paraction2t
: HamParbegin !
(
action2t )+
HamParend !
//
{ #paraction2t = #([PARACT2T,"paract2t"], #paraction2t); }
; |
void |
pcontact()
pcontact
: HamTouch
| HamClose
;
|
void |
reccautiousfingerlist()
reccautiousfingerlist // recursive cautious finger list
:
(
(
hsfingeritem digit )
=>
hsfingeritem
reccautiousfingerlist
)?
; |
void |
recfingercrossinglist()
recfingercrossinglist // recursive fingercrossinglist
:
(
(
fingercrossing )
=>
fingercrossing
recfingercrossinglist
)?
; |
void |
recfingerlist()
|
void |
recfingershapelist()
recfingershapelist // recursive fingershapelist
:
(
(
fingershape )
=>
fingershape
recfingershapelist
)?
; |
void |
repetition()
repetition
: HamRepeatfromstart
| HamRepeatfromstartseveral
| HamRepeatcontinue
| HamRepeatcontinueseveral
| HamRepeatreverse
;
|
void |
repetitions()
repetitions
:
// 2011-03
// Allow HamEtc after HamRepeatfromstartseveral, for
// "underspecified"/approximate repeat locations.
|
void |
repetitionsoption()
repetitionsoption
:
(
( ( HamSeqbegin )?
repetition | HamAlternatingmotion )
=>
repetitions
)?
; |
void |
replacement()
replacement
: HamReplace !
//#### 2011-03: now allow HNS4 sizechange, to control staged order of change.
|
void |
replacetail1()
|
void |
reportError(antlr.RecognitionException ex)
Reports the parsing error defined by the given exception: an error
message is appended to the overall error text for this parse, and
a message is also generated immediately on standard output
if the parser's
Immediate Error Reportingflag is set. |
void |
revolutions()
|
void |
seqaction1()
seqaction1
:
HamSeqbegin !
(
action1 )+
HamSeqend !
//
{ #seqaction1 = #([SEQACT1,"seqact1"], #seqaction1); }
; |
void |
seqaction1t()
seqaction1t
:
HamSeqbegin !
(
action1t )+
HamSeqend !
//
{ #seqaction1t = #([SEQACT1T,"seqact1t"], #seqaction1t); }
; |
void |
seqaction2t()
seqaction2t
: HamSeqbegin !
(
action2t )+
HamSeqend !
//
{ #seqaction2t = #([SEQACT2T,"seqact2t"], #seqaction2t); }
; |
void |
seqfusedaction1()
seqfusedaction1
:
HamFusionbegin !
(
action1 )+
HamFusionend !
//
{ #seqfusedaction1 =
#([SEQFUSEDACT1,"seqfusedaction1"], #seqfusedaction1); }
; |
void |
seqfusedaction1t()
seqfusedaction1t
:
HamFusionbegin !
(
action1t )+
HamFusionend !
//
{ #seqfusedaction1t =
#([SEQFUSEDACT1T,"seqfusedaction1t"],
#seqfusedaction1t); }
; |
void |
seqfusedaction2t()
seqfusedaction2t
: HamFusionbegin !
(
action2t )+
HamFusionend !
//
{ #seqfusedaction2t =
#([SEQFUSEDACT2T,"seqfusedaction2t"],
#seqfusedaction2t); }
; |
void |
side()
side
: HamLrbeside
| HamLrat
;
|
void |
sign2()
sign2
:
(
symmoperator
initialconfig2
a2tstar
|
initialconfig2
a1tstar
|
//#### 2004-06
// Extra option to support SiGML |
void |
sign2or1()
|
void |
simplemovement()
simplemovement
:
(
straightmovement
( size )?
(
arckind
|
zigzag
)?
|
circularmovement
( size )?
( revolutions )?
( ellipse )?
( sizechangenonlinear )?
|
movementcross
( size )?
|
wristmovement
( size )?
|
replacement
|
HamFingerplay
// 2011-04
// The more complex form of fingerplay logically goes here,
// but to simplify the lookahead in action1 that form is factored
// out as a separate nonterminal, specialfingerplaymovement, below. |
void |
size()
size
: HamSmallmod
| HamLargemod
;
|
void |
sizechange()
sizechange
: HamIncreasing
| HamDecreasing
;
|
void |
sizechangenonlinear()
sizechangenonlinear
:
sizechange
( size )?
; |
void |
specialfingerplaymovement()
specialfingerplaymovement
:
// 2011-04
// Logically this is one of the alternatives in simplemovement, but it
// is factored out in order to simplify the lookahead in action1.
|
void |
splitaction2loc2()
|
void |
splitaction2t()
|
void |
splitextfidir2()
|
void |
splithandconfig2()
splithandconfig2
: HamParbegin !
handconfig1
HamPlus !
handconfig1
HamParend !
//
{ #splithandconfig2 =
#([SPLITHDCFG2,"splithdcfg2"], #splithandconfig2); }
; |
void |
splitpalmor2()
|
void |
splitreplacetail()
splitreplacetail
: HamParbegin !
replacetail1
HamPlus !
(
HamNomotion !
|
replacetail1
)
HamParend !
//
{ #splitreplacetail =
#([SPLITREPLACETL,"splitreplacetail"],
#splitreplacetail); }
; |
void |
straightmovement()
straightmovement
:
movementarrow
(
HamBetween !
movementarrow
)?
{ #straightmovement =
#([STRGHTMVMT,"strghtmvmt"], #straightmovement); }
; |
void |
symmoperator()
symmoperator
: (
HamSymmpar
|
HamSymmlr
)
(
HamFingerstraightmod
( HamLargemod )?
|
HamLargemod
( HamFingerstraightmod )?
)?
( HamAlternatingmotion )?
( HamNonipsi )?
;
|
void |
thumb()
thumb
: HamThumb
;
|
void |
thumbbetween()
thumbbetween
:
thumbbetweenexplicit
| thumbbetweendefault
; |
void |
thumbbetweendefault()
thumbbetweendefault
: HamBetween
//
{ #thumbbetweendefault =
#([THSPECIAL,"thumbspecial"], #thumbbetweendefault); }
;
|
void |
thumbbetweenexplicit()
|
void |
thumbextra()
thumbextra
:
(
thumb
|
fingerpart
)
{ #thumbextra = #([THSPECIAL,"thumbspecial"], #thumbextra); }
; |
void |
thumbpos()
thumbpos
:
( HamThumboutmod
| HamThumbacrossmod
| HamThumbopenmod
)
{ #thumbpos = #([THUMBPOS,"thumbpos"], #thumbpos); }
;
|
void |
thumbspecial()
thumbspecial
:
thumbbetween
| thumbextra
; |
void |
wristmovement()
wristmovement
: HamNodding
| HamSwinging
| HamTwisting
| HamStircw
| HamStirccw
;
|
void |
zigzag()
|
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
public static final java.lang.String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_12
public static final antlr.collections.impl.BitSet _tokenSet_13
public static final antlr.collections.impl.BitSet _tokenSet_14
public static final antlr.collections.impl.BitSet _tokenSet_15
public static final antlr.collections.impl.BitSet _tokenSet_16
public static final antlr.collections.impl.BitSet _tokenSet_17
public static final antlr.collections.impl.BitSet _tokenSet_18
public static final antlr.collections.impl.BitSet _tokenSet_19
public static final antlr.collections.impl.BitSet _tokenSet_20
public static final antlr.collections.impl.BitSet _tokenSet_21
public static final antlr.collections.impl.BitSet _tokenSet_22
public static final antlr.collections.impl.BitSet _tokenSet_23
public static final antlr.collections.impl.BitSet _tokenSet_24
public static final antlr.collections.impl.BitSet _tokenSet_25
public static final antlr.collections.impl.BitSet _tokenSet_26
public static final antlr.collections.impl.BitSet _tokenSet_27
public static final antlr.collections.impl.BitSet _tokenSet_28
public static final antlr.collections.impl.BitSet _tokenSet_29
public static final antlr.collections.impl.BitSet _tokenSet_30
public static final antlr.collections.impl.BitSet _tokenSet_31
public static final antlr.collections.impl.BitSet _tokenSet_32
public static final antlr.collections.impl.BitSet _tokenSet_33
public static final antlr.collections.impl.BitSet _tokenSet_34
public static final antlr.collections.impl.BitSet _tokenSet_35
public static final antlr.collections.impl.BitSet _tokenSet_36
public static final antlr.collections.impl.BitSet _tokenSet_37
public static final antlr.collections.impl.BitSet _tokenSet_38
public static final antlr.collections.impl.BitSet _tokenSet_39
public static final antlr.collections.impl.BitSet _tokenSet_40
public static final antlr.collections.impl.BitSet _tokenSet_41
public static final antlr.collections.impl.BitSet _tokenSet_42
public static final antlr.collections.impl.BitSet _tokenSet_43
public static final antlr.collections.impl.BitSet _tokenSet_44
public static final antlr.collections.impl.BitSet _tokenSet_45
public static final antlr.collections.impl.BitSet _tokenSet_46
public static final antlr.collections.impl.BitSet _tokenSet_47
public static final antlr.collections.impl.BitSet _tokenSet_48
public static final antlr.collections.impl.BitSet _tokenSet_49
public static final antlr.collections.impl.BitSet _tokenSet_50
public static final antlr.collections.impl.BitSet _tokenSet_51
public static final antlr.collections.impl.BitSet _tokenSet_52
public static final antlr.collections.impl.BitSet _tokenSet_53
public static final antlr.collections.impl.BitSet _tokenSet_54
public static final antlr.collections.impl.BitSet _tokenSet_55
public static final antlr.collections.impl.BitSet _tokenSet_56
public static final antlr.collections.impl.BitSet _tokenSet_57
public static final antlr.collections.impl.BitSet _tokenSet_58
public static final antlr.collections.impl.BitSet _tokenSet_59
public static final antlr.collections.impl.BitSet _tokenSet_60
public static final antlr.collections.impl.BitSet _tokenSet_61
public static final antlr.collections.impl.BitSet _tokenSet_62
public static final antlr.collections.impl.BitSet _tokenSet_63
public static final antlr.collections.impl.BitSet _tokenSet_64
public static final antlr.collections.impl.BitSet _tokenSet_65
public static final antlr.collections.impl.BitSet _tokenSet_66
public static final antlr.collections.impl.BitSet _tokenSet_67
public static final antlr.collections.impl.BitSet _tokenSet_68
public static final antlr.collections.impl.BitSet _tokenSet_69
public Ham4Parser(antlr.TokenStream lexer, boolean erimmed)
Immediate Error Reportingflag.
public Ham4Parser(antlr.TokenBuffer tokenBuf)
public Ham4Parser(antlr.TokenStream lexer)
public Ham4Parser(antlr.ParserSharedInputState state)
public void checkForParseError() throws antlr.RecognitionException
RecognitionException
is thrown whose detail message
is a complete parsing error log.antlr.RecognitionException
public void reportError(antlr.RecognitionException ex)
Immediate Error Reportingflag is set.
reportError
in class antlr.Parser
public final void hamsinglesign() throws antlr.RecognitionException, antlr.TokenStreamException
hamsinglesign
: hamsignseq
EOF !
;
antlr.RecognitionException
antlr.TokenStreamException
public final void hamsignseq() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void sign2or1() throws antlr.RecognitionException, antlr.TokenStreamException
sign2or1 : ( HamNondominantinitialconfig1
) =>nondomsign1
|sign2
;
antlr.RecognitionException
antlr.TokenStreamException
public final void initialconfig1() throws antlr.RecognitionException, antlr.TokenStreamException
initialconfig1 : (nminitialconfig
)?minitialconfig1
// { #initialconfig1 = #([ICFG1,"initialconfig1"], #initialconfig1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void nondomsign1() throws antlr.RecognitionException, antlr.TokenStreamException
nondomsign1 : HamNondominantinitialconfig1
a1tstar
// { #nondomsign1 = #([SIGN1,"sign1"], #nondomsign1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void sign2() throws antlr.RecognitionException, antlr.TokenStreamException
sign2 : (symmoperator
initialconfig2
a2tstar
|initialconfig2
a1tstar
| //#### 2004-06 // Extra option to support SiGML's "holdover" // attribute, specifying that the non-performing hand in an // otherwise single-handed sign is to retain its posture (from // the end of the previous sign or rest position) throughout // this sign. // ( HamNomotion HamNondominant initialconfig1
) => HamNomotion HamNondominantinitialconfig1
a1tstar
| HamNomotioninitialconfig1
a1tstar
) { #sign2 = #([SIGN2,"sign2"], #sign2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void symmoperator() throws antlr.RecognitionException, antlr.TokenStreamException
symmoperator : ( HamSymmpar | HamSymmlr ) ( HamFingerstraightmod ( HamLargemod )? | HamLargemod ( HamFingerstraightmod )? )? ( HamAlternatingmotion )? ( HamNonipsi )? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void initialconfig2() throws antlr.RecognitionException, antlr.TokenStreamException
initialconfig2 : (nminitialconfig
)?minitialconfig2
// { #initialconfig2 = #([ICFG2,"initialconfig2"], #initialconfig2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void a2tstar() throws antlr.RecognitionException, antlr.TokenStreamException
a2tstar
: a2tlist
//
{ #a2tstar = #([A2TLIST,"a2tstar"], #a2tstar); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void a1tstar() throws antlr.RecognitionException, antlr.TokenStreamException
a1tstar
: a1tlist
//
{ #a1tstar = #([A1TLIST,"a1tstar"], #a1tstar); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void nminitialconfig() throws antlr.RecognitionException, antlr.TokenStreamException
nminitialconfig
: (
nmicunit
)+
{ #nminitialconfig =
#([NMICLIST,"nminitialconfig"], #nminitialconfig); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void minitialconfig2() throws antlr.RecognitionException, antlr.TokenStreamException
minitialconfig2 : ( (handconfig2
) =>handconfig2
( (location2
) =>location2
)? | HamParbegin !handconfig1
( ( HamPlus ) => HamPlus //?? handconfig1location1
HamParend ! |location1
HamPlus //?? handconfig1 (location1
)? HamParend ! ) ) { #minitialconfig2 = #([MICFG2,"minitialconfig2"], #minitialconfig2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void minitialconfig1() throws antlr.RecognitionException, antlr.TokenStreamException
minitialconfig1 :handconfig1
(location1
)? // { #minitialconfig1 = #([MICFG1,"minitialconfig1"], #minitialconfig1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void nmicunit() throws antlr.RecognitionException, antlr.TokenStreamException
nmicunit : HamSeqbegin ! ( (levelbody
) =>levelbody
|levelarm
)action1
HamSeqend ! // { #nmicunit = #([NMICUNIT,"nmicunit"], #nmicunit); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void levelbody() throws antlr.RecognitionException, antlr.TokenStreamException
levelbody : ( // 2011-03 // Allow HamEtc for "underspecified"/approximate.locbody
( HamEtc )? (side
)? |locsided
( HamEtc )? (side
)? |side
(locbody
( HamEtc )? |locsided
( HamEtc )? ) ) { #levelbody = #([LEVBODY,"levelbody"], #levelbody); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void levelarm() throws antlr.RecognitionException, antlr.TokenStreamException
levelarm : ( // 2011-03 // Allow HamEtc for "underspecified"/approximate.locarm
( HamEtc )? (dorsalorpalmar
)? (side
)? |side
locarm
( HamEtc )? (dorsalorpalmar
)? ) { #levelarm = #([LEVARM,"levelarm"], #levelarm); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void action1() throws antlr.RecognitionException, antlr.TokenStreamException
action1 : ( HamNomotion |simplemovement
( (modifier
)+ ( HamLargemod )? )? | ( HamSeqbegindigit
) =>specialfingerplaymovement
|paraction1
|seqaction1
|seqfusedaction1
) { #action1 = #([ACTION1,"action1"], #action1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handconfig2() throws antlr.RecognitionException, antlr.TokenStreamException
handconfig2 : ( (handshape2
( HamParbegin )?extfidir1
) =>handshape2
handconfigtail2
| (handshape2
) =>handshape2
|splithandconfig2
) //#### before 2003-08-30: // ( // ( handconfig1 ) // => // handconfig1 // | // ( HamParbegin handshape1 HamPlus ) // => // handshape2 // handconfigtail2 // | // ( handshape1 ( HamParbegin )? extfidir1 ) // => // handshape2 // handconfigtail2 // | // abbrevhandconfig1 // | // splithandconfig2 // ) // { #handconfig2 = #([HDCONFIG2,"handconfig2"], #handconfig2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void location2() throws antlr.RecognitionException, antlr.TokenStreamException
location2 : (location1as2
|location2not1
) ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handconfig1() throws antlr.RecognitionException, antlr.TokenStreamException
handconfig1 :handshape1
(extfidir1
palmor1
)? // { #handconfig1 = #([HDCONFIG1,"handconfig1"], #handconfig1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void location1() throws antlr.RecognitionException, antlr.TokenStreamException
location1 : ( (locationindexuse
) //#### 2003-08 =>locationindexuse
| (levelhand
) =>locationhand
|locationbodyarm
) { #location1 = #([LOC1,"location1"], #location1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handshape2() throws antlr.RecognitionException, antlr.TokenStreamException
handshape2 : (handshape1
| HamParbegin !handshape1
HamPlus !handshape1
HamParend ! ) { #handshape2 = #([HSHAPE2,"handshape2"], #handshape2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void extfidir1() throws antlr.RecognitionException, antlr.TokenStreamException
extfidir1 :extfidir
( HamBetween !extfidir
)? ( HamOrirelative )? { #extfidir1 = #([EXTFIDIR1,"extfidir1"], #extfidir1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handconfigtail2() throws antlr.RecognitionException, antlr.TokenStreamException
handconfigtail2 : ( (extfidir2
) =>extfidir2
palmor2
| HamParbegin !extfidir1
palmor1
HamPlus !extfidir1
palmor1
HamParend ! ) { #handconfigtail2 = #([HDCFGTAIL2,"hdcfgtail2"], #handconfigtail2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void splithandconfig2() throws antlr.RecognitionException, antlr.TokenStreamException
splithandconfig2 : HamParbegin !handconfig1
HamPlus !handconfig1
HamParend ! // { #splithandconfig2 = #([SPLITHDCFG2,"splithdcfg2"], #splithandconfig2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handshape1() throws antlr.RecognitionException, antlr.TokenStreamException
handshape1 :basichandshape1
( ( (hsfingeritem
)+ HamBetweenfinger
) =>cautiousfingerlist
fingershapelist
fingercrossinglist
thumbbetweenexplicit
| ( (hsdigit
)* (fingerbending
|fingerpart
) ) =>cautiousfingerlist
fingershapelist
fingercrossinglist
( (thumbspecial
) =>thumbspecial
)? | ( (hsfingeritem
)* (thumbbetweendefault
|thumbextra
) ) =>fingerlist
fingershapelist
fingercrossinglist
(thumbbetweendefault
|thumbextra
) |fingerlist
fingershapelist
fingercrossinglist
) { #handshape1 = #([HSHAPE1,"handshape1"], #handshape1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void palmor1() throws antlr.RecognitionException, antlr.TokenStreamException
palmor1 :palmor
( HamBetween !palmor
// 2011-04 // Added HamEtc option for "underspecified"/approximate. | HamEtc )? ( HamOrirelative )? { #palmor1 = #([PALMOR1,"palmor1"], #palmor1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void extfidir2() throws antlr.RecognitionException, antlr.TokenStreamException
extfidir2 : (extfidir1
|splitextfidir2
) { #extfidir2 = #([EXTFIDIR2,"extfidir2"], #extfidir2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void palmor2() throws antlr.RecognitionException, antlr.TokenStreamException
palmor2 : (palmor1
|splitpalmor2
) { #palmor2 = #([PALMOR2,"palmor2"], #palmor2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void basichandshape1() throws antlr.RecognitionException, antlr.TokenStreamException
basichandshape1 :basichandshape
( ( HamBetweenhandshapeclass
) //#### 2003-08 => HamBetween !basichandshape
)? { #basichandshape1 = #([BASICHDSHP1,"basichandshape1"], #basichandshape1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void hsfingeritem() throws antlr.RecognitionException, antlr.TokenStreamException
hsfingeritem //#### HNS-4
: finger
( HamLargemod )?
//
{ #hsfingeritem =
#([HSFINGERITEM,"hsfingeritem"], #hsfingeritem); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void finger() throws antlr.RecognitionException, antlr.TokenStreamException
finger : HamIndexfinger | HamMiddlefinger | HamRingfinger | HamPinky ;
antlr.RecognitionException
antlr.TokenStreamException
public final void cautiousfingerlist() throws antlr.RecognitionException, antlr.TokenStreamException
cautiousfingerlist
: reccautiousfingerlist
//
{ #cautiousfingerlist =
#([FINGERLIST,"fingerlist"], #cautiousfingerlist); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void fingershapelist() throws antlr.RecognitionException, antlr.TokenStreamException
fingershapelist
: recfingershapelist
//
{ #fingershapelist =
#([FISHPLIST,"fingershapelist"], #fingershapelist); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void fingercrossinglist() throws antlr.RecognitionException, antlr.TokenStreamException
fingercrossinglist
: recfingercrossinglist
//
{ #fingercrossinglist =
#([FICRSSLIST,"fingercrossinglist"],
#fingercrossinglist); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void thumbbetweenexplicit() throws antlr.RecognitionException, antlr.TokenStreamException
thumbbetweenexplicit :finger
HamBetween ^finger
// { #thumbbetweenexplicit = #([THSPECIAL,"thumbspecial"], #thumbbetweenexplicit); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void hsdigit() throws antlr.RecognitionException, antlr.TokenStreamException
hsdigit //#### HNS-4 :thumb
|hsfingeritem
;
antlr.RecognitionException
antlr.TokenStreamException
public final void fingerbending() throws antlr.RecognitionException, antlr.TokenStreamException
fingerbending : ( HamFingerstraightmod | HamFingerbendmod | HamFingerhookedmod | HamDoublebent | HamDoublehooked ) { #fingerbending = #([FIBENDING,"fingerbending"], #fingerbending); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void fingerpart() throws antlr.RecognitionException, antlr.TokenStreamException
fingerpart : HamFingertip | HamFingernail | HamFingerpad | HamFingermidjoint | HamFingerbase | HamFingerside ;
antlr.RecognitionException
antlr.TokenStreamException
public final void thumbspecial() throws antlr.RecognitionException, antlr.TokenStreamException
thumbspecial :thumbbetween
|thumbextra
;
antlr.RecognitionException
antlr.TokenStreamException
public final void thumbbetweendefault() throws antlr.RecognitionException, antlr.TokenStreamException
thumbbetweendefault : HamBetween // { #thumbbetweendefault = #([THSPECIAL,"thumbspecial"], #thumbbetweendefault); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void thumbextra() throws antlr.RecognitionException, antlr.TokenStreamException
thumbextra : (thumb
|fingerpart
) { #thumbextra = #([THSPECIAL,"thumbspecial"], #thumbextra); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void fingerlist() throws antlr.RecognitionException, antlr.TokenStreamException
fingerlist
: recfingerlist
//
{ #fingerlist =
#([FINGERLIST,"fingerlist"], #fingerlist); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void basichandshape() throws antlr.RecognitionException, antlr.TokenStreamException
basichandshape : (handshapeclass
| HamNondominant ) // 2011-03 // Allow HamEtc for "underspecified"/approximate. ( HamEtc )?handbendandthumb
// { #basichandshape = #([BASICHDSHP,"basichandshape"], #basichandshape); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handshapeclass() throws antlr.RecognitionException, antlr.TokenStreamException
handshapeclass : ( HamFist | HamFlathand | HamFinger2 | HamFinger23 | HamFinger23spread | HamFinger2345 | HamPinch12 | HamPinchall | HamPinch12open | HamCee12 | HamCeeall | HamCee12open ) { #handshapeclass = #([HSCLASS,"handshapeclass"], #handshapeclass); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handbendandthumb() throws antlr.RecognitionException, antlr.TokenStreamException
handbendandthumb : // empty |thumbpos
(fingerbending
)? |fingerbending
(thumbpos
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void thumbpos() throws antlr.RecognitionException, antlr.TokenStreamException
thumbpos : ( HamThumboutmod | HamThumbacrossmod | HamThumbopenmod ) { #thumbpos = #([THUMBPOS,"thumbpos"], #thumbpos); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void recfingerlist() throws antlr.RecognitionException, antlr.TokenStreamException
recfingerlist // recursive finger list : ( (hsfingeritem
) =>hsfingeritem
recfingerlist
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void reccautiousfingerlist() throws antlr.RecognitionException, antlr.TokenStreamException
reccautiousfingerlist // recursive cautious finger list : ( (hsfingeritem
digit
) =>hsfingeritem
reccautiousfingerlist
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void digit() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void recfingershapelist() throws antlr.RecognitionException, antlr.TokenStreamException
recfingershapelist // recursive fingershapelist : ( (fingershape
) =>fingershape
recfingershapelist
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void fingershape() throws antlr.RecognitionException, antlr.TokenStreamException
fingershape :digit
fingerbending
// { #fingershape = #([FSHAPE,"fingershape"], #fingershape); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void recfingercrossinglist() throws antlr.RecognitionException, antlr.TokenStreamException
recfingercrossinglist // recursive fingercrossinglist : ( (fingercrossing
) =>fingercrossing
recfingercrossinglist
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void fingercrossing() throws antlr.RecognitionException, antlr.TokenStreamException
fingercrossing :digit
fingerpart
digit
// { #fingercrossing = #([FCROSSING,"fingercrossing"], #fingercrossing); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void thumb() throws antlr.RecognitionException, antlr.TokenStreamException
thumb : HamThumb ;
antlr.RecognitionException
antlr.TokenStreamException
public final void thumbbetween() throws antlr.RecognitionException, antlr.TokenStreamException
thumbbetween :thumbbetweenexplicit
|thumbbetweendefault
;
antlr.RecognitionException
antlr.TokenStreamException
public final void splitextfidir2() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void extfidir() throws antlr.RecognitionException, antlr.TokenStreamException
extfidir : ( HamExtfingeru | HamExtfingerur | HamExtfingerr | HamExtfingerdr | HamExtfingerd | HamExtfingerdl | HamExtfingerl | HamExtfingerul | ( HamExtfingerol ( HamExtfingeruo | HamExtfingerdo )? ) | HamExtfingero | ( HamExtfingeror ( HamExtfingeruo | HamExtfingerdo )? ) | ( HamExtfingeril ( HamExtfingerui | HamExtfingerdi )? ) | HamExtfingeri | ( HamExtfingerir ( HamExtfingerui | HamExtfingerdi )? ) | ( HamExtfingerui ( HamExtfingeril | HamExtfingerir )? ) | ( HamExtfingerdi ( HamExtfingeril | HamExtfingerir )? ) | ( HamExtfingerdo ( HamExtfingerol | HamExtfingeror )? ) | ( HamExtfingeruo ( HamExtfingerol | HamExtfingeror )? ) ) { #extfidir = #([EXTFIDIR,"extfidir"], #extfidir); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void splitpalmor2() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void palmor() throws antlr.RecognitionException, antlr.TokenStreamException
palmor : HamPalmu | HamPalmur | HamPalmr | HamPalmdr | HamPalmd | HamPalmdl | HamPalml | HamPalmul ;
antlr.RecognitionException
antlr.TokenStreamException
public final void location1as2() throws antlr.RecognitionException, antlr.TokenStreamException
location1as2
: location1
{ #location1as2 = #([LOC2,"location1as2"], #location1as2); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void location2not1() throws antlr.RecognitionException, antlr.TokenStreamException
location2not1 : ( (handconstellation
) =>handconstellation
( HamNeutralspace ! ( HamArmextended )? | (locationbody
)? // //2001-07-05 //If we replace the above option with the following, i.e. if we //allow a split locationbody as well as a single one, we can //parse the KOHLE-WALLACH example in the test file // ( // ( HamParbegin locationbody ) // => // HamParbegin ! // locationbody // HamPlus ! // locationbody // HamParend ! // | // locationbody // )? // ) | HamParbegin !location1
HamPlus !location1
HamParend ! ) { #location2not1 = #([LOC2,"location2not1"], #location2not1); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void handconstellation() throws antlr.RecognitionException, antlr.TokenStreamException
handconstellation : ( HamParbegin !locationhand
HamPlus !locationhand
HamParend ! )?contacthand
// { #handconstellation = #([HCONSTLLN,"handconstellation"], #handconstellation); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void locationbody() throws antlr.RecognitionException, antlr.TokenStreamException
locationbody :levelcomplexbody
( HamBehind )? ( (contactbody
) =>contactbody
)? // { #locationbody = #([LOCTNBODY,"locationbody"], #locationbody); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void locationindexuse() throws antlr.RecognitionException, antlr.TokenStreamException
locationindexuse
:
digit
HamCorefref !
;
antlr.RecognitionException
antlr.TokenStreamException
public final void levelhand() throws antlr.RecognitionException, antlr.TokenStreamException
levelhand : (lochand
(dorsalorpalmar
)? (side
) => (side
)? |side
lochand
(dorsalorpalmar
)? ) { #levelhand = #([LEVHAND,"levelhand"], #levelhand); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void locationhand() throws antlr.RecognitionException, antlr.TokenStreamException
locationhand :levelcomplexhand
( (contacthand
) =>contacthand
)? // { #locationhand = #([LOCTNHAND,"locationhand"], #locationhand); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void locationbodyarm() throws antlr.RecognitionException, antlr.TokenStreamException
locationbodyarm : ( HamNeutralspace ! ( HamArmextended )? | (levelbody
) =>locationbody
|locationarm
) { #locationbodyarm = #([LOCTNBODYARM,"locationbodyarm"], #locationbodyarm); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void locationindexdefine() throws antlr.RecognitionException, antlr.TokenStreamException
locationindexdefine
:
digit
HamCoreftag !
;
antlr.RecognitionException
antlr.TokenStreamException
public final void locationarm() throws antlr.RecognitionException, antlr.TokenStreamException
locationarm :levelcomplexarm
( HamBehind )? ( (contactbody
) =>contactbody
)? // { #locationarm = #([LOCTNARM,"locationarm"], #locationarm); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void levelcomplexbody() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void contactbody() throws antlr.RecognitionException, antlr.TokenStreamException
contactbody : (pcontact
| HamArmextended |contactofhand
) { #contactbody = #([CNTCTBODY,"contactbody"], #contactbody); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void levelcomplexhand() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void contacthand() throws antlr.RecognitionException, antlr.TokenStreamException
contacthand : (pcontact
|ccontact
|contactofhand
) { #contacthand = #([CNTCTHAND,"contacthand"], #contacthand); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void levelcomplexarm() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void locbody() throws antlr.RecognitionException, antlr.TokenStreamException
locbody : ( HamHead | HamHeadtop | HamForehead | HamEyebrows // | HamEyes #### see below | HamNose | HamNostrils // | HamLips #### see below | HamTongue | ( ( HamEyes | HamLips | HamTeeth ) ( HamDoublebent | HamDoublehooked )? ) | HamChin | HamUnderchin | HamNeck | HamShouldertop | HamShoulders | HamChest | HamStomach | HamBelowstomach ) { #locbody = #([LOCBODY,"locbody"], #locbody); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void side() throws antlr.RecognitionException, antlr.TokenStreamException
side : HamLrbeside | HamLrat ;
antlr.RecognitionException
antlr.TokenStreamException
public final void locsided() throws antlr.RecognitionException, antlr.TokenStreamException
locsided : HamEar | HamEarlobe | HamCheek ;
antlr.RecognitionException
antlr.TokenStreamException
public final void lochand() throws antlr.RecognitionException, antlr.TokenStreamException
lochand : (handpart
|fingerpart
(digit
)* | ///#### 2003-08 New HNS-4-Orientated version: (digit
)+ (fingerpart
)? // was: // digit // ( // ( digit )* // | // fingerpart // ) // ) ;
antlr.RecognitionException
antlr.TokenStreamException
public final void dorsalorpalmar() throws antlr.RecognitionException, antlr.TokenStreamException
dorsalorpalmar : HamHandback | HamPalm ;
antlr.RecognitionException
antlr.TokenStreamException
public final void locarm() throws antlr.RecognitionException, antlr.TokenStreamException
locarm : HamUpperarm | HamElbow | HamElbowinside | HamLowerarm ;
antlr.RecognitionException
antlr.TokenStreamException
public final void pcontact() throws antlr.RecognitionException, antlr.TokenStreamException
pcontact : HamTouch | HamClose ;
antlr.RecognitionException
antlr.TokenStreamException
public final void contactofhand() throws antlr.RecognitionException, antlr.TokenStreamException
contactofhand : HamSeqbegin ! (pcontact
|ccontact
) ( (levelhand
) =>contactohhand
|contactoharm
) HamSeqend ! // { #contactofhand = #([CNTCTOFHAND,"contactofhand"], #contactofhand); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void ccontact() throws antlr.RecognitionException, antlr.TokenStreamException
ccontact : HamInterlock | HamCross ;
antlr.RecognitionException
antlr.TokenStreamException
public final void contactohhand() throws antlr.RecognitionException, antlr.TokenStreamException
contactohhand
: levelcomplexhand
//
{ #contactohhand =
#([CNTCTOHHAND,"contactohhand"], #contactohhand); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void contactoharm() throws antlr.RecognitionException, antlr.TokenStreamException
contactoharm
: levelcomplexarm
//
{ #contactoharm =
#([CNTCTOHARM,"contactoharm"], #contactoharm); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void handpart() throws antlr.RecognitionException, antlr.TokenStreamException
handpart : HamWristback | HamWristpulse | HamThumbball | HamPalm | HamHandback | HamThumbside | HamPinkyside ;
antlr.RecognitionException
antlr.TokenStreamException
public final void a2tlist() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void a1tlist() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void action2t() throws antlr.RecognitionException, antlr.TokenStreamException
action2t : ( (action1
location2not1
) =>action1
location2not1
repetitionsoption
| (action1t
) =>action1t
| ( ( HamParbegin (action1
)+ HamPlus (action1
)+ HamParendlocation2
) =>splitaction2loc2
| ( HamParbegin (action1t
)+ HamPlus ) =>splitaction2t
|paraction2t
|seqaction2t
|seqfusedaction2t
)repetitionsoption
) { #action2t = #([ACTION2T,"action2t"], #action2t); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void action1t() throws antlr.RecognitionException, antlr.TokenStreamException
action1t : ( (action1
) => (action1
( (handconstellation
) =>handconstellation
|location1
( HamLargemod )? )? ) |paraction1t
| (nmaction1t
) //#### 2003-08 =>nmaction1t
|seqaction1t
|seqfusedaction1t
)repetitionsoption
// { #action1t = #([ACTION1T,"action1t"], #action1t); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void repetitionsoption() throws antlr.RecognitionException, antlr.TokenStreamException
repetitionsoption : ( ( ( HamSeqbegin )?repetition
| HamAlternatingmotion ) =>repetitions
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void splitaction2loc2() throws antlr.RecognitionException, antlr.TokenStreamException
splitaction2loc2 : HamParbegin ! (action1
)+ HamPlus (action1
)+ HamParend !location2
// { #splitaction2loc2 = #([SPLITACT2LOC2,"splitact2loc2"], #splitaction2loc2); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void splitaction2t() throws antlr.RecognitionException, antlr.TokenStreamException
splitaction2t : HamParbegin ! (action1t
)+ HamPlus (action1t
)+ HamParend ! // { #splitaction2t = #([SPLITACT2T,"splitact2t"], #splitaction2t); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void paraction2t() throws antlr.RecognitionException, antlr.TokenStreamException
paraction2t
: HamParbegin !
( action2t
)+
HamParend !
//
{ #paraction2t = #([PARACT2T,"paract2t"], #paraction2t); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void seqaction2t() throws antlr.RecognitionException, antlr.TokenStreamException
seqaction2t
: HamSeqbegin !
( action2t
)+
HamSeqend !
//
{ #seqaction2t = #([SEQACT2T,"seqact2t"], #seqaction2t); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void seqfusedaction2t() throws antlr.RecognitionException, antlr.TokenStreamException
seqfusedaction2t
: HamFusionbegin !
( action2t
)+
HamFusionend !
//
{ #seqfusedaction2t =
#([SEQFUSEDACT2T,"seqfusedaction2t"],
#seqfusedaction2t); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void paraction1t() throws antlr.RecognitionException, antlr.TokenStreamException
paraction1t
:
HamParbegin !
( action1t
)+
HamParend !
//
{ #paraction1t = #([PARACT1T,"paract1t"], #paraction1t); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void nmaction1t() throws antlr.RecognitionException, antlr.TokenStreamException
nmaction1t : HamSeqbegin ! ( (levelbody
) =>levelbody
|levelarm
) //#### 2007-03:action1t
HamSeqend ! // { #nmaction1t = #([NMACT1T,"nmact1t"], #nmaction1t); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void seqaction1t() throws antlr.RecognitionException, antlr.TokenStreamException
seqaction1t
:
HamSeqbegin !
( action1t
)+
HamSeqend !
//
{ #seqaction1t = #([SEQACT1T,"seqact1t"], #seqaction1t); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void seqfusedaction1t() throws antlr.RecognitionException, antlr.TokenStreamException
seqfusedaction1t
:
HamFusionbegin !
( action1t
)+
HamFusionend !
//
{ #seqfusedaction1t =
#([SEQFUSEDACT1T,"seqfusedaction1t"],
#seqfusedaction1t); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void simplemovement() throws antlr.RecognitionException, antlr.TokenStreamException
simplemovement : (straightmovement
(size
)? (arckind
|zigzag
)? |circularmovement
(size
)? (revolutions
)? (ellipse
)? (sizechangenonlinear
)? |movementcross
(size
)? |wristmovement
(size
)? |replacement
| HamFingerplay // 2011-04 // The more complex form of fingerplay logically goes here, // but to simplify the lookahead in action1 that form is factored // out as a separate nonterminal, specialfingerplaymovement, below. ) ( ( HamSeqbegin HamBrushing ) =>brushingcontact
)? //#### 2003-08 ( (locationindexdefine
) =>locationindexdefine
)? //#### 2003-08 // { #simplemovement = #([SIMPLEMVMT,"simplemovement"], #simplemovement); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void modifier() throws antlr.RecognitionException, antlr.TokenStreamException
modifier : HamFast | HamSlow | HamTense | HamRest | HamHalt ;
antlr.RecognitionException
antlr.TokenStreamException
public final void specialfingerplaymovement() throws antlr.RecognitionException, antlr.TokenStreamException
specialfingerplaymovement
:
// 2011-04
// Logically this is one of the alternatives in simplemovement, but it
// is factored out in order to simplify the lookahead in action1.
// But it therefore returns a SIMPLEMVMT/"simplemovement" AST node,
// rather than using a distinctive node kind of its own.
HamSeqbegin !
( digit
)+
HamFingerplay
HamSeqend !
{ #specialfingerplaymovement =
#([SIMPLEMVMT,"simplemovement"], #specialfingerplaymovement); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void paraction1() throws antlr.RecognitionException, antlr.TokenStreamException
paraction1
:
HamParbegin !
( action1
)+
HamParend !
//
{ #paraction1 = #([PARACT1,"paract1"], #paraction1); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void seqaction1() throws antlr.RecognitionException, antlr.TokenStreamException
seqaction1
:
HamSeqbegin !
( action1
)+
HamSeqend !
//
{ #seqaction1 = #([SEQACT1,"seqact1"], #seqaction1); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void seqfusedaction1() throws antlr.RecognitionException, antlr.TokenStreamException
seqfusedaction1
:
HamFusionbegin !
( action1
)+
HamFusionend !
//
{ #seqfusedaction1 =
#([SEQFUSEDACT1,"seqfusedaction1"], #seqfusedaction1); }
;
antlr.RecognitionException
antlr.TokenStreamException
public final void repetition() throws antlr.RecognitionException, antlr.TokenStreamException
repetition : HamRepeatfromstart | HamRepeatfromstartseveral | HamRepeatcontinue | HamRepeatcontinueseveral | HamRepeatreverse ;
antlr.RecognitionException
antlr.TokenStreamException
public final void repetitions() throws antlr.RecognitionException, antlr.TokenStreamException
repetitions : // 2011-03 // Allow HamEtc after HamRepeatfromstartseveral, for // "underspecified"/approximate repeat locations. ( ( HamSeqbegin HamRepeatfromstartseveral HamEtc ) => HamSeqbegin ! HamRepeatfromstartseveral HamEtcellipsedirection
HamSeqend ! | (repetition
( HamEtc |repetition
)? |movingrepetition
) (sizechangenonlinear
)? ( HamAlternatingmotion ( HamAlternatingmotion )? )? | HamAlternatingmotion ( HamAlternatingmotion )? ) { #repetitions = #([REPETITIONS, "repetitions"], #repetitions); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void ellipsedirection() throws antlr.RecognitionException, antlr.TokenStreamException
ellipsedirection : HamEllipseh | HamEllipseur | HamEllipsev | HamEllipseul ;
antlr.RecognitionException
antlr.TokenStreamException
public final void movingrepetition() throws antlr.RecognitionException, antlr.TokenStreamException
movingrepetition : HamSeqbegin !repetition
movementarrow
(size
)? (sizechangenonlinear
)? HamSeqend ! // { #movingrepetition = #([MOVINGREPETITION, "movingrepetition"], #movingrepetition); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void sizechangenonlinear() throws antlr.RecognitionException, antlr.TokenStreamException
sizechangenonlinear :sizechange
(size
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void alternations() throws antlr.RecognitionException, antlr.TokenStreamException
alternations : HamAlternatingmotion ( HamAlternatingmotion )? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void movementarrow() throws antlr.RecognitionException, antlr.TokenStreamException
movementarrow : HamMoveu | HamMoveur | HamMover | HamMovedr | HamMoved | HamMovedl | HamMovel | HamMoveul | HamMoveol | HamMoveo | HamMoveor | HamMoveil | HamMovei | HamMoveir | HamMoveui | HamMovedi | HamMovedo | HamMoveuo ;
antlr.RecognitionException
antlr.TokenStreamException
public final void size() throws antlr.RecognitionException, antlr.TokenStreamException
size : HamSmallmod | HamLargemod ;
antlr.RecognitionException
antlr.TokenStreamException
public final void straightmovement() throws antlr.RecognitionException, antlr.TokenStreamException
straightmovement :movementarrow
( HamBetween !movementarrow
)? { #straightmovement = #([STRGHTMVMT,"strghtmvmt"], #straightmovement); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void arckind() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void zigzag() throws antlr.RecognitionException, antlr.TokenStreamException
zigzag : ( HamZigzag | HamWavy ) (size
)? (ellipsedirection
)? (sizechangenonlinear
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void circularmovement() throws antlr.RecognitionException, antlr.TokenStreamException
circularmovement :movementcircle
( HamBetween !movementcircle
)? { #circularmovement = #([CRCLRMVMT,"crclrmvmt"], #circularmovement); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void revolutions() throws antlr.RecognitionException, antlr.TokenStreamException
revolutions : (clock
( HamClockfull ( HamClockfull )? )? (clock
)? | HamClockfull ( HamClockfull )? (clock
)? ) ;
antlr.RecognitionException
antlr.TokenStreamException
public final void ellipse() throws antlr.RecognitionException, antlr.TokenStreamException
ellipse :ellipsedirection
(size
)? ;
antlr.RecognitionException
antlr.TokenStreamException
public final void movementcross() throws antlr.RecognitionException, antlr.TokenStreamException
movementcross : HamMovecross | HamMovex ;
antlr.RecognitionException
antlr.TokenStreamException
public final void wristmovement() throws antlr.RecognitionException, antlr.TokenStreamException
wristmovement : HamNodding | HamSwinging | HamTwisting | HamStircw | HamStirccw ;
antlr.RecognitionException
antlr.TokenStreamException
public final void replacement() throws antlr.RecognitionException, antlr.TokenStreamException
replacement : HamReplace ! //#### 2011-03: now allow HNS4 sizechange, to control staged order of change. (sizechange
)? (handshape1
( (splitreplacetail
) =>splitreplacetail
| (extfidir1
)? (palmor1
)? ) |splitreplacetail
|extfidir1
(palmor1
)? |palmor1
) { #replacement = #([REPLACE,"replacement"], #replacement); } ;
antlr.RecognitionException
antlr.TokenStreamException
public final void brushingcontact() throws antlr.RecognitionException, antlr.TokenStreamException
brushingcontact
:
HamSeqbegin !
HamBrushing
location1
HamSeqend !
;
antlr.RecognitionException
antlr.TokenStreamException
public final void movementcircle() throws antlr.RecognitionException, antlr.TokenStreamException
movementcircle : HamCircleo | HamCirclei | HamCircled | HamCircleu | HamCirclel | HamCircler | HamCircleul | HamCircledr | HamCircleur | HamCircledl | HamCircleol | HamCircleir | HamCircleor | HamCircleil | HamCircleui | HamCircledo | HamCircledi | HamCircleuo ;
antlr.RecognitionException
antlr.TokenStreamException
public final void arc() throws antlr.RecognitionException, antlr.TokenStreamException
arc : HamArcl | HamArcu | HamArcr | HamArcd ;
antlr.RecognitionException
antlr.TokenStreamException
public final void sizechange() throws antlr.RecognitionException, antlr.TokenStreamException
sizechange : HamIncreasing | HamDecreasing ;
antlr.RecognitionException
antlr.TokenStreamException
public final void clock() throws antlr.RecognitionException, antlr.TokenStreamException
clock : HamClocku | HamClockul | HamClockl | HamClockdl | HamClockd | HamClockdr | HamClockr | HamClockur ;
antlr.RecognitionException
antlr.TokenStreamException
public final void splitreplacetail() throws antlr.RecognitionException, antlr.TokenStreamException
splitreplacetail : HamParbegin !replacetail1
HamPlus ! ( HamNomotion ! |replacetail1
) HamParend ! // { #splitreplacetail = #([SPLITREPLACETL,"splitreplacetail"], #splitreplacetail); } ;
antlr.RecognitionException
antlr.TokenStreamException