C# Class Lucene.Net.QueryParsers.Classic.QueryParserTokenManager

Token Manager.
Mostrar archivo 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

Reinitialise parser.

ReInit ( ICharStream stream, int lexState ) : void

Reinitialise 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
InitBlock ( ) : void
JjAddStates ( int start, int end ) : void
JjCanMove_0 ( int hiByte, int i1, int i2, ulong l1, ulong l2 ) : bool
JjCanMove_1 ( int hiByte, int i1, int i2, ulong l1, ulong l2 ) : bool
JjCanMove_2 ( 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
JjMoveNfa_2 ( int startState, int curPos ) : int
JjMoveStringLiteralDfa0_0 ( ) : int
JjMoveStringLiteralDfa0_1 ( ) : int
JjMoveStringLiteralDfa0_2 ( ) : int
JjMoveStringLiteralDfa1_1 ( long active0 ) : int
JjStartNfaWithStates_1 ( int pos, int kind, int state ) : int
JjStartNfaWithStates_2 ( int pos, int kind, int state ) : int
JjStartNfa_1 ( int pos, long active0 ) : int
JjStartNfa_2 ( int pos, long active0 ) : int
JjStopAtPos ( int pos, int kind ) : int
JjStopStringLiteralDfa_1 ( int pos, long active0 ) : int
JjStopStringLiteralDfa_2 ( int pos, long active0 ) : int
ReInitRounds ( ) : void

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

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

ReInit() public method

Reinitialise 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[]