Class: Solargraph::Pin::While
- Includes:
- Breakable
- Defined in:
- lib/solargraph/pin/while.rb
Instance Attribute Summary
Attributes included from Breakable
Attributes inherited from Base
#code_object, #location, #name, #path, #return_type, #source, #type_location
Attributes included from Common
Instance Method Summary collapse
-
#initialize(node: nil, **splat) ⇒ While
constructor
A new instance of While.
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(node: nil, **splat) ⇒ While
Returns a new instance of While.
12 13 14 15 |
# File 'lib/solargraph/pin/while.rb', line 12 def initialize node: nil, **splat super(**splat) @node = node end |