Show / Hide Table of Contents

    Class FastCharStream

    An efficient implementation of JavaCC's ICharStream interface.

    Note that this does not do line-number counting, but instead keeps track of the character position of the token in the input, as required by Lucene's Token API.

    Inheritance
    System.Object
    FastCharStream
    Implements
    ICharStream
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Parser
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public sealed class FastCharStream : object, ICharStream

    Constructors

    | Improve this Doc View Source

    FastCharStream(TextReader)

    Constructs from a .

    Declaration
    public FastCharStream(TextReader r)
    Parameters
    Type Name Description
    TextReader r

    Properties

    | Improve this Doc View Source

    BeginColumn

    Declaration
    public int BeginColumn { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    BeginLine

    Declaration
    public int BeginLine { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Column

    Declaration
    public int Column { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    EndColumn

    Declaration
    public int EndColumn { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    EndLine

    Declaration
    public int EndLine { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Line

    Declaration
    public int Line { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    BackUp(Int32)

    Declaration
    public void BackUp(int amount)
    Parameters
    Type Name Description
    System.Int32 amount
    | Improve this Doc View Source

    BeginToken()

    Declaration
    public char BeginToken()
    Returns
    Type Description
    System.Char
    | Improve this Doc View Source

    Done()

    Declaration
    public void Done()
    | Improve this Doc View Source

    GetImage()

    Declaration
    public string GetImage()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetSuffix(Int32)

    Declaration
    public char[] GetSuffix(int len)
    Parameters
    Type Name Description
    System.Int32 len
    Returns
    Type Description
    System.Char[]
    | Improve this Doc View Source

    ReadChar()

    Declaration
    public char ReadChar()
    Returns
    Type Description
    System.Char

    Implements

    ICharStream
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)