Home
last modified time | relevance | path

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

/external/antlr/tool/src/main/java/org/antlr/analysis/
DSemanticContext.java65 …public static final SemanticContext EMPTY_SEMANTIC_CONTEXT = new Predicate(Predicate.INVALID_PRED_… field in SemanticContext
622 …boolean factored = commonTerms != null && commonTerms != EMPTY_SEMANTIC_CONTEXT && !(commonTerms i… in and()
631 if ( a==EMPTY_SEMANTIC_CONTEXT || a==null ) { in and()
634 if ( b==EMPTY_SEMANTIC_CONTEXT || b==null ) { in and()
666 …boolean factored = commonTerms != null && commonTerms != EMPTY_SEMANTIC_CONTEXT && !(commonTerms i… in or()
671 if ( a==EMPTY_SEMANTIC_CONTEXT || a==null || a instanceof FalsePredicate ) { in or()
675 if ( b==EMPTY_SEMANTIC_CONTEXT || b==null || b instanceof FalsePredicate ) { in or()
726 if (a == EMPTY_SEMANTIC_CONTEXT || a == null || a instanceof FalsePredicate) in factorAnd()
727 return new SemanticContext[] { EMPTY_SEMANTIC_CONTEXT, a, b }; in factorAnd()
728 if (b == EMPTY_SEMANTIC_CONTEXT || b == null || b instanceof FalsePredicate) in factorAnd()
[all …]
DNFAConfiguration.java57 public SemanticContext semanticContext = SemanticContext.EMPTY_SEMANTIC_CONTEXT;
142 semanticContext!=SemanticContext.EMPTY_SEMANTIC_CONTEXT ) { in toString()
DNFAToDFAConverter.java162 SemanticContext.EMPTY_SEMANTIC_CONTEXT, in computeStartState()
172 SemanticContext.EMPTY_SEMANTIC_CONTEXT, in computeStartState()
1520 SemanticContext.EMPTY_SEMANTIC_CONTEXT ) in getPredicatesPerNonDeterministicAlt()
1591 configuration.semanticContext == SemanticContext.EMPTY_SEMANTIC_CONTEXT ) in getPredicatesPerNonDeterministicAlt()
DDFAState.java236 if ( c.semanticContext!=SemanticContext.EMPTY_SEMANTIC_CONTEXT ) { in addNFAConfiguration()