class LSProtocol::ColorInformation

Overview

Represents a color range from a document.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(color : Color | Nil, range : Range | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def color : Color #

The actual color value for this color range.


[View source]
def range : Range #

The range in the document where this color appears.


[View source]