C# Class Antlr.Runtime.FailedPredicateException

* 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 hoist a predicate into * a prediction decision. *
Inheritance: RecognitionException
Datei anzeigen Open project: antlr/antlrcs Class Usage Examples

Public Methods

Method Description
FailedPredicateException ( )
FailedPredicateException ( IIntStream input, string ruleName, string predicateText )
FailedPredicateException ( string message )
FailedPredicateException ( string message, IIntStream input, string ruleName, string predicateText )
FailedPredicateException ( string message, IIntStream input, string ruleName, string predicateText, System.Exception innerException )
FailedPredicateException ( string message, System.Exception innerException )
ToString ( ) : string

Protected Methods

Method Description
FailedPredicateException ( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context )

Private Methods

Method Description
GetObjectData ( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context ) : void

Method Details

FailedPredicateException() public method

FailedPredicateException() public method

public FailedPredicateException ( IIntStream input, string ruleName, string predicateText )
input IIntStream
ruleName string
predicateText string

FailedPredicateException() protected method

protected FailedPredicateException ( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context )
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext

FailedPredicateException() public method

public FailedPredicateException ( string message )
message string

FailedPredicateException() public method

public FailedPredicateException ( string message, IIntStream input, string ruleName, string predicateText )
message string
input IIntStream
ruleName string
predicateText string

FailedPredicateException() public method

public FailedPredicateException ( string message, IIntStream input, string ruleName, string predicateText, System.Exception innerException )
message string
input IIntStream
ruleName string
predicateText string
innerException System.Exception

FailedPredicateException() public method

public FailedPredicateException ( string message, System.Exception innerException )
message string
innerException System.Exception

ToString() public method

public ToString ( ) : string
return string