Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error. Parameters : EOFSeen : indicates if EOF caused the lexical error curLexState : lexical state in which this error occurred errorLine : line number when the error occurred errorColumn : column number when the error occurred errorAfter : prefix that was seen before this error occurred curchar : the offending character Note: You can customize the lexical error message by modifying this method.

Namespace: Lucene.Net.QueryParsers
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
protected internal static string LexicalError(
	bool EOFSeen,
	int lexState,
	int errorLine,
	int errorColumn,
	string errorAfter,
	char curChar
)
Visual Basic
Protected Friend Shared Function LexicalError ( _
	EOFSeen As Boolean, _
	lexState As Integer, _
	errorLine As Integer, _
	errorColumn As Integer, _
	errorAfter As String, _
	curChar As Char _
) As String
Visual C++
protected public:
static String^ LexicalError(
	bool EOFSeen, 
	int lexState, 
	int errorLine, 
	int errorColumn, 
	String^ errorAfter, 
	wchar_t curChar
)

Parameters

EOFSeen
Type: System..::..Boolean

[Missing <param name="EOFSeen"/> documentation for "M:Lucene.Net.QueryParsers.TokenMgrError.LexicalError(System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Char)"]

lexState
Type: System..::..Int32

[Missing <param name="lexState"/> documentation for "M:Lucene.Net.QueryParsers.TokenMgrError.LexicalError(System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Char)"]

errorLine
Type: System..::..Int32

[Missing <param name="errorLine"/> documentation for "M:Lucene.Net.QueryParsers.TokenMgrError.LexicalError(System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Char)"]

errorColumn
Type: System..::..Int32

[Missing <param name="errorColumn"/> documentation for "M:Lucene.Net.QueryParsers.TokenMgrError.LexicalError(System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Char)"]

errorAfter
Type: System..::..String

[Missing <param name="errorAfter"/> documentation for "M:Lucene.Net.QueryParsers.TokenMgrError.LexicalError(System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Char)"]

curChar
Type: System..::..Char

[Missing <param name="curChar"/> documentation for "M:Lucene.Net.QueryParsers.TokenMgrError.LexicalError(System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Char)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.QueryParsers.TokenMgrError.LexicalError(System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Char)"]

See Also