C# Class FirstFloor.ModernUI.Windows.Controls.BbCode.CharBuffer

Represents a character buffer.
ファイルを表示 Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
CharBuffer ( [ value ) : System

Initializes a new instance of the T:CharBuffer class.

Consume ( ) : void

Consumes the next character.

Keep ( ) : void
La ( int count ) : char

Performs a look-ahead.

Mark ( ) : void

Marks the current _position.

Restore ( ) : void

Private Methods

Method Description
GetMark ( ) : string

Method Details

CharBuffer() public method

Initializes a new instance of the T:CharBuffer class.
public CharBuffer ( [ value ) : System
value [ The _value.
return System

Consume() public method

Consumes the next character.
public Consume ( ) : void
return void

Keep() public method

public Keep ( ) : void
return void

La() public method

Performs a look-ahead.
public La ( int count ) : char
count int The number of character to look ahead.
return char

Mark() public method

Marks the current _position.
public Mark ( ) : void
return void

Restore() public method

public Restore ( ) : void
return void