public static class SemanticContext.TruePredicate extends SemanticContext.Predicate
SemanticContext.AND, SemanticContext.CommutativePredicate, SemanticContext.FalsePredicate, SemanticContext.NOT, SemanticContext.OR, SemanticContext.Predicate, SemanticContext.TruePredicateEMPTY_SEMANTIC_CONTEXTconstantValue, FALSE_PRED, gated, INVALID_PRED_VALUE, predicateAST, synpred, TRUE_PRED| Constructor | Description |
|---|---|
TruePredicate() |
| Modifier and Type | Method | 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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitand, factorAnd, factorOr, getAndOperands, getOrOperands, not, orequals, getGatedPredicateContext, hashCode, isSyntacticPredicate, trackUseOfSyntacticPredicatespublic 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–2018 ANTLR. All rights reserved.