Class: WebIDL::ParseTree::ExtendedAttributeArgList

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



14
15
16
17
18
19
# File 'lib/webidl/parse_tree/extended_attributes.rb', line 14

def build(parent)
  unless args.empty?
    arguments = args.build(parent)
  end
  Ast::ExtendedAttribute.new(name.text_value, arguments)
end