Class: Kumi::Core::Analyzer::Passes::InputCollectorPass::Node
- Inherits:
-
Struct
- Object
- Struct
- Kumi::Core::Analyzer::Passes::InputCollectorPass::Node
- Defined in:
- lib/kumi/core/analyzer/passes/input_collector_pass.rb
Instance Attribute Summary collapse
-
#access_mode ⇒ Object
Returns the value of attribute access_mode.
-
#child_steps ⇒ Object
Returns the value of attribute child_steps.
-
#children ⇒ Object
Returns the value of attribute children.
-
#container ⇒ Object
Returns the value of attribute container.
-
#define_index ⇒ Object
Returns the value of attribute define_index.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#access_mode ⇒ Object
Returns the value of attribute access_mode
10 11 12 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 10 def access_mode @access_mode end |
#child_steps ⇒ Object
Returns the value of attribute child_steps
10 11 12 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 10 def child_steps @child_steps end |
#children ⇒ Object
Returns the value of attribute children
10 11 12 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 10 def children @children end |
#container ⇒ Object
Returns the value of attribute container
10 11 12 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 10 def container @container end |
#define_index ⇒ Object
Returns the value of attribute define_index
10 11 12 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 10 def define_index @define_index end |
#domain ⇒ Object
Returns the value of attribute domain
10 11 12 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 10 def domain @domain end |
#type ⇒ Object
Returns the value of attribute type
10 11 12 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 10 def type @type end |
Instance Method Details
#as_json ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 11 def as_json(*) { type: type, domain: domain, container: container, children: children&.transform_values(&:as_json), access_mode: access_mode, child_steps: child_steps, define_index: define_index } end |
#to_json(*args) ⇒ Object
23 24 25 |
# File 'lib/kumi/core/analyzer/passes/input_collector_pass.rb', line 23 def to_json(*args) as_json.to_json(*args) end |