All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Java.target.apidocs.org.antlr.v4.runtime.FailedPredicateException.html Maven / Gradle / Ivy

There is a newer version: 4.13.1.5
Show newest version






FailedPredicateException (ANTLR 4 Runtime (Optimized) 4.13.1.3 API)












org.antlr.v4.runtime

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:
    Serialized Form
    • Constructor Detail

      • FailedPredicateException

        public FailedPredicateException(@NotNull
                                        Parser recognizer)
      • FailedPredicateException

        public FailedPredicateException(@NotNull
                                        Parser recognizer,
                                        @Nullable
                                        String predicate)
      • FailedPredicateException

        public FailedPredicateException(@NotNull
                                        Parser recognizer,
                                        @Nullable
                                        String predicate,
                                        @Nullable
                                        String message)
    • Method Detail

      • getRuleIndex

        public int getRuleIndex()
      • getPredIndex

        public int getPredIndex()
      • getPredicate

        @Nullable
        public String getPredicate()

Copyright © 1992–2023 Daniel Sun. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy