Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.8919.0" />

.NET API 5,156,896 bytes

 TSqlParserToken

public sealed class TSqlParserToken : IToken
Represents a single Token in the input text.
public int Column { get; set; }

Gets or sets the column.

public int Line { get; set; }

Gets or sets the line.

public int Offset { get; set; }

Gets or sets the offset.

public string Text { get; set; }

Gets or sets the text.

public TSqlTokenType TokenType { get; set; }

Gets or sets the type of the token.

public TSqlParserToken()

Initializes a new instance of the TSqlParserToken class.

public TSqlParserToken(TSqlTokenType type, string text)

Initializes a new instance of the TSqlParserToken class.

public TSqlParserToken(TSqlTokenType type, int offset, string text, int line, int column)

Initializes a new instance of the TSqlParserToken class.

public bool IsKeyword()

Determines if the token is a language keyword.