Export (0) Print
Expand All

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft