Class: Solargraph::Pin::GlobalVariable

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

Instance Attribute Summary

Attributes inherited from BaseVariable

#assignment

Attributes inherited from Base

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

Attributes included from Common

#closure, #location

Instance Method Summary collapse

Methods inherited from BaseVariable

#==, #completion_item_kind, #initialize, #nil_assignment?, #probe, #return_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, returns_from, unpack_name

Methods inherited from Base

#==, #comments, #completion_item_kind, #deprecated?, #directives, #docstring, #filename, #infer, #initialize, #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

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

Instance Method Details

#kindObject


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

def kind
  Pin::GLOBAL_VARIABLE
end