Class: Rubycc::Front::AST::Block
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::Block
- Defined in:
- lib/rubycc/front/ast.rb
Overview
A compound-statement "{ block-item* }" introducing a new scope.
items is a flat array of declaration/statement nodes.
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
249 250 251 |
# File 'lib/rubycc/front/ast.rb', line 249 def items @items end |
#token ⇒ Object (readonly)
Returns the value of attribute token
249 250 251 |
# File 'lib/rubycc/front/ast.rb', line 249 def token @token end |