Class: Solargraph::Pin::InstanceVariable

Inherits:
BaseVariable show all
Defined in:
lib/solargraph/pin/instance_variable.rb

Instance Attribute Summary

Attributes inherited from BaseVariable

#assignment, #context

Attributes inherited from Base

#location, #name, #namespace, #path

Instance Method Summary collapse

Methods inherited from BaseVariable

#==, #completion_item_kind, #infer, #initialize, #nil_assignment?, #return_complex_type, #signature, #symbol_kind, #try_merge!, #variable?

Methods included from Source::NodeMethods

const_from, drill_signature, get_node_end_position, get_node_start_position, infer_literal_node_type, pack_name, resolve_node_signature, unpack_name

Methods inherited from Base

#==, #comments, #completion_item_kind, #context, #deprecated?, #directives, #docstring, #filename, #infer, #initialize, #macros, #maybe_directives?, #nearly?, #return_complex_type, #return_type, #symbol_kind, #to_s, #try_merge!, #variable?

Methods included from Documenting

#documentation

Methods included from Conversions

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

Constructor Details

This class inherits a constructor from Solargraph::Pin::BaseVariable

Instance Method Details

#kindObject



4
5
6
# File 'lib/solargraph/pin/instance_variable.rb', line 4

def kind
  Pin::INSTANCE_VARIABLE
end