The specific ParsedTokenType
associated with this token.
Creates an instance of ParsedToken
.
The data associated with the parsed token, structured based on its type.
The raw token (IToken
) associated with this parsed token.
The type of the token (ParsedTokenType
).
Checks if the token is of type ParsedTokenType.Block
.
true
if the token is a block; otherwise, false
.
Checks if the token is of type ParsedTokenType.File
.
true
if the token is a file; otherwise, false
.
Checks if the token is of type ParsedTokenType.Loop
.
true
if the token is a loop; otherwise, false
.
Checks if the token is of type ParsedTokenType.Normal
.
true
if the token is a normal token; otherwise, false
.
Represents a parsed token with a specific type and associated data. Provides utility methods for checking the token type and converting it to a string.