org.antlr.analysis
Class SemanticContext.TruePredicate

java.lang.Object
  extended by org.antlr.analysis.SemanticContext
      extended by org.antlr.analysis.SemanticContext.Predicate
          extended by org.antlr.analysis.SemanticContext.TruePredicate
Enclosing class:
SemanticContext

public static class SemanticContext.TruePredicate
extends SemanticContext.Predicate


Nested Class Summary
 
Nested classes/interfaces inherited from class org.antlr.analysis.SemanticContext
SemanticContext.AND, 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
SemanticContext.TruePredicate()
           
 
Method Summary
 StringTemplate genExpr(CodeGenerator generator, StringTemplateGroup templates, DFA dfa)
          Generate an expression that will evaluate the semantic context, given a set of output templates.
 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, not, or
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SemanticContext.TruePredicate

public SemanticContext.TruePredicate()
Method Detail

genExpr

public StringTemplate genExpr(CodeGenerator generator,
                              StringTemplateGroup 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 class SemanticContext.Predicate

toString

public java.lang.String toString()
Overrides:
toString in class SemanticContext.Predicate