Class QueryParserTokenManager
Token Manager.
Inheritance
System.Object
QueryParserTokenManager
Namespace: Lucene.Net.QueryParsers.Classic
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class QueryParserTokenManager : object
Constructors
| Improve this Doc View SourceQueryParserTokenManager(ICharStream)
Constructor.
Declaration
public QueryParserTokenManager(ICharStream stream)
Parameters
Type | Name | Description |
---|---|---|
ICharStream | stream |
QueryParserTokenManager(ICharStream, Int32)
Constructor.
Declaration
public QueryParserTokenManager(ICharStream stream, int lexState)
Parameters
Type | Name | Description |
---|---|---|
ICharStream | stream | |
System.Int32 | lexState |
Fields
| Improve this Doc View SourcejjnewLexState
Lex State array.
Declaration
public static readonly int[] jjnewLexState
Field Value
Type | Description |
---|---|
System.Int32[] |
jjstrLiteralImages
Token literal values.
Declaration
public static readonly string[] jjstrLiteralImages
Field Value
Type | Description |
---|---|
System.String[] |
lexStateNames
Lexer state names.
Declaration
public static readonly string[] lexStateNames
Field Value
Type | Description |
---|---|
System.String[] |
m_curChar
Declaration
protected char m_curChar
Field Value
Type | Description |
---|---|
System.Char |
m_input_stream
Declaration
protected ICharStream m_input_stream
Field Value
Type | Description |
---|---|
ICharStream |
Methods
| Improve this Doc View SourceGetNextToken()
Get the next Token.
Declaration
public virtual Token GetNextToken()
Returns
Type | Description |
---|---|
Token |
JjFillToken()
Declaration
protected virtual Token JjFillToken()
Returns
Type | Description |
---|---|
Token |
ReInit(ICharStream)
Reinitialise parser.
Declaration
public virtual void ReInit(ICharStream stream)
Parameters
Type | Name | Description |
---|---|---|
ICharStream | stream |
ReInit(ICharStream, Int32)
Reinitialise parser.
Declaration
public virtual void ReInit(ICharStream stream, int lexState)
Parameters
Type | Name | Description |
---|---|---|
ICharStream | stream | |
System.Int32 | lexState |
SetDebugStream(TextWriter)
Set debug output.
Declaration
public virtual void SetDebugStream(TextWriter ds)
Parameters
Type | Name | Description |
---|---|---|
TextWriter | ds |
SwitchTo(Int32)
Switch to specified lex state.
Declaration
public virtual void SwitchTo(int lexState)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | lexState |