5 6 7 8 9 10 11
# File 'lib/webidl/parse_tree/callback.rb', line 5 def build(parent) Ast::Callback.new( name.text_value, return_type.build(parent), args.empty? ? [] : args.build(parent) ) end