Freigeben über


Token Class

Definition

Represent the token produced from the tokenization process containing the token substring, the id associated to the token substring, and the offset mapping to the original string.

public sealed class Token
type Token = class
Public NotInheritable Class Token
Inheritance
Token

Constructors

Token(Int32, String, ValueTuple<Int32,Int32>)

Construct a new Token object using the token value, Id, and the offset mapping to the original string.

Properties

Id

Gets the Id value associated to the token.

Offset

Gets the offset mapping to the original string.

Value

Gets the token string value.

Applies to