C# Class NVelocity.Runtime.Parser.VelocityCharStream

An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Inheritance: CharStream
Mostra file Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Public Properties

Property Type Description
bufferPosition int

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 ( ) : bool
Done ( ) : void
GetImage ( ) : String
GetSuffix ( int len ) : char[]
ReInit ( TextReader textReader, int startLine, int startColumn ) : void
ReInit ( TextReader textReader, int startLine, int startColumn, int bufferSize ) : void
ReadChar ( ) : bool
VelocityCharStream ( TextReader textReader, int startLine, int startColumn ) : System
VelocityCharStream ( TextReader textReader, int startLine, int startColumn, int bufferSize ) : System

Private Methods

Method Description
EndRead ( ) : bool
ExpandBuff ( bool wrapAround ) : void
FillBuff ( ) : bool
UpdateLineColumn ( ) : 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 ( ) : bool
return bool

Done() public method

public Done ( ) : void
return void

GetImage() public method

public GetImage ( ) : String
return String

GetSuffix() public method

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

ReInit() public method

public ReInit ( TextReader textReader, int startLine, int startColumn ) : void
textReader TextReader
startLine int
startColumn int
return void

ReInit() public method

public ReInit ( TextReader textReader, int startLine, int startColumn, int bufferSize ) : void
textReader TextReader
startLine int
startColumn int
bufferSize int
return void

ReadChar() public method

public ReadChar ( ) : bool
return bool

VelocityCharStream() public method

public VelocityCharStream ( TextReader textReader, int startLine, int startColumn ) : System
textReader TextReader
startLine int
startColumn int
return System

VelocityCharStream() public method

public VelocityCharStream ( TextReader textReader, int startLine, int startColumn, int bufferSize ) : System
textReader TextReader
startLine int
startColumn int
bufferSize int
return System

Property Details

bufferPosition public_oe property

public int bufferPosition
return int