C# Класс BcsResolver.Common.StringReader

Represents a parser reader that is based on string variable.
Наследование: IReader
Показать файл Открыть проект

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

Метод Описание
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.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Returns the char at the cursor, or Char.Zero, if we are on the end of file.
public Peek ( ) : char
Результат char

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

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
Результат char

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

Initializes a new instance of the StringReader class.
public StringReader ( string text ) : BcsResolver.Tokenizer
text string
Результат BcsResolver.Tokenizer