public static class SemanticContext.FalsePredicate extends SemanticContext.Predicate
SemanticContext.AND, SemanticContext.CommutativePredicate, SemanticContext.FalsePredicate, SemanticContext.NOT, SemanticContext.OR, SemanticContext.Predicate, SemanticContext.TruePredicate
constantValue, FALSE_PRED, gated, INVALID_PRED_VALUE, predicateAST, synpred, TRUE_PRED
EMPTY_SEMANTIC_CONTEXT
Constructor and Description |
---|
FalsePredicate() |
Modifier and Type | Method and Description |
---|---|
org.stringtemplate.v4.ST |
genExpr(CodeGenerator generator,
org.stringtemplate.v4.STGroup templates,
DFA dfa)
Generate an expression that will evaluate the semantic context,
given a set of output templates.
|
boolean |
hasUserSemanticPredicate() |
String |
toString() |
equals, getGatedPredicateContext, hashCode, isSyntacticPredicate, trackUseOfSyntacticPredicates
and, factorAnd, factorOr, getAndOperands, getOrOperands, not, or
public org.stringtemplate.v4.ST genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
SemanticContext
genExpr
in class SemanticContext.Predicate
public boolean hasUserSemanticPredicate()
hasUserSemanticPredicate
in class SemanticContext.Predicate
public String toString()
toString
in class SemanticContext.Predicate
Copyright © 1992–2015 ANTLR. All rights reserved.