Class: WebIDL::ParseTree::ArgumentList

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/webidl/parse_tree/argument_list.rb

Instance Method Summary collapse

Instance Method Details

#build(parent) ⇒ Object



5
6
7
8
9
10
# File 'lib/webidl/parse_tree/argument_list.rb', line 5

def build(parent)
  list = [arg.build(parent)]
  list += args.build(parent) unless args.empty?

  list
end