Class: Idl::ArrayLiteralSyntaxNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Idl::ArrayLiteralSyntaxNode
- Defined in:
- lib/idl/ast.rb
Instance Method Summary collapse
Instance Method Details
#to_ast ⇒ Object
3043 3044 3045 |
# File 'lib/idl/ast.rb', line 3043 def to_ast ArrayLiteralAst.new(input, interval, [first.to_ast] + rest.elements.map { |r| r.expression.to_ast }) end |