class LSProtocol::SemanticTokensRegistrationOptions
- LSProtocol::SemanticTokensRegistrationOptions
- Reference
- Object
Overview
@since 3.16.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(document_selector : DocumentSelector | Nil, legend : SemanticTokensLegend | Nil, full : Bool | SemanticTokensFullDelta | Nil = nil, id : String | Nil = nil, range : Bool | JSON::Any | Nil = nil, work_done_progress : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#document_selector : DocumentSelector | Nil
A document selector to identify the scope of the registration.
-
#full : Bool | SemanticTokensFullDelta | Nil
Server supports providing semantic tokens for a full document.
-
#id : String | Nil
The id used to register the request.
-
#legend : SemanticTokensLegend
The legend used by the server
-
#range : Bool | JSON::Any | Nil
Server supports providing semantic tokens for a specific range of a document.
- #work_done_progress : Bool | Nil
Constructor Detail
def self.new(document_selector : DocumentSelector | Nil, legend : SemanticTokensLegend | Nil, full : Bool | SemanticTokensFullDelta | Nil = nil, id : String | Nil = nil, range : Bool | JSON::Any | Nil = nil, work_done_progress : Bool | Nil = nil)
#
Instance Method Detail
def document_selector : DocumentSelector | Nil
#
A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
def full : Bool | SemanticTokensFullDelta | Nil
#
Server supports providing semantic tokens for a full document.
def id : String | Nil
#
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
def range : Bool | JSON::Any | Nil
#
Server supports providing semantic tokens for a specific range of a document.