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
Datei anzeigen Open project: Ancestry/DotQL

Public Methods

Method 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 method

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
return System

SyntaxException() public method

public SyntaxException ( Lexer lexer, Exception inner ) : System
lexer Lexer
inner System.Exception
return System