class LanguageServer::Protocol::Interface::CodeActionRegistrationOptions
def code_action_kinds
-
(string[])
-
def code_action_kinds attributes.fetch(:codeActionKinds) end
def document_selector
-
(DocumentSelector)
-
def document_selector attributes.fetch(:documentSelector) end
def initialize(document_selector:, work_done_progress: nil, code_action_kinds: nil, resolve_provider: nil)
def initialize(document_selector:, work_done_progress: nil, code_action_kinds: nil, resolve_provider: nil) @attributes = {} @attributes[:documentSelector] = document_selector @attributes[:workDoneProgress] = work_done_progress if work_done_progress @attributes[:codeActionKinds] = code_action_kinds if code_action_kinds @attributes[:resolveProvider] = resolve_provider if resolve_provider @attributes.freeze end
def resolve_provider
-
(boolean)
-
def resolve_provider attributes.fetch(:resolveProvider) 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