C# 클래스 BcsResolver.Common.StringReader

Represents a parser reader that is based on string variable.
상속: IReader
파일 보기 프로젝트 열기: sybila/BCSParser

공개 메소드들

메소드 설명
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