Class: TreeHaver::EditProjectionSupport
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::EditProjectionSupport
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#backend_ref ⇒ Object
Returns the value of attribute backend_ref.
-
#correlation_keys ⇒ Object
Returns the value of attribute correlation_keys.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#language ⇒ Object
Returns the value of attribute language.
-
#native_edit_target ⇒ Object
Returns the value of attribute native_edit_target.
-
#normalized_edit_target ⇒ Object
Returns the value of attribute normalized_edit_target.
-
#preserves_source_fragments ⇒ Object
Returns the value of attribute preserves_source_fragments.
-
#required_node_fields ⇒ Object
Returns the value of attribute required_node_fields.
-
#supported_operations ⇒ Object
Returns the value of attribute supported_operations.
-
#supports_edit_projection ⇒ Object
Returns the value of attribute supports_edit_projection.
-
#unsupported_reason ⇒ Object
Returns the value of attribute unsupported_reason.
Instance Method Summary collapse
Instance Attribute Details
#backend_ref ⇒ Object
Returns the value of attribute backend_ref
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def backend_ref @backend_ref end |
#correlation_keys ⇒ Object
Returns the value of attribute correlation_keys
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def correlation_keys @correlation_keys end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def diagnostics @diagnostics end |
#language ⇒ Object
Returns the value of attribute language
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def language @language end |
#native_edit_target ⇒ Object
Returns the value of attribute native_edit_target
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def native_edit_target @native_edit_target end |
#normalized_edit_target ⇒ Object
Returns the value of attribute normalized_edit_target
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def normalized_edit_target @normalized_edit_target end |
#preserves_source_fragments ⇒ Object
Returns the value of attribute preserves_source_fragments
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def preserves_source_fragments @preserves_source_fragments end |
#required_node_fields ⇒ Object
Returns the value of attribute required_node_fields
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def required_node_fields @required_node_fields end |
#supported_operations ⇒ Object
Returns the value of attribute supported_operations
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def supported_operations @supported_operations end |
#supports_edit_projection ⇒ Object
Returns the value of attribute supports_edit_projection
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def supports_edit_projection @supports_edit_projection end |
#unsupported_reason ⇒ Object
Returns the value of attribute unsupported_reason
315 316 317 |
# File 'lib/tree_haver/contracts.rb', line 315 def unsupported_reason @unsupported_reason end |
Instance Method Details
#to_h ⇒ Object
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
# File 'lib/tree_haver/contracts.rb', line 329 def to_h { backend_ref: backend_ref.to_h, language: language, supports_edit_projection: supports_edit_projection, native_edit_target: native_edit_target, normalized_edit_target: normalized_edit_target, supported_operations: supported_operations || [], required_node_fields: required_node_fields || [], correlation_keys: correlation_keys || [], preserves_source_fragments: preserves_source_fragments, unsupported_reason: unsupported_reason, diagnostics: diagnostics || [] } end |