类 SemanticContext.TruePredicate
- java.lang.Object
-
- org.antlr.analysis.SemanticContext
-
- org.antlr.analysis.SemanticContext.Predicate
-
- org.antlr.analysis.SemanticContext.TruePredicate
-
- 封闭类:
- SemanticContext
public static class SemanticContext.TruePredicate extends SemanticContext.Predicate
-
-
字段概要
-
从类继承的字段 org.antlr.analysis.SemanticContext.Predicate
constantValue, FALSE_PRED, gated, INVALID_PRED_VALUE, predicateAST, synpred, TRUE_PRED
-
从类继承的字段 org.antlr.analysis.SemanticContext
EMPTY_SEMANTIC_CONTEXT
-
-
构造器概要
构造器 构造器 说明 TruePredicate()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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()
-
从类继承的方法 org.antlr.analysis.SemanticContext.Predicate
equals, getGatedPredicateContext, hashCode, isSyntacticPredicate, trackUseOfSyntacticPredicates
-
从类继承的方法 org.antlr.analysis.SemanticContext
and, factorAnd, factorOr, getAndOperands, getOrOperands, not, or
-
-
-
-
方法详细资料
-
genExpr
public org.stringtemplate.v4.ST genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
从类复制的说明:SemanticContext
Generate an expression that will evaluate the semantic context, given a set of output templates.- 覆盖:
genExpr
在类中SemanticContext.Predicate
-
hasUserSemanticPredicate
public boolean hasUserSemanticPredicate()
-
toString
public java.lang.String toString()
- 覆盖:
toString
在类中SemanticContext.Predicate
-
-