C# Class Laan.Sql.Parser.CustomTokenizer

Afficher le fichier Open project: benlaan/sqlformat Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

ExpectBrackets() public méthode

public ExpectBrackets ( ) : Laan.Sql.Parser.BracketStructure
Résultat Laan.Sql.Parser.BracketStructure

ExpectToken() public méthode

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
Résultat void

ExpectTokens() public méthode

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
Résultat void

IsNextToken() public méthode

public IsNextToken ( ) : bool
Résultat bool

ReadNextToken() public méthode

public ReadNextToken ( ) : void
Résultat void

TokenEquals() public méthode

public TokenEquals ( string value ) : bool
value string
Résultat bool