Class: Ast::Merge::SignatureMatchingParent

Inherits:
Struct
  • Object
show all
Defined in:
lib/ast/merge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#child_orderObject

Returns the value of attribute child_order

Returns:

  • (Object)

    the current value of child_order



443
444
445
# File 'lib/ast/merge.rb', line 443

def child_order
  @child_order
end

#from_node_idObject

Returns the value of attribute from_node_id

Returns:

  • (Object)

    the current value of from_node_id



443
444
445
# File 'lib/ast/merge.rb', line 443

def from_node_id
  @from_node_id
end

#from_pathObject

Returns the value of attribute from_path

Returns:

  • (Object)

    the current value of from_path



443
444
445
# File 'lib/ast/merge.rb', line 443

def from_path
  @from_path
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



443
444
445
# File 'lib/ast/merge.rb', line 443

def kind
  @kind
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



443
444
445
# File 'lib/ast/merge.rb', line 443

def role
  @role
end

#to_node_idObject

Returns the value of attribute to_node_id

Returns:

  • (Object)

    the current value of to_node_id



443
444
445
# File 'lib/ast/merge.rb', line 443

def to_node_id
  @to_node_id
end

#to_pathObject

Returns the value of attribute to_path

Returns:

  • (Object)

    the current value of to_path



443
444
445
# File 'lib/ast/merge.rb', line 443

def to_path
  @to_path
end

Instance Method Details

#to_hObject



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