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
#location, #name
Instance Method Summary
collapse
Methods inherited from Base
#==, #context, #docstring, #filename, #infer, #macros, #maybe_directives?, #nearly?, #return_type, #symbol_kind, #to_s, #try_merge!, #variable?
#documentation
#completion_item, #detail, #link_documentation, #reset_conversions, #resolve_completion_item, #signature_help
Constructor Details
#initialize(location, name) ⇒ Symbol
Returns a new instance of Symbol.
6
7
8
9
|
# File 'lib/solargraph/pin/symbol.rb', line 6
def initialize location, name
@name = name
@location = location
end
|
Instance Method Details
27
28
29
|
# File 'lib/solargraph/pin/symbol.rb', line 27
def
''
end
|
#completion_item_kind ⇒ Object
#deprecated? ⇒ Boolean
39
40
41
|
# File 'lib/solargraph/pin/symbol.rb', line 39
def deprecated?
false
end
|
#directives ⇒ Object
35
36
37
|
# File 'lib/solargraph/pin/symbol.rb', line 35
def directives
[]
end
|
#kind ⇒ Object
15
16
17
|
# File 'lib/solargraph/pin/symbol.rb', line 15
def kind
Pin::SYMBOL
end
|
#namespace ⇒ Object
11
12
13
|
# File 'lib/solargraph/pin/symbol.rb', line 11
def namespace
''
end
|
#path ⇒ Object
19
20
21
|
# File 'lib/solargraph/pin/symbol.rb', line 19
def path
''
end
|
#return_complex_type ⇒ Object
31
32
33
|
# File 'lib/solargraph/pin/symbol.rb', line 31
def return_complex_type
@return_complex_type ||= Solargraph::ComplexType::SYMBOL
end
|