Class QueryParserTokenManager
Token Manager.
Inheritance
System.Object
QueryParserTokenManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.QueryParsers.Surround.Parser
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class QueryParserTokenManager
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 Token JjFillToken()
Returns
Type | Description |
---|---|
Token |
ReInit(ICharStream)
Reinitialize parser.
Declaration
public void ReInit(ICharStream stream)
Parameters
Type | Name | Description |
---|---|---|
ICharStream | stream |
ReInit(ICharStream, Int32)
Reinitialize parser.
Declaration
public 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 |
---|---|---|
System.IO.TextWriter | ds |
SwitchTo(Int32)
Switch to specified lex state.
Declaration
public void SwitchTo(int lexState)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | lexState |