Class: Kumi::Syntax::ArrayExpression
- Inherits:
-
Struct
- Object
- Struct
- Kumi::Syntax::ArrayExpression
- Includes:
- Node
- Defined in:
- lib/kumi/syntax/array_expression.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
Attributes included from Node
Instance Method Summary collapse
Methods included from Node
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements
5 6 7 |
# File 'lib/kumi/syntax/array_expression.rb', line 5 def elements @elements end |
Instance Method Details
#children ⇒ Object
8 |
# File 'lib/kumi/syntax/array_expression.rb', line 8 def children = elements |
#size ⇒ Object
10 11 12 |
# File 'lib/kumi/syntax/array_expression.rb', line 10 def size elements.size end |