Class: Rubycc::Front::AST::InitializerList
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::InitializerList
- Defined in:
- lib/rubycc/front/ast.rb
Overview
A brace-enclosed initializer "{ ... }" (ISO C 6.7.9). items is the
ordered list of InitItem, one per comma-separated element (a trailing
comma adds none). Appears as a VariableDecl/GlobalDecl initializer, or
nested as an InitItem's value; the resolver walks it against the
object's type to place each scalar. token is the opening brace.
Instance Attribute Summary collapse
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#items ⇒ Object (readonly)
Returns the value of attribute items
106 107 108 |
# File 'lib/rubycc/front/ast.rb', line 106 def items @items end |
#token ⇒ Object (readonly)
Returns the value of attribute token
106 107 108 |
# File 'lib/rubycc/front/ast.rb', line 106 def token @token end |