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
465 466 467 |
# File 'lib/ast/merge.rb', line 465 def child_order @child_order end |
#from_node_id ⇒ Object
Returns the value of attribute from_node_id
465 466 467 |
# File 'lib/ast/merge.rb', line 465 def from_node_id @from_node_id end |
#from_path ⇒ Object
Returns the value of attribute from_path
465 466 467 |
# File 'lib/ast/merge.rb', line 465 def from_path @from_path end |
#kind ⇒ Object
Returns the value of attribute kind
465 466 467 |
# File 'lib/ast/merge.rb', line 465 def kind @kind end |
#role ⇒ Object
Returns the value of attribute role
465 466 467 |
# File 'lib/ast/merge.rb', line 465 def role @role end |
#to_node_id ⇒ Object
Returns the value of attribute to_node_id
465 466 467 |
# File 'lib/ast/merge.rb', line 465 def to_node_id @to_node_id end |
#to_path ⇒ Object
Returns the value of attribute to_path
465 466 467 |
# File 'lib/ast/merge.rb', line 465 def to_path @to_path end |
Instance Method Details
#to_h ⇒ Object
467 468 469 470 471 472 473 474 475 476 477 |
# File 'lib/ast/merge.rb', line 467 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 |