Class: Solargraph::Pin::DuckMethod
- Defined in:
- lib/solargraph/pin/duck_method.rb
Overview
DuckMethod pins are used to add completion items for type tags that use duck typing, e.g., ‘@param file [#read]`.
Instance Attribute Summary
Attributes inherited from Method
#block, #documentation, #node, #signature_help, #signatures, #visibility
Attributes inherited from Callable
#block, #parameters, #return_type
Attributes inherited from Closure
Attributes inherited from Base
#code_object, #location, #name, #path, #return_type, #source, #type_location
Attributes included from Common
Method Summary
Methods inherited from Method
#==, #all_rooted?, #anon_splat?, #attribute?, #block?, #completion_item_kind, #desc, #detail, #explicit?, #generate_signature, #initialize, #nearly?, #overloads, #path, #probe, #resolve_ref_tag, #return_type, #symbol_kind, #to_rbs, #transform_types, #try_merge!, #typify, #with_single_signature
Methods inherited from Callable
#arity_matches?, #block?, #initialize, #mandatory_positional_param_count, #parameter_names, #resolve_generics_from_context, #resolve_generics_from_context_until_complete, #to_rbs, #transform_types
Methods inherited from Closure
#binder, #context, #gates, #generics, #initialize, #rbs_generics, #to_rbs
Methods inherited from Base
#==, #all_rooted?, #best_location, #comments, #completion_item_kind, #deprecated?, #desc, #directives, #docstring, #erase_generics, #filename, #identity, #infer, #initialize, #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
This class inherits a constructor from Solargraph::Pin::Method