Class: Idl::FunctionBodySyntaxNode

Inherits:
SyntaxNode show all
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_astObject



8078
8079
8080
# File 'lib/idlc/ast.rb', line 8078

def to_ast
  FunctionBodyAst.new(input, interval, send(:func_stmt_list).elements.map(&:choice).map(&:to_ast))
end