struct

Mint::SemanticTokenizer::Token

Inherits Struct < Value < Object

Represents a semantic token using the positions of the token instead of line / column (for the LSP it is converted to line /column).

Constructors

new(from : Parser::Location, to : Parser::Location, type : TokenType)
Source

Instance methods

clone
Source
copy_with(from _from = @from, to _to = @to, type _type = @type)
Source
from
to
type