1 package antlr; 2 3 9 10 public interface LLkGrammarAnalyzer extends GrammarAnalyzer { 11 12 13 public boolean deterministic(AlternativeBlock blk); 14 15 public boolean deterministic(OneOrMoreBlock blk); 16 17 public boolean deterministic(ZeroOrMoreBlock blk); 18 19 public Lookahead FOLLOW(int k, RuleEndElement end); 20 21 public Lookahead look(int k, ActionElement action); 22 23 public Lookahead look(int k, AlternativeBlock blk); 24 25 public Lookahead look(int k, BlockEndElement end); 26 27 public Lookahead look(int k, CharLiteralElement atom); 28 29 public Lookahead look(int k, CharRangeElement end); 30 31 public Lookahead look(int k, GrammarAtom atom); 32 33 public Lookahead look(int k, OneOrMoreBlock blk); 34 35 public Lookahead look(int k, RuleBlock blk); 36 37 public Lookahead look(int k, RuleEndElement end); 38 39 public Lookahead look(int k, RuleRefElement rr); 40 41 public Lookahead look(int k, StringLiteralElement atom); 42 43 public Lookahead look(int k, SynPredBlock blk); 44 45 public Lookahead look(int k, TokenRangeElement end); 46 47 public Lookahead look(int k, TreeElement end); 48 49 public Lookahead look(int k, WildcardElement wc); 50 51 public Lookahead look(int k, ZeroOrMoreBlock blk); 52 53 public Lookahead look(int k, String rule); 54 55 public void setGrammar(Grammar g); 56 57 public boolean subruleCanBeInverted(AlternativeBlock blk, boolean forLexer); 58 } 59 | Popular Tags |