C# 클래스 Ancestry.QueryProcessor.Parse.Tokenizer

파일 보기 프로젝트 열기: Ancestry/DotQL 1 사용 예제들

공개 메소드들

메소드 설명
Advance ( ) : void
IsReservedWord ( string identifier ) : bool
IsValidIdentifier ( string subject ) : bool
NextToken ( ) : TokenType
SkipComments ( ) : void

Skips all comments and whitepace.

SkipWhiteSpace ( ) : void

Skips any whitespace.

Tokenizer ( string input ) : System

비공개 메소드들

메소드 설명
ExceedsInt32 ( StringBuilder builder ) : bool
ExceedsInt32Hex ( StringBuilder builder ) : bool
IsSymbol ( char charValue ) : bool
ReadNext ( ) : void

Pre-reads the next TokenType (does not affect current).

SkipLineComments ( ) : bool Used internally by SkipComments().

메소드 상세

Advance() 공개 메소드

public Advance ( ) : void
리턴 void

IsReservedWord() 공개 정적인 메소드

public static IsReservedWord ( string identifier ) : bool
identifier string
리턴 bool

IsValidIdentifier() 공개 정적인 메소드

public static IsValidIdentifier ( string subject ) : bool
subject string
리턴 bool

NextToken() 공개 메소드

public NextToken ( ) : TokenType
리턴 TokenType

SkipComments() 공개 메소드

Skips all comments and whitepace.
public SkipComments ( ) : void
리턴 void

SkipWhiteSpace() 공개 메소드

Skips any whitespace.
public SkipWhiteSpace ( ) : void
리턴 void

Tokenizer() 공개 메소드

public Tokenizer ( string input ) : System
input string
리턴 System