class LanguageServer::Protocol::Interface::TypeDefinitionRegistrationOptions
def document_selector
-
(DocumentSelector)
-
def document_selector attributes.fetch(:documentSelector) end
def id
-
(string)
-
def id attributes.fetch(:id) end
def initialize(document_selector:, work_done_progress: nil, id: nil)
def initialize(document_selector:, work_done_progress: nil, id: nil) @attributes = {} @attributes[:documentSelector] = document_selector @attributes[:workDoneProgress] = work_done_progress if work_done_progress @attributes[:id] = id if id @attributes.freeze end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end
def work_done_progress
-
(boolean)
-
def work_done_progress attributes.fetch(:workDoneProgress) end