Class: Ast::Merge::DiffMapperBase::DiffMapping
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::DiffMapperBase::DiffMapping
- Defined in:
- lib/ast/merge/diff_mapper_base.rb
Overview
Represents a mapping from diff changes to AST paths
Instance Attribute Summary collapse
-
#hunk ⇒ Object
Returns the value of attribute hunk.
-
#lines ⇒ Object
Returns the value of attribute lines.
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Attribute Details
#hunk ⇒ Object
Returns the value of attribute hunk
44 45 46 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 44 def hunk @hunk end |
#lines ⇒ Object
Returns the value of attribute lines
44 45 46 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 44 def lines @lines end |
#operation ⇒ Object
Returns the value of attribute operation
44 45 46 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 44 def operation @operation end |
#path ⇒ Object
Returns the value of attribute path
44 45 46 |
# File 'lib/ast/merge/diff_mapper_base.rb', line 44 def path @path end |