C# Class Lucene.Net.QueryParsers.Surround.Parser.QueryParserTokenManager

Token Manager.
显示文件 Open project: apache/lucenenet Class Usage Examples

Public Properties

Property Type Description
debugStream System.IO.TextWriter
jjnewLexState int[]
jjstrLiteralImages string[]
lexStateNames string[]

Protected Properties

Property Type Description
curChar char
input_stream ICharStream

Public Methods

Method Description
QueryParserTokenManager ( ICharStream stream ) : System

Constructor.

QueryParserTokenManager ( ICharStream stream, int lexState ) : System

Constructor.

ReInit ( ICharStream stream ) : void

Reinitialize parser.

ReInit ( ICharStream stream, int lexState ) : void

Reinitialize parser.

SetDebugStream ( TextWriter ds ) : void

Set debug output.

SwitchTo ( int lexState ) : void

Switch to specified lex state.

Protected Methods

Method Description
JjFillToken ( ) : Token

Private Methods

Method Description
GetNextToken ( ) : Token
JjAddStates ( int start, int end ) : void
JjCanMove_0 ( int hiByte, int i1, int i2, ulong l1, ulong l2 ) : bool
JjCheckNAdd ( int state ) : void
JjCheckNAddStates ( int start, int end ) : void
JjCheckNAddTwoStates ( int state1, int state2 ) : void
JjMoveNfa_0 ( int startState, int curPos ) : int
JjMoveNfa_1 ( int startState, int curPos ) : int
JjMoveStringLiteralDfa0_0 ( ) : int
JjStartNfa_1 ( int pos, long active0 ) : int
JjStopAtPos ( int pos, int kind ) : int
JjStopStringLiteralDfa_1 ( int pos, long active0 ) : int
ReInitRounds ( ) : void
jjMoveStringLiteralDfa0_1 ( ) : int

Method Details

JjFillToken() protected method

protected JjFillToken ( ) : Token
return Token

QueryParserTokenManager() public method

Constructor.
public QueryParserTokenManager ( ICharStream stream ) : System
stream ICharStream
return System

QueryParserTokenManager() public method

Constructor.
public QueryParserTokenManager ( ICharStream stream, int lexState ) : System
stream ICharStream
lexState int
return System

ReInit() public method

Reinitialize parser.
public ReInit ( ICharStream stream ) : void
stream ICharStream
return void

ReInit() public method

Reinitialize parser.
public ReInit ( ICharStream stream, int lexState ) : void
stream ICharStream
lexState int
return void

SetDebugStream() public method

Set debug output.
public SetDebugStream ( TextWriter ds ) : void
ds System.IO.TextWriter
return void

SwitchTo() public method

Switch to specified lex state.
public SwitchTo ( int lexState ) : void
lexState int
return void

Property Details

curChar protected_oe property

protected char curChar
return char

debugStream public_oe property

Debug output.
public TextWriter,System.IO debugStream
return System.IO.TextWriter

input_stream protected_oe property

protected ICharStream input_stream
return ICharStream

jjnewLexState public_oe static_oe property

Lex State array.
public static int[] jjnewLexState
return int[]

jjstrLiteralImages public_oe static_oe property

Token literal values.
public static string[] jjstrLiteralImages
return string[]

lexStateNames public_oe static_oe property

Lexer state names.
public static string[] lexStateNames
return string[]