Export (0) Print
Expand All

TokenInfo Class

Provides information about a particular token that the Transact-SQL language parser encountered.


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

public class TokenInfo

The TokenInfo type exposes the following members.

Public methodTokenInfoInitializes a new instance of the TokenInfo class.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string representation of the token information object. (Overrides Object.ToString.)

Public fieldEndIndexDetermines the index of the last character of the token.
Public fieldStartIndexDetermines the index of the first character of the token.
Public fieldTokenDetermines the token ID for the token.
Public fieldTriggerDetermines the various triggers that can be set for the token.
Public fieldTypeDetermines the type of the token.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft