Class: WebIDL::ParseTree::ExtendedAttributeIdentList

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



41
42
43
# File 'lib/webidl/parse_tree/extended_attributes.rb', line 41

def build(parent)
  [key.text_value, list.text_value.split(",").map(&:strip)]
end