Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TokenType Enumeration

TokenType Enumeration

Specifies the token types that can be identified and returned by the language service scanner.

Namespace:  Babel
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public enum TokenType

Member nameDescription
CommentA comment. A comment is bounded by /* and */, or is preceded by --.
DelimiterA delimiter.
ErrorThis is typically used for any token that the parser does not recognize, and should be considered an error in the code that is being parsed.
IdentifierAn identifier or name. For example, the name of a variable.
KeywordA language keyword. This is an identifier that is reserved by the language. For example, CREATE, WITH, TABLE, and so on.
NumberA numeric literal.
SqlCmdCommandA SQL Server command.
SqlOperatorAn operator. For example, +, =, LIKE, and so on.
SqlStoredProcedureA stored procedure.
SqlStringA Transact-SQL string.
SqlSystemFunctionA system function.
SqlSystemTableA system table.
TextGeneral text. This is any text that is not identified as a specified token type.

Community Additions

© 2015 Microsoft