C# Класс Lucene.Net.Demo.Html.SimpleCharStream

An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
bufpos int

Защищенные свойства (Protected)

Свойство Тип Описание
bufcolumn int[]
buffer char[]
bufline int[]
column int
inBuf int
inputStream System.IO.StreamReader
line int
maxNextCharInd int
prevCharIsCR bool
prevCharIsLF bool

Открытые методы

Метод Описание
AdjustBeginLineColumn ( int newLine, int newCol ) : void

Method to adjust line and column numbers for the start of a token.

Backup ( int amount ) : void
BeginToken ( ) : char
Done ( ) : void
GetBeginColumn ( ) : int
GetBeginLine ( ) : int
GetColumn ( ) : int
GetEndColumn ( ) : int
GetEndLine ( ) : int
GetImage ( ) : System.String
GetLine ( ) : int
GetSuffix ( int len ) : char[]
ReInit ( System dstream ) : void
ReInit ( System dstream, int startline, int startcolumn ) : void
ReInit ( System dstream, int startline, int startcolumn, int buffersize ) : void
ReadChar ( ) : char
SimpleCharStream ( System dstream ) : System
SimpleCharStream ( System dstream, int startline, int startcolumn ) : System
SimpleCharStream ( System dstream, int startline, int startcolumn, int buffersize ) : System

Защищенные методы

Метод Описание
ExpandBuff ( bool wrapAround ) : void
FillBuff ( ) : void
UpdateLineColumn ( char c ) : void

Описание методов

AdjustBeginLineColumn() публичный Метод

Method to adjust line and column numbers for the start of a token.
public AdjustBeginLineColumn ( int newLine, int newCol ) : void
newLine int
newCol int
Результат void

Backup() публичный Метод

public Backup ( int amount ) : void
amount int
Результат void

BeginToken() публичный Метод

public BeginToken ( ) : char
Результат char

Done() публичный Метод

public Done ( ) : void
Результат void

ExpandBuff() защищенный Метод

protected ExpandBuff ( bool wrapAround ) : void
wrapAround bool
Результат void

FillBuff() защищенный Метод

protected FillBuff ( ) : void
Результат void

GetBeginColumn() публичный Метод

public GetBeginColumn ( ) : int
Результат int

GetBeginLine() публичный Метод

public GetBeginLine ( ) : int
Результат int

GetColumn() публичный Метод

public GetColumn ( ) : int
Результат int

GetEndColumn() публичный Метод

public GetEndColumn ( ) : int
Результат int

GetEndLine() публичный Метод

public GetEndLine ( ) : int
Результат int

GetImage() публичный Метод

public GetImage ( ) : System.String
Результат System.String

GetLine() публичный Метод

public GetLine ( ) : int
Результат int

GetSuffix() публичный Метод

public GetSuffix ( int len ) : char[]
len int
Результат char[]

ReInit() публичный Метод

public ReInit ( System dstream ) : void
dstream System
Результат void

ReInit() публичный Метод

public ReInit ( System dstream, int startline, int startcolumn ) : void
dstream System
startline int
startcolumn int
Результат void

ReInit() публичный Метод

public ReInit ( System dstream, int startline, int startcolumn, int buffersize ) : void
dstream System
startline int
startcolumn int
buffersize int
Результат void

ReadChar() публичный Метод

public ReadChar ( ) : char
Результат char

SimpleCharStream() публичный Метод

public SimpleCharStream ( System dstream ) : System
dstream System
Результат System

SimpleCharStream() публичный Метод

public SimpleCharStream ( System dstream, int startline, int startcolumn ) : System
dstream System
startline int
startcolumn int
Результат System

SimpleCharStream() публичный Метод

public SimpleCharStream ( System dstream, int startline, int startcolumn, int buffersize ) : System
dstream System
startline int
startcolumn int
buffersize int
Результат System

UpdateLineColumn() защищенный Метод

protected UpdateLineColumn ( char c ) : void
c char
Результат void

Описание свойств

bufcolumn защищенное свойство

protected int[] bufcolumn
Результат int[]

buffer защищенное свойство

protected char[] buffer
Результат char[]

bufline защищенное свойство

protected int[] bufline
Результат int[]

bufpos публичное свойство

public int bufpos
Результат int

column защищенное свойство

protected int column
Результат int

inBuf защищенное свойство

protected int inBuf
Результат int

inputStream защищенное свойство

protected System.IO.StreamReader inputStream
Результат System.IO.StreamReader

line защищенное свойство

protected int line
Результат int

maxNextCharInd защищенное свойство

protected int maxNextCharInd
Результат int

prevCharIsCR защищенное свойство

protected bool prevCharIsCR
Результат bool

prevCharIsLF защищенное свойство

protected bool prevCharIsLF
Результат bool