Class: Idl::MultiVariableDeclarationSyntaxNode
- Inherits:
-
SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SyntaxNode
- Idl::MultiVariableDeclarationSyntaxNode
- Defined in:
- lib/idlc/ast.rb
Instance Method Summary collapse
Methods inherited from Treetop::Runtime::SyntaxNode
#set_input_file, #set_input_file_unless_already_set, #space?
Instance Method Details
#to_ast ⇒ Object
3544 3545 3546 |
# File 'lib/idlc/ast.rb', line 3544 def to_ast MultiVariableDeclarationAst.new(input, interval, send(:type_name).to_ast, [send(:first).to_ast] + send(:rest).elements.map { |r| r.id.to_ast }) end |