C# Class BcsResolver.Common.StringReader

Represents a parser reader that is based on string variable.
Inheritance: IReader
Afficher le fichier Open project: sybila/BCSParser

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Peek ( ) : char

Returns the char at the cursor, or Char.Zero, if we are on the end of file.

Read ( ) : char

Returns the char at the cursor and advances to the next char, or returns Char.Zero, if we are on the end of file.

StringReader ( string text ) : BcsResolver.Tokenizer

Initializes a new instance of the StringReader class.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Peek() public méthode

Returns the char at the cursor, or Char.Zero, if we are on the end of file.
public Peek ( ) : char
Résultat char

Read() public méthode

Returns the char at the cursor and advances to the next char, or returns Char.Zero, if we are on the end of file.
public Read ( ) : char
Résultat char

StringReader() public méthode

Initializes a new instance of the StringReader class.
public StringReader ( string text ) : BcsResolver.Tokenizer
text string
Résultat BcsResolver.Tokenizer