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