org.antlr.analysis
Class SemanticContext.FalsePredicate

java.lang.Object
  extended by org.antlr.analysis.SemanticContext
      extended by org.antlr.analysis.SemanticContext.Predicate
          extended by 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
SemanticContext.FalsePredicate()
           
 
Method Summary
 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()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SemanticContext.FalsePredicate

public SemanticContext.FalsePredicate()
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 class SemanticContext.Predicate

hasUserSemanticPredicate

public boolean hasUserSemanticPredicate()
Overrides:
hasUserSemanticPredicate in class SemanticContext.Predicate

toString

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


Copyright © 2011. All Rights Reserved.