Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.Classic
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class QueryParserTokenManager

    Constructors

    | Improve this Doc View Source

    QueryParserTokenManager(ICharStream)

    Constructor.

    Declaration
    public QueryParserTokenManager(ICharStream stream)
    Parameters
    Type Name Description
    ICharStream stream
    | Improve this Doc View Source

    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 Source

    jjnewLexState

    Lex State array.

    Declaration
    public static readonly int[] jjnewLexState
    Field Value
    Type Description
    System.Int32[]
    | Improve this Doc View Source

    jjstrLiteralImages

    Token literal values.

    Declaration
    public static readonly string[] jjstrLiteralImages
    Field Value
    Type Description
    System.String[]
    | Improve this Doc View Source

    lexStateNames

    Lexer state names.

    Declaration
    public static readonly string[] lexStateNames
    Field Value
    Type Description
    System.String[]
    | Improve this Doc View Source

    m_curChar

    Declaration
    protected char m_curChar
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    m_input_stream

    Declaration
    protected ICharStream m_input_stream
    Field Value
    Type Description
    ICharStream

    Methods

    | Improve this Doc View Source

    GetNextToken()

    Get the next Token.

    Declaration
    public virtual Token GetNextToken()
    Returns
    Type Description
    Token
    | Improve this Doc View Source

    JjFillToken()

    Declaration
    protected virtual Token JjFillToken()
    Returns
    Type Description
    Token
    | Improve this Doc View Source

    ReInit(ICharStream)

    Reinitialise parser.

    Declaration
    public virtual void ReInit(ICharStream stream)
    Parameters
    Type Name Description
    ICharStream stream
    | Improve this Doc View Source

    ReInit(ICharStream, Int32)

    Reinitialise parser.

    Declaration
    public virtual void ReInit(ICharStream stream, int lexState)
    Parameters
    Type Name Description
    ICharStream stream
    System.Int32 lexState
    | Improve this Doc View Source

    SetDebugStream(TextWriter)

    Set debug output.

    Declaration
    public virtual void SetDebugStream(TextWriter ds)
    Parameters
    Type Name Description
    System.IO.TextWriter ds
    | Improve this Doc View Source

    SwitchTo(Int32)

    Switch to specified lex state.

    Declaration
    public virtual void SwitchTo(int lexState)
    Parameters
    Type Name Description
    System.Int32 lexState
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.