lib/webidl/parse_tree/extended_attributes.rb in webidl-0.1.7 vs lib/webidl/parse_tree/extended_attributes.rb in webidl-0.1.8
- old
+ new
@@ -35,7 +35,13 @@
def build(parent)
[key.text_value, scoped_name.build(parent)]
end
end
+ class ExtendedAttributeIdentList < Treetop::Runtime::SyntaxNode
+ def build(parent)
+ [key.text_value, list.text_value.split(",").map(&:strip)]
+ end
+ end
+
end # ParseTree
end # WebIDL