public static class SemanticContext.TruePredicate extends SemanticContext.Predicate
SemanticContext.AND, SemanticContext.CommutativePredicate, SemanticContext.FalsePredicate, SemanticContext.NOT, SemanticContext.OR, SemanticContext.Predicate, SemanticContext.TruePredicateconstantValue, FALSE_PRED, gated, INVALID_PRED_VALUE, predicateAST, synpred, TRUE_PREDEMPTY_SEMANTIC_CONTEXT| Constructor and Description |
|---|
SemanticContext.TruePredicate() |
| 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, trackUseOfSyntacticPredicatesand, factorAnd, factorOr, getAndOperands, getOrOperands, not, orpublic org.stringtemplate.v4.ST genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
SemanticContextgenExpr in class SemanticContext.Predicatepublic boolean hasUserSemanticPredicate()
hasUserSemanticPredicate in class SemanticContext.Predicatepublic String toString()
toString in class SemanticContext.PredicateCopyright © 1992–2014 ANTLR. All rights reserved.