C# 클래스 Lucene.Net.QueryParsers.Surround.Parser.FastCharStream

An efficient implementation of JavaCC's CharStream 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 Lucene.Net.Analysis.Token API.

상속: ICharStream
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
BackUp ( int amount ) : void
BeginToken ( ) : char
Done ( ) : void
FastCharStream ( System r ) : System

Constructs from a System.IO.TextReader.

GetSuffix ( int len ) : char[]
ReadChar ( ) : char

비공개 메소드들

메소드 설명
Refill ( ) : void

메소드 상세

BackUp() 공개 메소드

public BackUp ( int amount ) : void
amount int
리턴 void

BeginToken() 공개 메소드

public BeginToken ( ) : char
리턴 char

Done() 공개 메소드

public Done ( ) : void
리턴 void

FastCharStream() 공개 메소드

Constructs from a System.IO.TextReader.
public FastCharStream ( System r ) : System
r System
리턴 System

GetSuffix() 공개 메소드

public GetSuffix ( int len ) : char[]
len int
리턴 char[]

ReadChar() 공개 메소드

public ReadChar ( ) : char
리턴 char