net.cscott.sdr.calls.parser
Class CallFileParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
net.cscott.sdr.calls.parser.CallFileParser
public class CallFileParser
- extends org.antlr.runtime.Parser
Parser for call definition files (*.calls
).
- Tests:
Trivial call file:
js> new CallFileParser("program: basic").calllist().getTree().toStringTree()
(CALLLIST (program basic))
js> new CallFileParser("program: basic\ndef: _courtesy turn 4/4\n in:8\n call: wheelaround").calllist().getTree().toStringTree()
(CALLLIST (program basic (def (ITEM _courtesy turn 4/4) (in (EXPR (ITEM 8)) (SEQ (call (EXPR (ITEM wheelaround))))))))
The 'and' concept is applied to successive calls joined by commas:
js> new CallFileParser("program: basic\ndef: foo\n call: bar,bat").calllist().getTree().toStringTree()
(CALLLIST (program basic (def (ITEM foo) (SEQ (call (EXPR (ITEM and) LPAREN (EXPR (ITEM bar)) (EXPR (ITEM bat))))))))
Order of optional/spoken is normalized:
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cp("def: foo\n optional: REVERSE\n spoken: [10] foo\n call: bar")
(def (ITEM foo) (optional REVERSE) (spoken 10 foo) (SEQ (call (EXPR (ITEM bar)))))
js> cp("def: foo\n spoken: [10] foo\n optional: REVERSE\n call: bar()")
(def (ITEM foo) (optional REVERSE) (spoken 10 foo) (SEQ (call (EXPR (ITEM bar) ())))
Example and figure clauses:
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cp("def: foo\n call: bar\n example: foo\n before:\n ! diagram here\n after:\n ! more diagram")
(def (ITEM foo) (example (EXPR (ITEM foo)) before diagram here
after more diagram
) (SEQ (call (EXPR (ITEM bar)))))
Longer example clause:
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cp('def: ferris wheel\n'+
> ' call: stretch(wheel and deal)\n'+
> ' example: ferris wheel\n'+
> ' before:\n'+
> ' ! ^ ^\n'+
> ' ! A a c C\n'+
> ' ! ^ ^ v v\n'+
> ' ! B b d D\n'+
> ' ! v v\n'+
> ' after:\n'+
> ' ! a A\n'+
> ' ! v v\n'+
> ' ! b B\n'+
> ' ! v v\n'+
> ' ! ^ ^\n'+
> ' ! C c\n'+
> ' ! ^ ^\n'+
> ' ! D d\n')
(def (ITEM ferris wheel) (example (EXPR (ITEM ferris wheel)) before ^ ^
A a c C
^ ^ v v
B b d D
v v
after a A
v v
b B
v v
^ ^
C c
^ ^
D d
) (SEQ (call (EXPR (ITEM stretch) ( (EXPR (ITEM wheel and deal))))))
Grammar precedence 1: INs bind tightly, FROMs do not:
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cp("def:foo\n in: 8\n in: 4\n call: bar")
(def (ITEM foo) (in (EXPR (ITEM 8)) (in (EXPR (ITEM 4)) (SEQ (call (EXPR (ITEM bar)))))))
js> cp("def:foo\n in: 4\n from: RH_BOX\n call: bar\n from: LH_BOX\n call: bat")
(def (ITEM foo) (in (EXPR (ITEM 4)) (OPT (from (EXPR (ITEM RH_BOX)) (SEQ (call (EXPR (ITEM bar))))) (from (EXPR (ITEM LH_BOX)) (SEQ (call (EXPR (ITEM bat))))))))
Grammar precedence: SEQs bind least tightly:
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cp("def:foo\n in: 4\n from: RH_MINIWAVE\n call: trade\n from: RH_BOX\n call: bar")
(def (ITEM foo) (in (EXPR (ITEM 4)) (OPT (from (EXPR (ITEM RH_MINIWAVE)) (SEQ (call (EXPR (ITEM trade))))) (from (EXPR (ITEM RH_BOX)) (SEQ (call (EXPR (ITEM bar))))))))
FROM(CONDITION..) requires indentation.
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cfp=new CallFileParser("def:foo\n in:4\n from:RH_BOX\n condition:true\n call: bar")
net.cscott.sdr.calls.parser.CallFileParser@12a0f6c
js> cfp.def() ; undefined
js> cfp.getNumberOfSyntaxErrors()
1
PRIMs with numbers:
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cp("def:foo\n prim: 1 1/2, 1/2, left")
(def (ITEM foo) (SEQ (prim 1 1/2 1/2 left 1/4 ATTRIBS)))
js> cp("def:foo\n prim: 1 1/2, 1/2, left 1/8, force-arc pass-left")
(def (ITEM foo) (SEQ (prim 1 1/2 1/2 left 1/8 (ATTRIBS force-arc pass-left))))
js> cp("def:foo\n prim: -1 1/2, -1/2, none, pass-left")
(def (ITEM foo) (SEQ (prim -1 1/2 -1/2 none 0 (ATTRIBS pass-left))))
js> cp("def:foo\n prim: in -1 1/2, out -1/2, in, pass-left")
(def (ITEM foo) (SEQ (prim in -1 1/2 out -1/2 in 1/4 (ATTRIBS pass-left))))
Default values for call arguments:
js> function cp(s) { return new CallFileParser(s).def().getTree().toStringTree() }
js> cp("def:foo(a, b=nothing)\n call: bar([a],[b])")
(def (ITEM foo) (ARG (ITEM a)) (ARG (ITEM b) (ITEM nothing)) (SEQ (call (EXPR (ITEM bar) ( (EXPR a) (EXPR b)))))
js> // (note that (EXPR a) and (EXPR b) are actually (EXPR REF[a]) etc
Spoken language grammar rules, w/ precedence:
js> function g(s) { return new CallFileParser(s).grm_rule().getTree().toStringTree() }
js> g("foo bar|bat? baz")
(| (ADJ foo bar) (ADJ (? bat) baz))
js> g("two <sel=genders> chain")
(ADJ two (REF genders sel) chain)
js> g("two <1=genders> chain")
(ADJ two (REF genders 1) chain)
js> g("two <genders> chain")
(ADJ two (REF genders) chain)
js> g("square thru <n=number> (hands (around|round)?)?")
(ADJ square thru (REF number n) (? (ADJ hands (? (| around round)))))
Fields inherited from class org.antlr.runtime.Parser |
input |
Fields inherited from class org.antlr.runtime.BaseRecognizer |
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state |
Methods inherited from class org.antlr.runtime.Parser |
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut |
Methods inherited from class org.antlr.runtime.BaseRecognizer |
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tokenNames
public static final String[] tokenNames
ATTRIBS
public static final int ATTRIBS
- See Also:
- Constant Field Values
APPLY
public static final int APPLY
- See Also:
- Constant Field Values
STAR
public static final int STAR
- See Also:
- Constant Field Values
LBRACK
public static final int LBRACK
- See Also:
- Constant Field Values
DEF
public static final int DEF
- See Also:
- Constant Field Values
SPOKEN
public static final int SPOKEN
- See Also:
- Constant Field Values
LANGLE
public static final int LANGLE
- See Also:
- Constant Field Values
PART
public static final int PART
- See Also:
- Constant Field Values
IPART
public static final int IPART
- See Also:
- Constant Field Values
CONDITION
public static final int CONDITION
- See Also:
- Constant Field Values
DEDENT
public static final int DEDENT
- See Also:
- Constant Field Values
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
EOF
public static final int EOF
- See Also:
- Constant Field Values
INDENT
public static final int INDENT
- See Also:
- Constant Field Values
LPAREN
public static final int LPAREN
- See Also:
- Constant Field Values
IF
public static final int IF
- See Also:
- Constant Field Values
VBAR
public static final int VBAR
- See Also:
- Constant Field Values
INITIAL_WS
public static final int INITIAL_WS
- See Also:
- Constant Field Values
RPAREN
public static final int RPAREN
- See Also:
- Constant Field Values
SLASH
public static final int SLASH
- See Also:
- Constant Field Values
EXPR
public static final int EXPR
- See Also:
- Constant Field Values
IN
public static final int IN
- See Also:
- Constant Field Values
ARG
public static final int ARG
- See Also:
- Constant Field Values
SEQ
public static final int SEQ
- See Also:
- Constant Field Values
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
PAR
public static final int PAR
- See Also:
- Constant Field Values
IDENT
public static final int IDENT
- See Also:
- Constant Field Values
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
BODY
public static final int BODY
- See Also:
- Constant Field Values
NL
public static final int NL
- See Also:
- Constant Field Values
RANGLE
public static final int RANGLE
- See Also:
- Constant Field Values
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
ADJ
public static final int ADJ
- See Also:
- Constant Field Values
SELECT
public static final int SELECT
- See Also:
- Constant Field Values
INTEGER
public static final int INTEGER
- See Also:
- Constant Field Values
RBRACK
public static final int RBRACK
- See Also:
- Constant Field Values
PRIM
public static final int PRIM
- See Also:
- Constant Field Values
ITEM
public static final int ITEM
- See Also:
- Constant Field Values
FIGURE
public static final int FIGURE
- See Also:
- Constant Field Values
OPT
public static final int OPT
- See Also:
- Constant Field Values
NUMBER
public static final int NUMBER
- See Also:
- Constant Field Values
XPART
public static final int XPART
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
CALLLIST
public static final int CALLLIST
- See Also:
- Constant Field Values
BEFORE
public static final int BEFORE
- See Also:
- Constant Field Values
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
AFTER
public static final int AFTER
- See Also:
- Constant Field Values
ASSERT
public static final int ASSERT
- See Also:
- Constant Field Values
EXAMPLE
public static final int EXAMPLE
- See Also:
- Constant Field Values
REF
public static final int REF
- See Also:
- Constant Field Values
OPTIONAL
public static final int OPTIONAL
- See Also:
- Constant Field Values
COLON
public static final int COLON
- See Also:
- Constant Field Values
WS
public static final int WS
- See Also:
- Constant Field Values
QUESTION
public static final int QUESTION
- See Also:
- Constant Field Values
OUT
public static final int OUT
- See Also:
- Constant Field Values
ENDS
public static final int ENDS
- See Also:
- Constant Field Values
NONE
public static final int NONE
- See Also:
- Constant Field Values
PROGRAM
public static final int PROGRAM
- See Also:
- Constant Field Values
CALL
public static final int CALL
- See Also:
- Constant Field Values
FROM
public static final int FROM
- See Also:
- Constant Field Values
WSNL
public static final int WSNL
- See Also:
- Constant Field Values
adaptor
protected org.antlr.runtime.tree.TreeAdaptor adaptor
dfa3
protected net.cscott.sdr.calls.parser.CallFileParser.DFA3 dfa3
dfa8
protected net.cscott.sdr.calls.parser.CallFileParser.DFA8 dfa8
dfa9
protected net.cscott.sdr.calls.parser.CallFileParser.DFA9 dfa9
dfa11
protected net.cscott.sdr.calls.parser.CallFileParser.DFA11 dfa11
dfa14
protected net.cscott.sdr.calls.parser.CallFileParser.DFA14 dfa14
dfa18
protected net.cscott.sdr.calls.parser.CallFileParser.DFA18 dfa18
dfa23
protected net.cscott.sdr.calls.parser.CallFileParser.DFA23 dfa23
dfa26
protected net.cscott.sdr.calls.parser.CallFileParser.DFA26 dfa26
dfa25
protected net.cscott.sdr.calls.parser.CallFileParser.DFA25 dfa25
dfa28
protected net.cscott.sdr.calls.parser.CallFileParser.DFA28 dfa28
dfa29
protected net.cscott.sdr.calls.parser.CallFileParser.DFA29 dfa29
dfa31
protected net.cscott.sdr.calls.parser.CallFileParser.DFA31 dfa31
dfa35
protected net.cscott.sdr.calls.parser.CallFileParser.DFA35 dfa35
dfa37
protected net.cscott.sdr.calls.parser.CallFileParser.DFA37 dfa37
dfa36
protected net.cscott.sdr.calls.parser.CallFileParser.DFA36 dfa36
dfa39
protected net.cscott.sdr.calls.parser.CallFileParser.DFA39 dfa39
dfa42
protected net.cscott.sdr.calls.parser.CallFileParser.DFA42 dfa42
dfa41
protected net.cscott.sdr.calls.parser.CallFileParser.DFA41 dfa41
dfa44
protected net.cscott.sdr.calls.parser.CallFileParser.DFA44 dfa44
dfa43
protected net.cscott.sdr.calls.parser.CallFileParser.DFA43 dfa43
dfa45
protected net.cscott.sdr.calls.parser.CallFileParser.DFA45 dfa45
FOLLOW_program_in_calllist181
public static final org.antlr.runtime.BitSet FOLLOW_program_in_calllist181
FOLLOW_EOF_in_calllist192
public static final org.antlr.runtime.BitSet FOLLOW_EOF_in_calllist192
FOLLOW_grm_rule_in_grammar_start227
public static final org.antlr.runtime.BitSet FOLLOW_grm_rule_in_grammar_start227
FOLLOW_PROGRAM_in_program244
public static final org.antlr.runtime.BitSet FOLLOW_PROGRAM_in_program244
FOLLOW_COLON_in_program247
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_program247
FOLLOW_IDENT_in_program250
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_program250
FOLLOW_def_in_program254
public static final org.antlr.runtime.BitSet FOLLOW_def_in_program254
FOLLOW_DEF_in_def274
public static final org.antlr.runtime.BitSet FOLLOW_DEF_in_def274
FOLLOW_COLON_in_def276
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_def276
FOLLOW_name_and_args_in_def278
public static final org.antlr.runtime.BitSet FOLLOW_name_and_args_in_def278
FOLLOW_INDENT_in_def280
public static final org.antlr.runtime.BitSet FOLLOW_INDENT_in_def280
FOLLOW_os_in_def282
public static final org.antlr.runtime.BitSet FOLLOW_os_in_def282
FOLLOW_pieces_in_def285
public static final org.antlr.runtime.BitSet FOLLOW_pieces_in_def285
FOLLOW_example_in_def287
public static final org.antlr.runtime.BitSet FOLLOW_example_in_def287
FOLLOW_DEDENT_in_def290
public static final org.antlr.runtime.BitSet FOLLOW_DEDENT_in_def290
FOLLOW_simple_words_in_name_and_args330
public static final org.antlr.runtime.BitSet FOLLOW_simple_words_in_name_and_args330
FOLLOW_LPAREN_in_name_and_args334
public static final org.antlr.runtime.BitSet FOLLOW_LPAREN_in_name_and_args334
FOLLOW_decl_args_in_name_and_args337
public static final org.antlr.runtime.BitSet FOLLOW_decl_args_in_name_and_args337
FOLLOW_RPAREN_in_name_and_args339
public static final org.antlr.runtime.BitSet FOLLOW_RPAREN_in_name_and_args339
FOLLOW_decl_arg_in_decl_args359
public static final org.antlr.runtime.BitSet FOLLOW_decl_arg_in_decl_args359
FOLLOW_COMMA_in_decl_args362
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_decl_args362
FOLLOW_decl_arg_in_decl_args365
public static final org.antlr.runtime.BitSet FOLLOW_decl_arg_in_decl_args365
FOLLOW_simple_words_in_decl_arg384
public static final org.antlr.runtime.BitSet FOLLOW_simple_words_in_decl_arg384
FOLLOW_EQUALS_in_decl_arg387
public static final org.antlr.runtime.BitSet FOLLOW_EQUALS_in_decl_arg387
FOLLOW_simple_words_in_decl_arg389
public static final org.antlr.runtime.BitSet FOLLOW_simple_words_in_decl_arg389
FOLLOW_optional_in_os425
public static final org.antlr.runtime.BitSet FOLLOW_optional_in_os425
FOLLOW_spoken_in_os428
public static final org.antlr.runtime.BitSet FOLLOW_spoken_in_os428
FOLLOW_spoken_in_os438
public static final org.antlr.runtime.BitSet FOLLOW_spoken_in_os438
FOLLOW_optional_in_os441
public static final org.antlr.runtime.BitSet FOLLOW_optional_in_os441
FOLLOW_OPTIONAL_in_optional474
public static final org.antlr.runtime.BitSet FOLLOW_OPTIONAL_in_optional474
FOLLOW_COLON_in_optional477
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_optional477
FOLLOW_IDENT_in_optional480
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_optional480
FOLLOW_COMMA_in_optional484
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_optional484
FOLLOW_IDENT_in_optional487
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_optional487
FOLLOW_SPOKEN_in_spoken506
public static final org.antlr.runtime.BitSet FOLLOW_SPOKEN_in_spoken506
FOLLOW_COLON_in_spoken509
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_spoken509
FOLLOW_priority_in_spoken513
public static final org.antlr.runtime.BitSet FOLLOW_priority_in_spoken513
FOLLOW_grm_rule_in_spoken517
public static final org.antlr.runtime.BitSet FOLLOW_grm_rule_in_spoken517
FOLLOW_LBRACK_in_priority533
public static final org.antlr.runtime.BitSet FOLLOW_LBRACK_in_priority533
FOLLOW_number_in_priority536
public static final org.antlr.runtime.BitSet FOLLOW_number_in_priority536
FOLLOW_RBRACK_in_priority538
public static final org.antlr.runtime.BitSet FOLLOW_RBRACK_in_priority538
FOLLOW_EXAMPLE_in_example555
public static final org.antlr.runtime.BitSet FOLLOW_EXAMPLE_in_example555
FOLLOW_COLON_in_example558
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_example558
FOLLOW_and_body_seq_in_example561
public static final org.antlr.runtime.BitSet FOLLOW_and_body_seq_in_example561
FOLLOW_INDENT_in_example569
public static final org.antlr.runtime.BitSet FOLLOW_INDENT_in_example569
FOLLOW_BEFORE_in_example572
public static final org.antlr.runtime.BitSet FOLLOW_BEFORE_in_example572
FOLLOW_COLON_in_example574
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_example574
FOLLOW_figure_in_example577
public static final org.antlr.runtime.BitSet FOLLOW_figure_in_example577
FOLLOW_AFTER_in_example579
public static final org.antlr.runtime.BitSet FOLLOW_AFTER_in_example579
FOLLOW_COLON_in_example581
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_example581
FOLLOW_figure_in_example584
public static final org.antlr.runtime.BitSet FOLLOW_figure_in_example584
FOLLOW_DEDENT_in_example586
public static final org.antlr.runtime.BitSet FOLLOW_DEDENT_in_example586
FOLLOW_FIGURE_in_figure614
public static final org.antlr.runtime.BitSet FOLLOW_FIGURE_in_figure614
FOLLOW_res_in_pieces670
public static final org.antlr.runtime.BitSet FOLLOW_res_in_pieces670
FOLLOW_opt_in_pieces679
public static final org.antlr.runtime.BitSet FOLLOW_opt_in_pieces679
FOLLOW_par_in_pieces687
public static final org.antlr.runtime.BitSet FOLLOW_par_in_pieces687
FOLLOW_pieces_term_in_pieces695
public static final org.antlr.runtime.BitSet FOLLOW_pieces_term_in_pieces695
FOLLOW_seq_in_pieces_term713
public static final org.antlr.runtime.BitSet FOLLOW_seq_in_pieces_term713
FOLLOW_pieces_factor_in_pieces_term721
public static final org.antlr.runtime.BitSet FOLLOW_pieces_factor_in_pieces_term721
FOLLOW_INDENT_in_pieces_factor739
public static final org.antlr.runtime.BitSet FOLLOW_INDENT_in_pieces_factor739
FOLLOW_pieces_in_pieces_factor742
public static final org.antlr.runtime.BitSet FOLLOW_pieces_in_pieces_factor742
FOLLOW_DEDENT_in_pieces_factor744
public static final org.antlr.runtime.BitSet FOLLOW_DEDENT_in_pieces_factor744
FOLLOW_IN_in_res763
public static final org.antlr.runtime.BitSet FOLLOW_IN_in_res763
FOLLOW_COLON_in_res766
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_res766
FOLLOW_expr_body_in_res769
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_res769
FOLLOW_pieces_in_res771
public static final org.antlr.runtime.BitSet FOLLOW_pieces_in_res771
FOLLOW_CONDITION_in_res779
public static final org.antlr.runtime.BitSet FOLLOW_CONDITION_in_res779
FOLLOW_COLON_in_res781
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_res781
FOLLOW_expr_body_in_res783
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_res783
FOLLOW_cond_msg_in_res785
public static final org.antlr.runtime.BitSet FOLLOW_cond_msg_in_res785
FOLLOW_pieces_in_res787
public static final org.antlr.runtime.BitSet FOLLOW_pieces_in_res787
FOLLOW_ENDS_in_res817
public static final org.antlr.runtime.BitSet FOLLOW_ENDS_in_res817
FOLLOW_IN_in_res819
public static final org.antlr.runtime.BitSet FOLLOW_IN_in_res819
FOLLOW_COLON_in_res821
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_res821
FOLLOW_expr_body_in_res823
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_res823
FOLLOW_cond_msg_in_res825
public static final org.antlr.runtime.BitSet FOLLOW_cond_msg_in_res825
FOLLOW_pieces_in_res827
public static final org.antlr.runtime.BitSet FOLLOW_pieces_in_res827
FOLLOW_ASSERT_in_assertion873
public static final org.antlr.runtime.BitSet FOLLOW_ASSERT_in_assertion873
FOLLOW_COLON_in_assertion876
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_assertion876
FOLLOW_expr_body_in_assertion879
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_assertion879
FOLLOW_cond_msg_in_assertion881
public static final org.antlr.runtime.BitSet FOLLOW_cond_msg_in_assertion881
FOLLOW_one_opt_in_opt910
public static final org.antlr.runtime.BitSet FOLLOW_one_opt_in_opt910
FOLLOW_FROM_in_one_opt947
public static final org.antlr.runtime.BitSet FOLLOW_FROM_in_one_opt947
FOLLOW_COLON_in_one_opt950
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_one_opt950
FOLLOW_or_body_seq_in_one_opt953
public static final org.antlr.runtime.BitSet FOLLOW_or_body_seq_in_one_opt953
FOLLOW_pieces_term_in_one_opt955
public static final org.antlr.runtime.BitSet FOLLOW_pieces_term_in_one_opt955
FOLLOW_one_seq_in_seq983
public static final org.antlr.runtime.BitSet FOLLOW_one_seq_in_seq983
FOLLOW_PRIM_in_one_seq1020
public static final org.antlr.runtime.BitSet FOLLOW_PRIM_in_one_seq1020
FOLLOW_COLON_in_one_seq1023
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_one_seq1023
FOLLOW_prim_body_in_one_seq1026
public static final org.antlr.runtime.BitSet FOLLOW_prim_body_in_one_seq1026
FOLLOW_CALL_in_one_seq1034
public static final org.antlr.runtime.BitSet FOLLOW_CALL_in_one_seq1034
FOLLOW_COLON_in_one_seq1037
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_one_seq1037
FOLLOW_and_body_seq_in_one_seq1040
public static final org.antlr.runtime.BitSet FOLLOW_and_body_seq_in_one_seq1040
FOLLOW_PART_in_one_seq1048
public static final org.antlr.runtime.BitSet FOLLOW_PART_in_one_seq1048
FOLLOW_COLON_in_one_seq1051
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_one_seq1051
FOLLOW_how_many_in_one_seq1054
public static final org.antlr.runtime.BitSet FOLLOW_how_many_in_one_seq1054
FOLLOW_pieces_factor_in_one_seq1056
public static final org.antlr.runtime.BitSet FOLLOW_pieces_factor_in_one_seq1056
FOLLOW_IPART_in_one_seq1064
public static final org.antlr.runtime.BitSet FOLLOW_IPART_in_one_seq1064
FOLLOW_COLON_in_one_seq1067
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_one_seq1067
FOLLOW_how_many_in_one_seq1070
public static final org.antlr.runtime.BitSet FOLLOW_how_many_in_one_seq1070
FOLLOW_pieces_factor_in_one_seq1072
public static final org.antlr.runtime.BitSet FOLLOW_pieces_factor_in_one_seq1072
FOLLOW_XPART_in_one_seq1080
public static final org.antlr.runtime.BitSet FOLLOW_XPART_in_one_seq1080
FOLLOW_COLON_in_one_seq1083
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_one_seq1083
FOLLOW_how_many_in_one_seq1086
public static final org.antlr.runtime.BitSet FOLLOW_how_many_in_one_seq1086
FOLLOW_pieces_factor_in_one_seq1088
public static final org.antlr.runtime.BitSet FOLLOW_pieces_factor_in_one_seq1088
FOLLOW_expr_body_in_how_many1106
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_how_many1106
FOLLOW_one_par_in_par1160
public static final org.antlr.runtime.BitSet FOLLOW_one_par_in_par1160
FOLLOW_SELECT_in_one_par1198
public static final org.antlr.runtime.BitSet FOLLOW_SELECT_in_one_par1198
FOLLOW_COLON_in_one_par1201
public static final org.antlr.runtime.BitSet FOLLOW_COLON_in_one_par1201
FOLLOW_or_body_seq_in_one_par1204
public static final org.antlr.runtime.BitSet FOLLOW_or_body_seq_in_one_par1204
FOLLOW_pieces_term_in_one_par1206
public static final org.antlr.runtime.BitSet FOLLOW_pieces_term_in_one_par1206
FOLLOW_IDENT_in_simple_word1223
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_simple_word1223
FOLLOW_number_in_simple_word1231
public static final org.antlr.runtime.BitSet FOLLOW_number_in_simple_word1231
FOLLOW_simple_word_in_simple_words1247
public static final org.antlr.runtime.BitSet FOLLOW_simple_word_in_simple_words1247
FOLLOW_simple_words_in_words_or_ref1281
public static final org.antlr.runtime.BitSet FOLLOW_simple_words_in_words_or_ref1281
FOLLOW_ref_in_words_or_ref1289
public static final org.antlr.runtime.BitSet FOLLOW_ref_in_words_or_ref1289
FOLLOW_LBRACK_in_ref1306
public static final org.antlr.runtime.BitSet FOLLOW_LBRACK_in_ref1306
FOLLOW_IDENT_in_ref1308
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_ref1308
FOLLOW_RBRACK_in_ref1310
public static final org.antlr.runtime.BitSet FOLLOW_RBRACK_in_ref1310
FOLLOW_expr_body_in_and_body_seq1358
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_and_body_seq1358
FOLLOW_COMMA_in_and_body_seq1361
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_and_body_seq1361
FOLLOW_expr_body_in_and_body_seq1363
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_and_body_seq1363
FOLLOW_expr_body_in_and_body_seq1399
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_and_body_seq1399
FOLLOW_expr_body_in_or_body_seq1433
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_or_body_seq1433
FOLLOW_COMMA_in_or_body_seq1436
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_or_body_seq1436
FOLLOW_expr_body_in_or_body_seq1438
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_or_body_seq1438
FOLLOW_expr_body_in_or_body_seq1474
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_or_body_seq1474
FOLLOW_COMMA_in_cond_msg1491
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_cond_msg1491
FOLLOW_LBRACK_in_cond_msg1494
public static final org.antlr.runtime.BitSet FOLLOW_LBRACK_in_cond_msg1494
FOLLOW_number_in_cond_msg1497
public static final org.antlr.runtime.BitSet FOLLOW_number_in_cond_msg1497
FOLLOW_RBRACK_in_cond_msg1500
public static final org.antlr.runtime.BitSet FOLLOW_RBRACK_in_cond_msg1500
FOLLOW_simple_words_in_cond_msg1503
public static final org.antlr.runtime.BitSet FOLLOW_simple_words_in_cond_msg1503
FOLLOW_COMMA_in_cond_msg1511
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_cond_msg1511
FOLLOW_simple_words_in_cond_msg1513
public static final org.antlr.runtime.BitSet FOLLOW_simple_words_in_cond_msg1513
FOLLOW_words_or_ref_in_expr_body1552
public static final org.antlr.runtime.BitSet FOLLOW_words_or_ref_in_expr_body1552
FOLLOW_LPAREN_in_expr_body1555
public static final org.antlr.runtime.BitSet FOLLOW_LPAREN_in_expr_body1555
FOLLOW_expr_args_in_expr_body1557
public static final org.antlr.runtime.BitSet FOLLOW_expr_args_in_expr_body1557
FOLLOW_RPAREN_in_expr_body1560
public static final org.antlr.runtime.BitSet FOLLOW_RPAREN_in_expr_body1560
FOLLOW_expr_body_in_expr_args1600
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_expr_args1600
FOLLOW_COMMA_in_expr_args1603
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_expr_args1603
FOLLOW_expr_body_in_expr_args1606
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_expr_args1606
FOLLOW_in_out_num_in_prim_body1625
public static final org.antlr.runtime.BitSet FOLLOW_in_out_num_in_prim_body1625
FOLLOW_COMMA_in_prim_body1627
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_prim_body1627
FOLLOW_in_out_num_in_prim_body1630
public static final org.antlr.runtime.BitSet FOLLOW_in_out_num_in_prim_body1630
FOLLOW_COMMA_in_prim_body1632
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_prim_body1632
FOLLOW_turn_in_prim_body1635
public static final org.antlr.runtime.BitSet FOLLOW_turn_in_prim_body1635
FOLLOW_opt_prim_attrib_in_prim_body1637
public static final org.antlr.runtime.BitSet FOLLOW_opt_prim_attrib_in_prim_body1637
FOLLOW_set_in_in_out_num1653
public static final org.antlr.runtime.BitSet FOLLOW_set_in_in_out_num1653
FOLLOW_number_in_in_out_num1662
public static final org.antlr.runtime.BitSet FOLLOW_number_in_in_out_num1662
FOLLOW_set_in_turn1678
public static final org.antlr.runtime.BitSet FOLLOW_set_in_turn1678
FOLLOW_opt_turn_amt_in_turn1694
public static final org.antlr.runtime.BitSet FOLLOW_opt_turn_amt_in_turn1694
FOLLOW_NONE_in_turn1702
public static final org.antlr.runtime.BitSet FOLLOW_NONE_in_turn1702
FOLLOW_number_in_opt_turn_amt1745
public static final org.antlr.runtime.BitSet FOLLOW_number_in_opt_turn_amt1745
FOLLOW_COMMA_in_opt_prim_attrib1762
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_opt_prim_attrib1762
FOLLOW_prim_flag_in_opt_prim_attrib1764
public static final org.antlr.runtime.BitSet FOLLOW_prim_flag_in_opt_prim_attrib1764
FOLLOW_IDENT_in_prim_flag1830
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_prim_flag1830
FOLLOW_opt_sign_in_number1883
public static final org.antlr.runtime.BitSet FOLLOW_opt_sign_in_number1883
FOLLOW_INTEGER_in_number1888
public static final org.antlr.runtime.BitSet FOLLOW_INTEGER_in_number1888
FOLLOW_INTEGER_in_number1894
public static final org.antlr.runtime.BitSet FOLLOW_INTEGER_in_number1894
FOLLOW_SLASH_in_number1896
public static final org.antlr.runtime.BitSet FOLLOW_SLASH_in_number1896
FOLLOW_INTEGER_in_number1900
public static final org.antlr.runtime.BitSet FOLLOW_INTEGER_in_number1900
FOLLOW_opt_sign_in_number1935
public static final org.antlr.runtime.BitSet FOLLOW_opt_sign_in_number1935
FOLLOW_INTEGER_in_number1939
public static final org.antlr.runtime.BitSet FOLLOW_INTEGER_in_number1939
FOLLOW_MINUS_in_opt_sign1984
public static final org.antlr.runtime.BitSet FOLLOW_MINUS_in_opt_sign1984
FOLLOW_PLUS_in_opt_sign1994
public static final org.antlr.runtime.BitSet FOLLOW_PLUS_in_opt_sign1994
FOLLOW_grm_term_in_grm_rule2041
public static final org.antlr.runtime.BitSet FOLLOW_grm_term_in_grm_rule2041
FOLLOW_VBAR_in_grm_rule2045
public static final org.antlr.runtime.BitSet FOLLOW_VBAR_in_grm_rule2045
FOLLOW_grm_term_in_grm_rule2047
public static final org.antlr.runtime.BitSet FOLLOW_grm_term_in_grm_rule2047
FOLLOW_grm_term_in_grm_rule2075
public static final org.antlr.runtime.BitSet FOLLOW_grm_term_in_grm_rule2075
FOLLOW_grm_factor_in_grm_term2105
public static final org.antlr.runtime.BitSet FOLLOW_grm_factor_in_grm_term2105
FOLLOW_grm_factor_in_grm_term2109
public static final org.antlr.runtime.BitSet FOLLOW_grm_factor_in_grm_term2109
FOLLOW_grm_factor_in_grm_term2137
public static final org.antlr.runtime.BitSet FOLLOW_grm_factor_in_grm_term2137
FOLLOW_grm_exp_in_grm_factor2167
public static final org.antlr.runtime.BitSet FOLLOW_grm_exp_in_grm_factor2167
FOLLOW_grm_mult_in_grm_factor2169
public static final org.antlr.runtime.BitSet FOLLOW_grm_mult_in_grm_factor2169
FOLLOW_grm_exp_in_grm_factor2193
public static final org.antlr.runtime.BitSet FOLLOW_grm_exp_in_grm_factor2193
FOLLOW_LPAREN_in_grm_exp2209
public static final org.antlr.runtime.BitSet FOLLOW_LPAREN_in_grm_exp2209
FOLLOW_grm_rule_in_grm_exp2212
public static final org.antlr.runtime.BitSet FOLLOW_grm_rule_in_grm_exp2212
FOLLOW_RPAREN_in_grm_exp2214
public static final org.antlr.runtime.BitSet FOLLOW_RPAREN_in_grm_exp2214
FOLLOW_IDENT_in_grm_exp2223
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_grm_exp2223
FOLLOW_LANGLE_in_grm_exp2231
public static final org.antlr.runtime.BitSet FOLLOW_LANGLE_in_grm_exp2231
FOLLOW_ref_or_int_in_grm_exp2235
public static final org.antlr.runtime.BitSet FOLLOW_ref_or_int_in_grm_exp2235
FOLLOW_EQUALS_in_grm_exp2237
public static final org.antlr.runtime.BitSet FOLLOW_EQUALS_in_grm_exp2237
FOLLOW_IDENT_in_grm_exp2242
public static final org.antlr.runtime.BitSet FOLLOW_IDENT_in_grm_exp2242
FOLLOW_RANGLE_in_grm_exp2244
public static final org.antlr.runtime.BitSet FOLLOW_RANGLE_in_grm_exp2244
FOLLOW_set_in_ref_or_int0
public static final org.antlr.runtime.BitSet FOLLOW_set_in_ref_or_int0
FOLLOW_set_in_grm_mult0
public static final org.antlr.runtime.BitSet FOLLOW_set_in_grm_mult0
FOLLOW_expr_body_in_synpred1_CallFile1342
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_synpred1_CallFile1342
FOLLOW_COMMA_in_synpred1_CallFile1344
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_synpred1_CallFile1344
FOLLOW_expr_body_in_synpred1_CallFile1346
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_synpred1_CallFile1346
FOLLOW_expr_body_in_synpred2_CallFile1417
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_synpred2_CallFile1417
FOLLOW_COMMA_in_synpred2_CallFile1419
public static final org.antlr.runtime.BitSet FOLLOW_COMMA_in_synpred2_CallFile1419
FOLLOW_expr_body_in_synpred2_CallFile1421
public static final org.antlr.runtime.BitSet FOLLOW_expr_body_in_synpred2_CallFile1421
FOLLOW_opt_sign_in_synpred3_CallFile1858
public static final org.antlr.runtime.BitSet FOLLOW_opt_sign_in_synpred3_CallFile1858
FOLLOW_INTEGER_in_synpred3_CallFile1861
public static final org.antlr.runtime.BitSet FOLLOW_INTEGER_in_synpred3_CallFile1861
FOLLOW_INTEGER_in_synpred3_CallFile1865
public static final org.antlr.runtime.BitSet FOLLOW_INTEGER_in_synpred3_CallFile1865
FOLLOW_SLASH_in_synpred3_CallFile1867
public static final org.antlr.runtime.BitSet FOLLOW_SLASH_in_synpred3_CallFile1867
FOLLOW_INTEGER_in_synpred3_CallFile1869
public static final org.antlr.runtime.BitSet FOLLOW_INTEGER_in_synpred3_CallFile1869
FOLLOW_grm_term_in_synpred4_CallFile2026
public static final org.antlr.runtime.BitSet FOLLOW_grm_term_in_synpred4_CallFile2026
FOLLOW_VBAR_in_synpred4_CallFile2028
public static final org.antlr.runtime.BitSet FOLLOW_VBAR_in_synpred4_CallFile2028
FOLLOW_grm_term_in_synpred4_CallFile2030
public static final org.antlr.runtime.BitSet FOLLOW_grm_term_in_synpred4_CallFile2030
FOLLOW_grm_factor_in_synpred5_CallFile2092
public static final org.antlr.runtime.BitSet FOLLOW_grm_factor_in_synpred5_CallFile2092
FOLLOW_grm_factor_in_synpred5_CallFile2094
public static final org.antlr.runtime.BitSet FOLLOW_grm_factor_in_synpred5_CallFile2094
FOLLOW_grm_exp_in_synpred6_CallFile2154
public static final org.antlr.runtime.BitSet FOLLOW_grm_exp_in_synpred6_CallFile2154
FOLLOW_grm_mult_in_synpred6_CallFile2156
public static final org.antlr.runtime.BitSet FOLLOW_grm_mult_in_synpred6_CallFile2156
CallFileParser
public CallFileParser(org.antlr.runtime.TokenStream input)
CallFileParser
public CallFileParser(org.antlr.runtime.TokenStream input,
org.antlr.runtime.RecognizerSharedState state)
CallFileParser
public CallFileParser(String s)
setTreeAdaptor
public void setTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor)
getTreeAdaptor
public org.antlr.runtime.tree.TreeAdaptor getTreeAdaptor()
getTokenNames
public String[] getTokenNames()
- Overrides:
getTokenNames
in class org.antlr.runtime.BaseRecognizer
getGrammarFileName
public String getGrammarFileName()
- Overrides:
getGrammarFileName
in class org.antlr.runtime.BaseRecognizer
calllist
public final CallFileParser.calllist_return calllist()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
grammar_start
public final CallFileParser.grammar_start_return grammar_start()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
program
public final CallFileParser.program_return program()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
def
public final CallFileParser.def_return def()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
name_and_args
public final CallFileParser.name_and_args_return name_and_args()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
decl_args
public final CallFileParser.decl_args_return decl_args()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
decl_arg
public final CallFileParser.decl_arg_return decl_arg()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
os
public final CallFileParser.os_return os()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
optional
public final CallFileParser.optional_return optional()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
spoken
public final CallFileParser.spoken_return spoken()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
priority
public final CallFileParser.priority_return priority()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
example
public final CallFileParser.example_return example()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
figure
public final CallFileParser.figure_return figure()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
pieces
public final CallFileParser.pieces_return pieces()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
pieces_term
public final CallFileParser.pieces_term_return pieces_term()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
pieces_factor
public final CallFileParser.pieces_factor_return pieces_factor()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
res
public final CallFileParser.res_return res()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
assertion
public final CallFileParser.assertion_return assertion()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
opt
public final CallFileParser.opt_return opt()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
one_opt
public final CallFileParser.one_opt_return one_opt()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
seq
public final CallFileParser.seq_return seq()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
one_seq
public final CallFileParser.one_seq_return one_seq()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
how_many
public final CallFileParser.how_many_return how_many()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
par
public final CallFileParser.par_return par()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
one_par
public final CallFileParser.one_par_return one_par()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
simple_word
public final CallFileParser.simple_word_return simple_word()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
simple_words
public final CallFileParser.simple_words_return simple_words()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
words_or_ref
public final CallFileParser.words_or_ref_return words_or_ref()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
ref
public final CallFileParser.ref_return ref()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
and_body_seq
public final CallFileParser.and_body_seq_return and_body_seq()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
or_body_seq
public final CallFileParser.or_body_seq_return or_body_seq()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
cond_msg
public final CallFileParser.cond_msg_return cond_msg()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
expr_body
public final CallFileParser.expr_body_return expr_body()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
expr_args
public final CallFileParser.expr_args_return expr_args()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
prim_body
public final CallFileParser.prim_body_return prim_body()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
in_out_num
public final CallFileParser.in_out_num_return in_out_num()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
turn
public final CallFileParser.turn_return turn()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
opt_turn_amt
public final CallFileParser.opt_turn_amt_return opt_turn_amt()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
opt_prim_attrib
public final CallFileParser.opt_prim_attrib_return opt_prim_attrib()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
prim_flag
public final CallFileParser.prim_flag_return prim_flag()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
number
public final CallFileParser.number_return number()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
opt_sign
public final CallFileParser.opt_sign_return opt_sign()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
grm_rule
public final CallFileParser.grm_rule_return grm_rule()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
grm_term
public final CallFileParser.grm_term_return grm_term()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
grm_factor
public final CallFileParser.grm_factor_return grm_factor()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
grm_exp
public final CallFileParser.grm_exp_return grm_exp()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
ref_or_int
public final CallFileParser.ref_or_int_return ref_or_int()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
grm_mult
public final CallFileParser.grm_mult_return grm_mult()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
synpred1_CallFile_fragment
public final void synpred1_CallFile_fragment()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
synpred2_CallFile_fragment
public final void synpred2_CallFile_fragment()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
synpred3_CallFile_fragment
public final void synpred3_CallFile_fragment()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
synpred4_CallFile_fragment
public final void synpred4_CallFile_fragment()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
synpred5_CallFile_fragment
public final void synpred5_CallFile_fragment()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
synpred6_CallFile_fragment
public final void synpred6_CallFile_fragment()
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
synpred2_CallFile
public final boolean synpred2_CallFile()
synpred5_CallFile
public final boolean synpred5_CallFile()
synpred4_CallFile
public final boolean synpred4_CallFile()
synpred3_CallFile
public final boolean synpred3_CallFile()
synpred6_CallFile
public final boolean synpred6_CallFile()
synpred1_CallFile
public final boolean synpred1_CallFile()
Copyright © 2006-2009 C. Scott Ananian