C# 클래스 Laan.Sql.Parser.CustomTokenizer

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

공개 메소드들

메소드 설명
ExpectBrackets ( ) : Laan.Sql.Parser.BracketStructure
ExpectToken ( string token ) : void

Verify current token matches expected token. Read next token if successful.

ExpectTokens ( string tokens ) : void

Verify current tokens match expected tokens. Read next token if successful.

IsNextToken ( ) : bool
ReadNextToken ( ) : void
TokenEquals ( string value ) : bool

메소드 상세

ExpectBrackets() 공개 메소드

public ExpectBrackets ( ) : Laan.Sql.Parser.BracketStructure
리턴 Laan.Sql.Parser.BracketStructure

ExpectToken() 공개 메소드

Verify current token matches expected token. Read next token if successful.
current token did not match
public ExpectToken ( string token ) : void
token string Expected token
리턴 void

ExpectTokens() 공개 메소드

Verify current tokens match expected tokens. Read next token if successful.
current token did not match
public ExpectTokens ( string tokens ) : void
tokens string Expected tokens
리턴 void

IsNextToken() 공개 메소드

public IsNextToken ( ) : bool
리턴 bool

ReadNextToken() 공개 메소드

public ReadNextToken ( ) : void
리턴 void

TokenEquals() 공개 메소드

public TokenEquals ( string value ) : bool
value string
리턴 bool