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(type : TokenType, from : Int64, to : Int64) #

[View source]

Instance Method Detail

def clone #

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

[View source]
def from : Int64 #

def to : Int64 #

def type : TokenType #