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