Class: Idl::ForLoopSyntaxNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Idl::ForLoopSyntaxNode
- Defined in:
- lib/idl/ast.rb
Instance Method Summary collapse
Instance Method Details
#to_ast ⇒ Object
5165 5166 5167 5168 5169 5170 5171 5172 5173 |
# File 'lib/idl/ast.rb', line 5165 def to_ast ForLoopAst.new( input, interval, single_declaration_with_initialization.to_ast, condition.to_ast, action.to_ast, stmts.elements.map(&:s).map(&:to_ast) ) end |