C# 클래스 MapAround.IO.StreamTokenizer

Reads an input stream and constructs tokens from the data read.
파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
GetNumericValue ( ) : double

Parses a numeric value.

GetStringValue ( ) : string

Parses a word value.

GetTokenType ( ) : TokenType

Gets a type of current token.

NextToken ( ) : TokenType

Gets a next token.

NextToken ( bool ignoreWhitespace ) : TokenType

Gets a next token.

StreamTokenizer ( TextReader reader, bool ignoreWhitespace ) : System

Initializes a new instance of MapAround.IO.StreamTokenizer

비공개 메소드들

메소드 설명
GetType ( char character ) : TokenType

Cumputes a token type by its firets character.

NextNonWhitespaceToken ( ) : TokenType

Gets the next token which is different from TokenType.Whitespace.

NextTokenAny ( ) : TokenType

메소드 상세

GetNumericValue() 공개 메소드

Parses a numeric value.
public GetNumericValue ( ) : double
리턴 double

GetStringValue() 공개 메소드

Parses a word value.
public GetStringValue ( ) : string
리턴 string

GetTokenType() 공개 메소드

Gets a type of current token.
public GetTokenType ( ) : TokenType
리턴 TokenType

NextToken() 공개 메소드

Gets a next token.
public NextToken ( ) : TokenType
리턴 TokenType

NextToken() 공개 메소드

Gets a next token.
public NextToken ( bool ignoreWhitespace ) : TokenType
ignoreWhitespace bool A value indicating whether the whitespace symbols are ignored
리턴 TokenType

StreamTokenizer() 공개 메소드

Initializes a new instance of MapAround.IO.StreamTokenizer
public StreamTokenizer ( TextReader reader, bool ignoreWhitespace ) : System
reader TextReader A System>IO.TextReader instance
ignoreWhitespace bool A value indicating whether the whitespace symbols are ignored while tokenizing
리턴 System