Class: Ast::Merge::MergeIRChange
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::MergeIRChange
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#change_id ⇒ Object
Returns the value of attribute change_id.
-
#class_id ⇒ Object
Returns the value of attribute class_id.
-
#content_hash ⇒ Object
Returns the value of attribute content_hash.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#next_sibling_id ⇒ Object
Returns the value of attribute next_sibling_id.
-
#node_id ⇒ Object
Returns the value of attribute node_id.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#previous_sibling_id ⇒ Object
Returns the value of attribute previous_sibling_id.
-
#side ⇒ Object
Returns the value of attribute side.
Instance Method Summary collapse
Instance Attribute Details
#change_id ⇒ Object
Returns the value of attribute change_id
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def change_id @change_id end |
#class_id ⇒ Object
Returns the value of attribute class_id
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def class_id @class_id end |
#content_hash ⇒ Object
Returns the value of attribute content_hash
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def content_hash @content_hash end |
#kind ⇒ Object
Returns the value of attribute kind
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def kind @kind end |
#next_sibling_id ⇒ Object
Returns the value of attribute next_sibling_id
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def next_sibling_id @next_sibling_id end |
#node_id ⇒ Object
Returns the value of attribute node_id
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def node_id @node_id end |
#parent_id ⇒ Object
Returns the value of attribute parent_id
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def parent_id @parent_id end |
#previous_sibling_id ⇒ Object
Returns the value of attribute previous_sibling_id
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def previous_sibling_id @previous_sibling_id end |
#side ⇒ Object
Returns the value of attribute side
150 151 152 |
# File 'lib/ast/merge.rb', line 150 def side @side end |
Instance Method Details
#to_h ⇒ Object
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/ast/merge.rb', line 162 def to_h { change_id: change_id, side: side, kind: kind, node_id: node_id, class_id: class_id, parent_id: parent_id, previous_sibling_id: previous_sibling_id, next_sibling_id: next_sibling_id, content_hash: content_hash } end |