Class: Docscribe::Plugin::Context
- Inherits:
-
Struct
- Object
- Struct
- Docscribe::Plugin::Context
- Defined in:
- lib/docscribe/plugin/context.rb
Instance Attribute Summary collapse
- #container ⇒ String
- #inferred_params ⇒ Hash<String, String>
- #inferred_return ⇒ String
- #method_name ⇒ Symbol
- #node ⇒ Parser::AST::Node
- #scope ⇒ Symbol
- #source ⇒ String
- #visibility ⇒ Symbol
Instance Attribute Details
#container ⇒ String
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |
#inferred_params ⇒ Hash<String, String>
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |
#inferred_return ⇒ String
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |
#method_name ⇒ Symbol
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |
#node ⇒ Parser::AST::Node
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |
#scope ⇒ Symbol
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |
#source ⇒ String
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |
#visibility ⇒ Symbol
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/docscribe/plugin/context.rb', line 36 Context = Struct.new( :node, :container, :scope, :visibility, :method_name, :inferred_params, :inferred_return, :source, keyword_init: true ) |