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

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

공개 프로퍼티들

프로퍼티 타입 설명
Error System.Exception
Line int
LinePos int
Token string
Type TokenType

공개 메소드들

메소드 설명
CheckSymbol ( string symbol ) : void

Ensures that the current TokenType is a symbol equal to the given symbol.

Will raise a LexerException if it is not.

CheckType ( TokenType token ) : void

Ensures that the current TokenType is of the given type.

Will raise a LexerException if it is not.

DebugCheckSymbol ( string symbol ) : void
DebugCheckType ( TokenType token ) : void
IsSymbol ( string symbol ) : bool

Return true if the token's type is Symbol it matches the given symbol.

메소드 상세

CheckSymbol() 공개 메소드

Ensures that the current TokenType is a symbol equal to the given symbol.
Will raise a LexerException if it is not.
public CheckSymbol ( string symbol ) : void
symbol string
리턴 void

CheckType() 공개 메소드

Ensures that the current TokenType is of the given type.
Will raise a LexerException if it is not.
public CheckType ( TokenType token ) : void
token TokenType
리턴 void

DebugCheckSymbol() 공개 메소드

public DebugCheckSymbol ( string symbol ) : void
symbol string
리턴 void

DebugCheckType() 공개 메소드

public DebugCheckType ( TokenType token ) : void
token TokenType
리턴 void

IsSymbol() 공개 메소드

Return true if the token's type is Symbol it matches the given symbol.
public IsSymbol ( string symbol ) : bool
symbol string
리턴 bool

프로퍼티 상세

Error 공개적으로 프로퍼티

public Exception,System Error
리턴 System.Exception

Line 공개적으로 프로퍼티

public int Line
리턴 int

LinePos 공개적으로 프로퍼티

public int LinePos
리턴 int

Token 공개적으로 프로퍼티

public string Token
리턴 string

Type 공개적으로 프로퍼티

public TokenType Type
리턴 TokenType