Class: Solargraph::Pin::Reference
- Defined in:
- lib/solargraph/pin/reference.rb,
lib/solargraph/pin/reference/extend.rb,
lib/solargraph/pin/reference/include.rb,
lib/solargraph/pin/reference/prepend.rb,
lib/solargraph/pin/reference/require.rb,
lib/solargraph/pin/reference/override.rb,
lib/solargraph/pin/reference/superclass.rb
Defined Under Namespace
Classes: Extend, Include, Override, Prepend, Require, Superclass
Instance Attribute Summary collapse
-
#generic_values ⇒ Object
readonly
Returns the value of attribute generic_values.
Attributes inherited from Base
#code_object, #location, #name, #path, #return_type, #source, #type_location
Attributes included from Common
Instance Method Summary collapse
-
#initialize(generic_values: [], **splat) ⇒ Reference
constructor
A new instance of Reference.
Methods inherited from Base
#==, #all_rooted?, #best_location, #comments, #completion_item_kind, #deprecated?, #desc, #directives, #docstring, #erase_generics, #filename, #identity, #infer, #inspect, #macros, #maybe_directives?, #nearly?, #presence_certain?, #probe, #probed?, #proxied?, #proxy, #realize, #resolve_generics, #resolve_generics_from_context, #symbol_kind, #to_rbs, #to_s, #transform_types, #try_merge!, #type_desc, #typify, #variable?
Methods included from Documenting
#documentation, normalize_indentation, strip_html_comments
Methods included from Conversions
#completion_item, #completion_item_kind, #deprecated?, #detail, #link_documentation, #probed?, #proxied?, #reset_conversions, #resolve_completion_item, #signature_help, #text_documentation
Methods included from Common
#binder, #comments, #name, #namespace, #path, #return_type
Constructor Details
#initialize(generic_values: [], **splat) ⇒ Reference
Returns a new instance of Reference.
16 17 18 19 |
# File 'lib/solargraph/pin/reference.rb', line 16 def initialize generic_values: [], **splat super(**splat) @generic_values = generic_values end |
Instance Attribute Details
#generic_values ⇒ Object (readonly)
Returns the value of attribute generic_values.
13 14 15 |
# File 'lib/solargraph/pin/reference.rb', line 13 def generic_values @generic_values end |