public static class SemanticContext.TruePredicate extends SemanticContext.Predicate
SemanticContext.AND, 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.antlr.stringtemplate.StringTemplate |
genExpr(CodeGenerator generator,
org.antlr.stringtemplate.StringTemplateGroup templates,
DFA dfa)
Generate an expression that will evaluate the semantic context,
given a set of output templates.
|
String |
toString() |
equals, getGatedPredicateContext, hashCode, isSyntacticPredicate, trackUseOfSyntacticPredicatesand, not, orpublic org.antlr.stringtemplate.StringTemplate genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
SemanticContextgenExpr in class SemanticContext.Predicatepublic String toString()
toString in class SemanticContext.PredicateCopyright © 2015. All Rights Reserved.