Class: Rubycc::Front::ResolvedInitializer
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::ResolvedInitializer
- Defined in:
- lib/rubycc/front/initializer_resolver.rb
Overview
The outcome of resolving an initializer: type is the object's type with
any "[]" array bound now filled in (so sizeof and the storage layout see a
complete type), entries is the flat list of ScalarInit/BitfieldInit/
StringInit/AggregateInit placements
placements, in source order, that the caller lowers, and flexible_bytes
is the storage an initialized flexible array member adds beyond
type.size (0 for every other object; see #fill_flexible_array_member).
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
-
#flexible_bytes ⇒ Object
readonly
Returns the value of attribute flexible_bytes.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries
43 44 45 |
# File 'lib/rubycc/front/initializer_resolver.rb', line 43 def entries @entries end |
#flexible_bytes ⇒ Object (readonly)
Returns the value of attribute flexible_bytes
43 44 45 |
# File 'lib/rubycc/front/initializer_resolver.rb', line 43 def flexible_bytes @flexible_bytes end |
#type ⇒ Object (readonly)
Returns the value of attribute type
43 44 45 |
# File 'lib/rubycc/front/initializer_resolver.rb', line 43 def type @type end |