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
242 243 244 |
# File 'lib/ast/merge.rb', line 242 def class_id @class_id end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
242 243 244 |
# File 'lib/ast/merge.rb', line 242 def diagnostics @diagnostics end |
#matching_ids ⇒ Object
Returns the value of attribute matching_ids
242 243 244 |
# File 'lib/ast/merge.rb', line 242 def matching_ids @matching_ids end |
#node_ids ⇒ Object
Returns the value of attribute node_ids
242 243 244 |
# File 'lib/ast/merge.rb', line 242 def node_ids @node_ids end |
#signature ⇒ Object
Returns the value of attribute signature
242 243 244 |
# File 'lib/ast/merge.rb', line 242 def signature @signature end |
Instance Method Details
#to_h ⇒ Object
244 245 246 247 248 249 250 251 252 |
# File 'lib/ast/merge.rb', line 244 def to_h { class_id: class_id, signature: signature, node_ids: node_ids || {}, matching_ids: matching_ids || [], diagnostics: diagnostics || [] } end |