Class: Ast::Merge::SignatureMatchingParent
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::SignatureMatchingParent
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#child_order ⇒ Object
Returns the value of attribute child_order.
-
#from_node_id ⇒ Object
Returns the value of attribute from_node_id.
-
#from_path ⇒ Object
Returns the value of attribute from_path.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#role ⇒ Object
Returns the value of attribute role.
-
#to_node_id ⇒ Object
Returns the value of attribute to_node_id.
-
#to_path ⇒ Object
Returns the value of attribute to_path.
Instance Method Summary collapse
Instance Attribute Details
#child_order ⇒ Object
Returns the value of attribute child_order
443 444 445 |
# File 'lib/ast/merge.rb', line 443 def child_order @child_order end |
#from_node_id ⇒ Object
Returns the value of attribute from_node_id
443 444 445 |
# File 'lib/ast/merge.rb', line 443 def from_node_id @from_node_id end |
#from_path ⇒ Object
Returns the value of attribute from_path
443 444 445 |
# File 'lib/ast/merge.rb', line 443 def from_path @from_path end |
#kind ⇒ Object
Returns the value of attribute kind
443 444 445 |
# File 'lib/ast/merge.rb', line 443 def kind @kind end |
#role ⇒ Object
Returns the value of attribute role
443 444 445 |
# File 'lib/ast/merge.rb', line 443 def role @role end |
#to_node_id ⇒ Object
Returns the value of attribute to_node_id
443 444 445 |
# File 'lib/ast/merge.rb', line 443 def to_node_id @to_node_id end |
#to_path ⇒ Object
Returns the value of attribute to_path
443 444 445 |
# File 'lib/ast/merge.rb', line 443 def to_path @to_path end |
Instance Method Details
#to_h ⇒ Object
445 446 447 448 449 450 451 452 453 454 455 |
# File 'lib/ast/merge.rb', line 445 def to_h { kind: kind, role: role, from_path: from_path, to_path: to_path, from_node_id: from_node_id, to_node_id: to_node_id, child_order: child_order } end |