class LSProtocol::SemanticTokensOptions
- LSProtocol::SemanticTokensOptions
- Reference
- Object
Overview
@since 3.16.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(legend : SemanticTokensLegend | Nil, full : Bool | SemanticTokensFullDelta | Nil = nil, range : Bool | JSON::Any | Nil = nil, work_done_progress : Bool | Nil = nil)
Instance Method Summary
-
#full : Bool | SemanticTokensFullDelta | Nil
Server supports providing semantic tokens for a full document.
-
#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(legend : SemanticTokensLegend | Nil, full : Bool | SemanticTokensFullDelta | Nil = nil, range : Bool | JSON::Any | Nil = nil, work_done_progress : Bool | Nil = nil)
#
Instance Method Detail
def full : Bool | SemanticTokensFullDelta | Nil
#
Server supports providing semantic tokens for a full document.
def range : Bool | JSON::Any | Nil
#
Server supports providing semantic tokens for a specific range of a document.