{{!-- extAttrs should match the structure at https://github.com/darobin/webidl2.js#extended-attributes. --}}{{idn indent}}[{{#join extAttrs sep }}{{name }}{{#if rhs}}={{rhs.value}}{{/if }}{{#jsIf arguments}}({{#join arguments ", "}}{{param this}}{{/join}}){{/jsIf }}{{/join}}]{{end}}