Class: Solargraph::Pin::Reference::Override

Inherits:
Solargraph::Pin::Reference show all
Defined in:
lib/solargraph/pin/reference/override.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#code_object, #location, #name, #path, #return_type

Attributes included from Common

#closure, #location

Instance Method Summary collapse

Methods inherited from Base

#==, #comments, #completion_item_kind, #deprecated?, #directives, #docstring, #filename, #infer, #inspect, #macros, #maybe_directives?, #nearly?, #probe, #probed?, #proxied?, #proxy, #realize, #symbol_kind, #to_s, #try_merge!, #typify, #variable?

Methods included from Documenting

#documentation

Methods included from Conversions

#completion_item, #detail, #link_documentation, #reset_conversions, #resolve_completion_item, #signature_help

Methods included from Common

#binder, #comments, #context, #name, #namespace, #path, #return_type

Constructor Details

#initialize(location, name, tags) ⇒ Override


7
8
9
10
# File 'lib/solargraph/pin/reference/override.rb', line 7

def initialize location, name, tags
  super(location: location, name: name)
  @tags = tags
end

Instance Attribute Details

#tagsObject (readonly)

Returns the value of attribute tags


5
6
7
# File 'lib/solargraph/pin/reference/override.rb', line 5

def tags
  @tags
end

Instance Method Details

#kindObject


12
13
14
# File 'lib/solargraph/pin/reference/override.rb', line 12

def kind
  Pin::OVERRIDE_REFERENCE
end