Class: Kumi::Core::Analyzer::Passes::InputCollector::Node
- Inherits:
-
Struct
- Object
- Struct
- Kumi::Core::Analyzer::Passes::InputCollector::Node
- Defined in:
- lib/kumi/core/analyzer/passes/input_collector.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
8 9 10 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 8 def access_mode @access_mode end |
#child_steps ⇒ Object
Returns the value of attribute child_steps
8 9 10 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 8 def child_steps @child_steps end |
#children ⇒ Object
Returns the value of attribute children
8 9 10 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 8 def children @children end |
#container ⇒ Object
Returns the value of attribute container
8 9 10 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 8 def container @container end |
#define_index ⇒ Object
Returns the value of attribute define_index
8 9 10 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 8 def define_index @define_index end |
#domain ⇒ Object
Returns the value of attribute domain
8 9 10 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 8 def domain @domain end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 8 def type @type end |
Instance Method Details
#as_json ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 9 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
21 22 23 |
# File 'lib/kumi/core/analyzer/passes/input_collector.rb', line 21 def to_json(*args) as_json.to_json(*args) end |