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 : Int32, to : Int32) #

[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 : Int32 #

def to : Int32 #

def type : TokenType #