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
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def change_id @change_id end |
#class_id ⇒ Object
Returns the value of attribute class_id
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def class_id @class_id end |
#content_hash ⇒ Object
Returns the value of attribute content_hash
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def content_hash @content_hash end |
#kind ⇒ Object
Returns the value of attribute kind
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def kind @kind end |
#next_sibling_id ⇒ Object
Returns the value of attribute next_sibling_id
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def next_sibling_id @next_sibling_id end |
#node_id ⇒ Object
Returns the value of attribute node_id
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def node_id @node_id end |
#parent_id ⇒ Object
Returns the value of attribute parent_id
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def parent_id @parent_id end |
#previous_sibling_id ⇒ Object
Returns the value of attribute previous_sibling_id
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def previous_sibling_id @previous_sibling_id end |
#side ⇒ Object
Returns the value of attribute side
172 173 174 |
# File 'lib/ast/merge.rb', line 172 def side @side end |
Instance Method Details
#to_h ⇒ Object
184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'lib/ast/merge.rb', line 184 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 |