/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
SemanticContext.java | 53 * SemanticContext within the scope of this outer class. 59 public abstract class SemanticContext { 65 public static final SemanticContext EMPTY_SEMANTIC_CONTEXT = new Predicate(Predicate.INVALID_PRED_VALUE); 71 public abstract SemanticContext getGatedPredicateContext(); 87 public static class Predicate extends SemanticContext { 212 public SemanticContext getGatedPredicateContext() { 303 public static abstract class CommutativePredicate extends SemanticContext { 304 protected final Set<SemanticContext> operands = new HashSet<SemanticContext>(); 307 public CommutativePredicate(SemanticContext a, SemanticContext b) [all...] |
PredicateLabel.java | 39 protected SemanticContext semanticContext; 44 this.semanticContext = new SemanticContext.Predicate(predicateASTNode); 48 public PredicateLabel(SemanticContext semCtx) { 50 this.semanticContext = semCtx; 54 return semanticContext.hashCode(); 67 return semanticContext.equals(((PredicateLabel)o).semanticContext); 74 public SemanticContext getSemanticContext() [all...] |
NFAConfiguration.java | 57 public SemanticContext semanticContext = SemanticContext.EMPTY_SEMANTIC_CONTEXT; 92 SemanticContext semanticContext) 97 this.semanticContext = semanticContext; 115 this.semanticContext.equals(other.semanticContext); 138 if ( semanticContext!=null & [all...] |
LL1Analyzer.java | 326 SemanticContext ctx = transition0.label.getSemanticContext(); 327 SemanticContext.Predicate p = (SemanticContext.Predicate)ctx; 336 SemanticContext ctx = transition0.label.getSemanticContext(); 337 SemanticContext.Predicate p = (SemanticContext.Predicate)ctx; 393 public SemanticContext getPredicates(NFAState altStartState) { 398 protected SemanticContext _getPredicates(NFAState s, NFAState altStartState) { 422 SemanticContext p = null; 423 SemanticContext p0 = null [all...] |
LL1DFA.java | 121 SemanticContext ctx = nfa.grammar.ll1Analyzer.getPredicates(altStartState); 124 ctx = new SemanticContext.TruePredicate(); 128 SemanticContext.Predicate synpred = 131 synpred = new SemanticContext.TruePredicate(); 152 protected SemanticContext.Predicate getSynPredForAlt(NFAState decisionStartState, 162 SemanticContext ctx = altStartState.transition[0].label.getSemanticContext(); 164 SemanticContext.Predicate p = (SemanticContext.Predicate)ctx; 168 ((SemanticContext.Predicate)altStartState.transition[0].label.getSemanticContext()).predicateAST); 173 return (SemanticContext.Predicate)altStartState.transition[0].label.getSemanticContext() [all...] |
NFAToDFAConverter.java | 162 SemanticContext.EMPTY_SEMANTIC_CONTEXT, 172 SemanticContext.EMPTY_SEMANTIC_CONTEXT, 480 c.semanticContext, 594 SemanticContext semanticContext, 616 semanticContext); 682 closure(ruleTarget, alt, newContext, semanticContext, d, collectPredicates); 691 closure(continueState, alt, newContext, semanticContext, d, collectPredicates); 711 semanticContext, 717 SemanticContext labelContext = transition0.label.getSemanticContext() [all...] |
DFAState.java | 233 if ( c.semanticContext!=SemanticContext.EMPTY_SEMANTIC_CONTEXT ) { 262 SemanticContext semanticContext) 267 semanticContext); 659 Set<SemanticContext> synpreds = new HashSet<SemanticContext>(); 662 SemanticContext gatedPredExpr = 663 configuration.semanticContext.getGatedPredicateContext(); 666 configuration.semanticContext.isSyntacticPredicate() [all...] |
DecisionProbe.java | 101 * SemanticContext (pred(s) to execute to resolve syntactic ambiguity). 103 protected Map<DFAState, Map<Integer,SemanticContext>> stateToAltSetWithSemanticPredicatesMap = 104 new HashMap<DFAState, Map<Integer,SemanticContext>>(); 390 public SemanticContext getSemanticContextForAlt(DFAState d, int alt) { 395 return (SemanticContext)altToPredMap.get(Utils.integer(alt)); [all...] |
Label.java | 230 public SemanticContext getSemanticContext() { 310 Iterator iter = semanticContext.iterator(); 313 Iterator inner = semanticContext.iterator(); 345 if ( semanticContext==NFAConfiguration.DEFAULT_CLAUSE_SEMANTIC_CONTEXT ) { 349 Iterator iter = semanticContext.iterator();
|
DFA.java | 834 SemanticContext ctx = t.label.getSemanticContext(); 837 // System.out.println(((SemanticContext.Predicate)ctx).predicateAST.token); 858 SemanticContext ctx = t.label.getSemanticContext(); [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
ACyclicDFACodeGenerator.java | 133 SemanticContext preds =
|
CodeGenerator.java | 698 SemanticContext preds = t.getGatedPredicatesInNFAConfigurations(); 747 SemanticContext semCtx = label.getSemanticContext(); [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
FASerializer.java | 168 SemanticContext preds =
|
DOTGenerator.java | 296 SemanticContext preds =
|
Grammar.java | [all...] |
/external/clang/lib/Sema/ |
SemaTemplate.cpp | [all...] |
/external/antlr/antlr-3.4/lib/ |
antlr-3.4-complete.jar | |