Token Class
Represents a token.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.SqlParser.Parser.Token
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Class Token
'Usage
Dim instance As Token
public class Token
public ref class Token
type Token = class end
public class Token
The Token type exposes the following members.
Properties
Name | Description | |
---|---|---|
EndLocation | Gets the end location of the token. | |
Id | Gets the token ID. | |
IsSignificant | Gets a value indicating whether the token is a significant token. White space and comments are examples of non-significant tokens. | |
StartLocation | Gets the start location of the token. | |
Text | Gets the token text. | |
Type | Gets the type of the token. | |
Xml | Gets the XML representation of the token. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns a string represenation of the token. (Overrides Object.ToString().) | |
WriteXml | Writes the XML representation of the token out to the specified XmlWriter. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.