01: package antlr;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.cs.usfca.edu
05: * Software rights: http://www.antlr.org/license.html
06: */
07:
08: public interface LLkGrammarAnalyzer extends GrammarAnalyzer {
09:
10: public boolean deterministic(AlternativeBlock blk);
11:
12: public boolean deterministic(OneOrMoreBlock blk);
13:
14: public boolean deterministic(ZeroOrMoreBlock blk);
15:
16: public Lookahead FOLLOW(int k, RuleEndElement end);
17:
18: public Lookahead look(int k, ActionElement action);
19:
20: public Lookahead look(int k, AlternativeBlock blk);
21:
22: public Lookahead look(int k, BlockEndElement end);
23:
24: public Lookahead look(int k, CharLiteralElement atom);
25:
26: public Lookahead look(int k, CharRangeElement end);
27:
28: public Lookahead look(int k, GrammarAtom atom);
29:
30: public Lookahead look(int k, OneOrMoreBlock blk);
31:
32: public Lookahead look(int k, RuleBlock blk);
33:
34: public Lookahead look(int k, RuleEndElement end);
35:
36: public Lookahead look(int k, RuleRefElement rr);
37:
38: public Lookahead look(int k, StringLiteralElement atom);
39:
40: public Lookahead look(int k, SynPredBlock blk);
41:
42: public Lookahead look(int k, TokenRangeElement end);
43:
44: public Lookahead look(int k, TreeElement end);
45:
46: public Lookahead look(int k, WildcardElement wc);
47:
48: public Lookahead look(int k, ZeroOrMoreBlock blk);
49:
50: public Lookahead look(int k, String rule);
51:
52: public void setGrammar(Grammar g);
53:
54: public boolean subruleCanBeInverted(AlternativeBlock blk,
55: boolean forLexer);
56: }
|