TSqlParserToken Class
Represents a parser token.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public NotInheritable Class TSqlParserToken
'Usage
Dim instance As TSqlParserToken
public sealed class TSqlParserToken
public ref class TSqlParserToken sealed
[<SealedAttribute>]
type TSqlParserToken = class end
public final class TSqlParserToken
The TSqlParserToken type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TSqlParserToken() | Initializes a new instance of the TSqlParserToken class. | |
TSqlParserToken(TSqlTokenType, String) | Initializes a new instance of the TSqlParserToken class with the specified type and text of the token. | |
TSqlParserToken(TSqlTokenType, Int32, String, Int32, Int32) | Initializes a new instance of the TSqlParserToken class with the specified type, offset, text, line and column of the token. |
Top
Properties
Name | Description | |
---|---|---|
Column | Gets or sets the column of the token. | |
Line | Gets or sets the line of the token. | |
Offset | Gets or sets the offset of the token. | |
Text | Gets or sets the text of the token. | |
TokenType | Gets or sets the value of the token type. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsKeyword | Determines the value that indicates whether the token is a language keyword. | |
ToString | (Inherited from Object.) |
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.