Share via


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
Public method TSqlParserToken() Initializes a new instance of the TSqlParserToken class.
Public method TSqlParserToken(TSqlTokenType, String) Initializes a new instance of the TSqlParserToken class with the specified type and text of the token.
Public method 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
Public property Column Gets or sets the column of the token.
Public property Line Gets or sets the line of the token.
Public property Offset Gets or sets the offset of the token.
Public property Text Gets or sets the text of the token.
Public property TokenType Gets or sets the value of the token type.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsKeyword Determines the value that indicates whether the token is a language keyword.
Public method 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.

See Also

Reference

Microsoft.SqlServer.TransactSql.ScriptDom Namespace