Class: Idl::MultiVariableDeclarationSyntaxNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Idl::MultiVariableDeclarationSyntaxNode
- Defined in:
- lib/idl/ast.rb
Instance Method Summary collapse
Instance Method Details
#to_ast ⇒ Object
2159 2160 2161 |
# File 'lib/idl/ast.rb', line 2159 def to_ast MultiVariableDeclarationAst.new(input, interval, type_name.to_ast, [first.to_ast] + rest.elements.map { |r| r.id.to_ast }) end |