Class: Idl::ForLoopSyntaxNode
- Inherits:
-
SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SyntaxNode
- Idl::ForLoopSyntaxNode
- 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
8603 8604 8605 8606 8607 8608 8609 8610 8611 |
# File 'lib/idlc/ast.rb', line 8603 def to_ast ForLoopAst.new( input, interval, send(:for_loop_iteration_variable_declaration).to_ast, send(:condition).to_ast, send(:action).to_ast, send(:stmts).elements.map(&:s).map(&:to_ast) ) end |