struct Mint::SemanticTokenizer::Token

Overview

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

Defined in:

semantic_tokenizer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(from : Parser::Location, to : Parser::Location, type : TokenType) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(from _from = @from, to _to = @to, type _type = @type) #

[View source]
def from : Parser::Location #

def to : Parser::Location #

def type : TokenType #