Class: Idl::ConstraintBodySyntaxNode
- Inherits:
-
SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SyntaxNode
- Idl::ConstraintBodySyntaxNode
- 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
4211 4212 4213 4214 4215 4216 4217 |
# File 'lib/idlc/ast.rb', line 4211 def to_ast stmts = [] send(:b).elements.each do |e| stmts << e.i.to_ast end ConstraintBodyAst.new(input, interval, stmts) end |