Class: Kumi::Core::Analyzer::Structs::InputMeta

Inherits:
Struct
  • Object
show all
Defined in:
lib/kumi/core/analyzer/structs/input_meta.rb

Overview

Represents metadata for a single input field produced by InputCollector

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#access_modeObject

Returns the value of attribute access_mode



8
9
10
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 8

def access_mode
  @access_mode
end

#childrenObject

Returns the value of attribute children



8
9
10
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 8

def children
  @children
end

#consume_aliasObject

Returns the value of attribute consume_alias



8
9
10
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 8

def consume_alias
  @consume_alias
end

#containerObject

Returns the value of attribute container



8
9
10
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 8

def container
  @container
end

#domainObject

Returns the value of attribute domain



8
9
10
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 8

def domain
  @domain
end

#enter_viaObject

Returns the value of attribute enter_via



8
9
10
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 8

def enter_via
  @enter_via
end

#typeObject

Returns the value of attribute type



8
9
10
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 8

def type
  @type
end

Instance Method Details

#deep_freeze!Object



18
19
20
21
22
23
24
# File 'lib/kumi/core/analyzer/structs/input_meta.rb', line 18

def deep_freeze!
  if children
    children.each_value(&:deep_freeze!)
    children.freeze
  end
  freeze
end