Class: Ast::Merge::MoveDetectionMatch
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::MoveDetectionMatch
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Object
Returns the value of attribute confidence.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#from_index ⇒ Object
Returns the value of attribute from_index.
-
#from_node_id ⇒ Object
Returns the value of attribute from_node_id.
-
#from_parent_path ⇒ Object
Returns the value of attribute from_parent_path.
-
#from_path ⇒ Object
Returns the value of attribute from_path.
-
#moved ⇒ Object
Returns the value of attribute moved.
-
#signature ⇒ Object
Returns the value of attribute signature.
-
#to_index ⇒ Object
Returns the value of attribute to_index.
-
#to_node_id ⇒ Object
Returns the value of attribute to_node_id.
-
#to_parent_path ⇒ Object
Returns the value of attribute to_parent_path.
-
#to_path ⇒ Object
Returns the value of attribute to_path.
Instance Method Summary collapse
Instance Attribute Details
#confidence ⇒ Object
Returns the value of attribute confidence
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def confidence @confidence end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def diagnostics @diagnostics end |
#from_index ⇒ Object
Returns the value of attribute from_index
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def from_index @from_index end |
#from_node_id ⇒ Object
Returns the value of attribute from_node_id
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def from_node_id @from_node_id end |
#from_parent_path ⇒ Object
Returns the value of attribute from_parent_path
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def from_parent_path @from_parent_path end |
#from_path ⇒ Object
Returns the value of attribute from_path
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def from_path @from_path end |
#moved ⇒ Object
Returns the value of attribute moved
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def moved @moved end |
#signature ⇒ Object
Returns the value of attribute signature
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def signature @signature end |
#to_index ⇒ Object
Returns the value of attribute to_index
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def to_index @to_index end |
#to_node_id ⇒ Object
Returns the value of attribute to_node_id
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def to_node_id @to_node_id end |
#to_parent_path ⇒ Object
Returns the value of attribute to_parent_path
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def to_parent_path @to_parent_path end |
#to_path ⇒ Object
Returns the value of attribute to_path
560 561 562 |
# File 'lib/ast/merge.rb', line 560 def to_path @to_path end |
Instance Method Details
#to_h ⇒ Object
562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 |
# File 'lib/ast/merge.rb', line 562 def to_h { from_path: from_path, to_path: to_path, from_node_id: from_node_id, to_node_id: to_node_id, signature: signature, moved: moved, from_parent_path: from_parent_path, to_parent_path: to_parent_path, from_index: from_index, to_index: to_index, confidence: confidence, diagnostics: diagnostics || [] } end |