Class: WebIDL::ParseTree::ExtendedAttributeList

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

Instance Method Summary collapse

Instance Method Details

#build(parent) ⇒ Object



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

def build(parent)
  list = [attribute.build(parent)]
  list += attributes.build(parent) unless attributes.empty?

  list
end