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
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()
Assembly: Lucene.Net.QueryParser.dll
Syntax
public sealed class FastCharStream : ICharStream
Constructors
|
Improve this Doc
View Source
FastCharStream(TextReader)
Constructs from a System.IO.TextReader.
Declaration
public FastCharStream(TextReader r)
Parameters
Type |
Name |
Description |
System.IO.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
Image
Declaration
public string Image { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Line
Declaration
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
Returns
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
Done()
Declaration
|
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
Returns
Type |
Description |
System.Char |
|
Implements