Class: Solargraph::Pin::Symbol
- Inherits:
-
Base
- Object
- Base
- Solargraph::Pin::Symbol
show all
- Defined in:
- lib/solargraph/pin/symbol.rb
Instance Attribute Summary
Attributes inherited from Base
#code_object, #location, #name, #source, #type_location
Attributes included from Common
#closure, #context, #location
Instance Method Summary
collapse
Methods inherited from Base
#==, #all_location_text, #all_rooted?, #assert_source_provided, #best_location, #desc, #docstring, #erase_generics, #filename, #identity, #infer, #inner_desc, #inspect, #macros, #maybe_directives?, #nearly?, #presence_certain?, #probe, #probed?, #proxied?, #proxy, #realize, #reset_generated!, #resolve_generics, #resolve_generics_from_context, #symbol_kind, #to_rbs, #to_s, #transform_types, #try_merge!, #type_desc, #typify, #variable?
#documentation, normalize_indentation, strip_html_comments
#completion_item, #detail, #link_documentation, #probed?, #proxied?, #reset_conversions, #resolve_completion_item, #signature_help, #text_documentation
Methods included from Common
#binder, #name
Constructor Details
#initialize(location, name, **kwargs) ⇒ Symbol
Returns a new instance of Symbol.
8
9
10
11
12
13
|
# File 'lib/solargraph/pin/symbol.rb', line 8
def initialize(location, name, **kwargs)
super(location: location, name: name, **kwargs)
end
|
Instance Method Details
27
28
29
|
# File 'lib/solargraph/pin/symbol.rb', line 27
def
''
end
|
#completion_item_kind ⇒ Object
#deprecated? ⇒ Boolean
43
44
45
|
# File 'lib/solargraph/pin/symbol.rb', line 43
def deprecated?
false
end
|
#directives ⇒ Object
35
36
37
|
# File 'lib/solargraph/pin/symbol.rb', line 35
def directives
[]
end
|
#namespace ⇒ Object
15
16
17
|
# File 'lib/solargraph/pin/symbol.rb', line 15
def namespace
''
end
|
#path ⇒ Object
19
20
21
|
# File 'lib/solargraph/pin/symbol.rb', line 19
def path
''
end
|
#return_type ⇒ Object
31
32
33
|
# File 'lib/solargraph/pin/symbol.rb', line 31
def return_type
@return_type ||= Solargraph::ComplexType::SYMBOL
end
|
#visibility ⇒ Object
39
40
41
|
# File 'lib/solargraph/pin/symbol.rb', line 39
def visibility
:public
end
|