Sha256: fa2cb4bbd0d68fa6172d94f8f011d98a7ff196292a72506606bde6a7ad41a154
Contents?: true
Size: 765 Bytes
Versions: 13
Compression:
Stored size: 765 Bytes
Contents
# frozen_string_literal: true module ThemeCheck module LanguageServer class CodeActionProvider class << self def all @all ||= [] end def inherited(subclass) all << subclass end def kind(k = nil) @kind = k unless k.nil? @kind end end attr_reader :storage attr_reader :diagnostics_manager def initialize(storage, diagnostics_manager) @storage = storage @diagnostics_manager = diagnostics_manager end def kind self.class.kind end def base_kind kind.split('.')[0] end def code_actions(relative_path, range) raise NotImplementedError end end end end
Version data entries
13 entries across 13 versions & 1 rubygems