Class: Ast::Merge::SignatureNodeMatch
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::SignatureNodeMatch
- 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_node_id ⇒ Object
Returns the value of attribute from_node_id.
-
#from_path ⇒ Object
Returns the value of attribute from_path.
-
#signature ⇒ Object
Returns the value of attribute signature.
-
#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
#confidence ⇒ Object
Returns the value of attribute confidence
480 481 482 |
# File 'lib/ast/merge.rb', line 480 def confidence @confidence end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
480 481 482 |
# File 'lib/ast/merge.rb', line 480 def diagnostics @diagnostics end |
#from_node_id ⇒ Object
Returns the value of attribute from_node_id
480 481 482 |
# File 'lib/ast/merge.rb', line 480 def from_node_id @from_node_id end |
#from_path ⇒ Object
Returns the value of attribute from_path
480 481 482 |
# File 'lib/ast/merge.rb', line 480 def from_path @from_path end |
#signature ⇒ Object
Returns the value of attribute signature
480 481 482 |
# File 'lib/ast/merge.rb', line 480 def signature @signature end |
#to_node_id ⇒ Object
Returns the value of attribute to_node_id
480 481 482 |
# File 'lib/ast/merge.rb', line 480 def to_node_id @to_node_id end |
#to_path ⇒ Object
Returns the value of attribute to_path
480 481 482 |
# File 'lib/ast/merge.rb', line 480 def to_path @to_path end |
Instance Method Details
#to_h ⇒ Object
482 483 484 485 486 487 488 489 490 491 492 |
# File 'lib/ast/merge.rb', line 482 def to_h { signature: signature, from_path: from_path, to_path: to_path, from_node_id: from_node_id, to_node_id: to_node_id, confidence: confidence, diagnostics: diagnostics || [] } end |