Class FailedPredicateException

All Implemented Interfaces:
Serializable

public class FailedPredicateException extends RecognitionException
A semantic predicate failed during validation. Validation of predicates occurs when normally parsing the alternative just like matching a token. Disambiguating predicate evaluation occurs when we test a predicate during prediction.
See Also:
  • Constructor Details

    • FailedPredicateException

      public FailedPredicateException(Parser recognizer)
    • FailedPredicateException

      public FailedPredicateException(Parser recognizer, String predicate)
    • FailedPredicateException

      public FailedPredicateException(Parser recognizer, String predicate, String message)
  • Method Details

    • getRuleIndex

      public int getRuleIndex()
    • getPredIndex

      public int getPredIndex()
    • getPredicate

      public String getPredicate()