C# Class Ancestry.QueryProcessor.Parse.SyntaxException

Indicates a syntactic error encountered during the lexical and syntactic analysis phases of compilation.
The SyntaxException is used to return the line number and position of the lexical analyzer when an error is encountered during lexical analysis or parsing. Any exception encountered during these phases will be wrapped with an exception of this type. Only the parser should throw exceptions of this type.
Inheritance: QPException, ILocatorException
Afficher le fichier Open project: Ancestry/DotQL

Méthodes publiques

Méthode Description
SyntaxException ( ErrorSeverity severity, int code, string message, string details, string serverContext, int line, int linePos, TokenType tokenType, string token, AncestryException innerException ) : System
SyntaxException ( Lexer lexer, Exception inner ) : System

Method Details

SyntaxException() public méthode

public SyntaxException ( ErrorSeverity severity, int code, string message, string details, string serverContext, int line, int linePos, TokenType tokenType, string token, AncestryException innerException ) : System
severity ErrorSeverity
code int
message string
details string
serverContext string
line int
linePos int
tokenType TokenType
token string
innerException AncestryException
Résultat System

SyntaxException() public méthode

public SyntaxException ( Lexer lexer, Exception inner ) : System
lexer Lexer
inner System.Exception
Résultat System