Package org.antlr.analysis
Class SemanticContext.FalsePredicate
- java.lang.Object
-
- org.antlr.analysis.SemanticContext
-
- org.antlr.analysis.SemanticContext.Predicate
-
- org.antlr.analysis.SemanticContext.FalsePredicate
-
- Enclosing class:
- SemanticContext
public static class SemanticContext.FalsePredicate extends SemanticContext.Predicate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.antlr.analysis.SemanticContext
SemanticContext.AND, SemanticContext.CommutativePredicate, SemanticContext.FalsePredicate, SemanticContext.NOT, SemanticContext.OR, SemanticContext.Predicate, SemanticContext.TruePredicate
-
-
Field Summary
-
Fields inherited from class org.antlr.analysis.SemanticContext.Predicate
constantValue, FALSE_PRED, gated, INVALID_PRED_VALUE, predicateAST, synpred, TRUE_PRED
-
Fields inherited from class org.antlr.analysis.SemanticContext
EMPTY_SEMANTIC_CONTEXT
-
-
Constructor Summary
Constructors Constructor Description FalsePredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
java.lang.String
toString()
-
Methods inherited from class org.antlr.analysis.SemanticContext.Predicate
equals, getGatedPredicateContext, hashCode, isSyntacticPredicate, trackUseOfSyntacticPredicates
-
Methods inherited from class org.antlr.analysis.SemanticContext
and, factorAnd, factorOr, getAndOperands, getOrOperands, not, or
-
-
-
-
Method Detail
-
genExpr
public org.stringtemplate.v4.ST genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
Description copied from class:SemanticContext
Generate an expression that will evaluate the semantic context, given a set of output templates.- Overrides:
genExpr
in classSemanticContext.Predicate
-
hasUserSemanticPredicate
public boolean hasUserSemanticPredicate()
- Overrides:
hasUserSemanticPredicate
in classSemanticContext.Predicate
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSemanticContext.Predicate
-
-