Home
last modified time | relevance | path

Searched refs:semanticContext (Results 1 – 4 of 4) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/analysis/
DPredicateLabel.java39 protected SemanticContext semanticContext; field in PredicateLabel
44 this.semanticContext = new SemanticContext.Predicate(predicateASTNode); in PredicateLabel()
50 this.semanticContext = semCtx; in PredicateLabel()
55 return semanticContext.hashCode(); in hashCode()
69 return semanticContext.equals(((PredicateLabel)o).semanticContext); in equals()
79 return semanticContext; in getSemanticContext()
84 return "{"+semanticContext+"}?"; in toString()
DNFAConfiguration.java57 public SemanticContext semanticContext = SemanticContext.EMPTY_SEMANTIC_CONTEXT; field in NFAConfiguration
92 SemanticContext semanticContext) in NFAConfiguration() argument
97 this.semanticContext = semanticContext; in NFAConfiguration()
116 this.semanticContext.equals(other.semanticContext); in equals()
141 if ( semanticContext!=null && in toString()
142 semanticContext!=SemanticContext.EMPTY_SEMANTIC_CONTEXT ) { in toString()
144 String escQuote = Utils.replace(semanticContext.toString(), "\"", "\\\""); in toString()
DNFAToDFAConverter.java480 c.semanticContext, in closure()
594 SemanticContext semanticContext, in closure() argument
616 semanticContext); in closure()
682 closure(ruleTarget, alt, newContext, semanticContext, d, collectPredicates); in closure()
691 closure(continueState, alt, newContext, semanticContext, d, collectPredicates); in closure()
711 semanticContext, in closure() local
731 SemanticContext newSemanticContext = semanticContext; in closure()
752 SemanticContext.and(semanticContext, labelContext); in closure()
767 semanticContext, in closure() local
893 c.semanticContext); in reach()
[all …]
DDFAState.java236 if ( c.semanticContext!=SemanticContext.EMPTY_SEMANTIC_CONTEXT ) { in addNFAConfiguration()
265 SemanticContext semanticContext) in addNFAConfiguration() argument
270 semanticContext); in addNFAConfiguration()
666 configuration.semanticContext.getGatedPredicateContext(); in getGatedSyntacticPredicatesInNFAConfigurations()
669 configuration.semanticContext.isSyntacticPredicate() ) in getGatedSyntacticPredicatesInNFAConfigurations()
671 synpreds.add(configuration.semanticContext); in getGatedSyntacticPredicatesInNFAConfigurations()
712 configuration.semanticContext.getGatedPredicateContext(); in getGatedPredicatesInNFAConfigurations()
719 else if ( acceptState || !configuration.semanticContext.isSyntacticPredicate() ) { in getGatedPredicatesInNFAConfigurations()