Class: Ast::Merge::ClassMappingNodeClass
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::ClassMappingNodeClass
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#class_id ⇒ Object
Returns the value of attribute class_id.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#matching_ids ⇒ Object
Returns the value of attribute matching_ids.
-
#node_ids ⇒ Object
Returns the value of attribute node_ids.
-
#signature ⇒ Object
Returns the value of attribute signature.
Instance Method Summary collapse
Instance Attribute Details
#class_id ⇒ Object
Returns the value of attribute class_id
220 221 222 |
# File 'lib/ast/merge.rb', line 220 def class_id @class_id end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
220 221 222 |
# File 'lib/ast/merge.rb', line 220 def diagnostics @diagnostics end |
#matching_ids ⇒ Object
Returns the value of attribute matching_ids
220 221 222 |
# File 'lib/ast/merge.rb', line 220 def matching_ids @matching_ids end |
#node_ids ⇒ Object
Returns the value of attribute node_ids
220 221 222 |
# File 'lib/ast/merge.rb', line 220 def node_ids @node_ids end |
#signature ⇒ Object
Returns the value of attribute signature
220 221 222 |
# File 'lib/ast/merge.rb', line 220 def signature @signature end |
Instance Method Details
#to_h ⇒ Object
222 223 224 225 226 227 228 229 230 |
# File 'lib/ast/merge.rb', line 222 def to_h { class_id: class_id, signature: signature, node_ids: node_ids || {}, matching_ids: matching_ids || [], diagnostics: diagnostics || [] } end |