C# Class Lucene.Net.Demo.Html.SimpleCharStream

An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Show file Open project: runefs/Marvin Class Usage Examples

Public Properties

Property Type Description
bufpos int

Protected Properties

Property Type Description
bufcolumn int[]
buffer char[]
bufline int[]
column int
inBuf int
inputStream System.IO.StreamReader
line int
maxNextCharInd int
prevCharIsCR bool
prevCharIsLF bool

Public Methods

Method Description
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

Protected Methods

Method Description
ExpandBuff ( bool wrapAround ) : void
FillBuff ( ) : void
UpdateLineColumn ( char c ) : void

Method Details

AdjustBeginLineColumn() public method

Method to adjust line and column numbers for the start of a token.
public AdjustBeginLineColumn ( int newLine, int newCol ) : void
newLine int
newCol int
return void

Backup() public method

public Backup ( int amount ) : void
amount int
return void

BeginToken() public method

public BeginToken ( ) : char
return char

Done() public method

public Done ( ) : void
return void

ExpandBuff() protected method

protected ExpandBuff ( bool wrapAround ) : void
wrapAround bool
return void

FillBuff() protected method

protected FillBuff ( ) : void
return void

GetBeginColumn() public method

public GetBeginColumn ( ) : int
return int

GetBeginLine() public method

public GetBeginLine ( ) : int
return int

GetColumn() public method

public GetColumn ( ) : int
return int

GetEndColumn() public method

public GetEndColumn ( ) : int
return int

GetEndLine() public method

public GetEndLine ( ) : int
return int

GetImage() public method

public GetImage ( ) : System.String
return System.String

GetLine() public method

public GetLine ( ) : int
return int

GetSuffix() public method

public GetSuffix ( int len ) : char[]
len int
return char[]

ReInit() public method

public ReInit ( System dstream ) : void
dstream System
return void

ReInit() public method

public ReInit ( System dstream, int startline, int startcolumn ) : void
dstream System
startline int
startcolumn int
return void

ReInit() public method

public ReInit ( System dstream, int startline, int startcolumn, int buffersize ) : void
dstream System
startline int
startcolumn int
buffersize int
return void

ReadChar() public method

public ReadChar ( ) : char
return char

SimpleCharStream() public method

public SimpleCharStream ( System dstream ) : System
dstream System
return System

SimpleCharStream() public method

public SimpleCharStream ( System dstream, int startline, int startcolumn ) : System
dstream System
startline int
startcolumn int
return System

SimpleCharStream() public method

public SimpleCharStream ( System dstream, int startline, int startcolumn, int buffersize ) : System
dstream System
startline int
startcolumn int
buffersize int
return System

UpdateLineColumn() protected method

protected UpdateLineColumn ( char c ) : void
c char
return void

Property Details

bufcolumn protected property

protected int[] bufcolumn
return int[]

buffer protected property

protected char[] buffer
return char[]

bufline protected property

protected int[] bufline
return int[]

bufpos public property

public int bufpos
return int

column protected property

protected int column
return int

inBuf protected property

protected int inBuf
return int

inputStream protected property

protected System.IO.StreamReader inputStream
return System.IO.StreamReader

line protected property

protected int line
return int

maxNextCharInd protected property

protected int maxNextCharInd
return int

prevCharIsCR protected property

protected bool prevCharIsCR
return bool

prevCharIsLF protected property

protected bool prevCharIsLF
return bool