Hi Herman. Herman Venter: > An extended attribute is specified as an identifier optionally > followed by some additional information. There are four forms an > extended attribute may have: > > * [TheExtendedAttribute], where it takes no argument; > * [TheExtendedAttribute(ArgumentList)], where it takes an argument list; > * [TheExtendedAttribute=identifier], where it takes an identifier; and, > * [TheExtendedAttribute=identifier(ArgumentList)], where it takes a named argument list. > > I can find no examples of IDL files using the last of the four forms. > Can someone point me to such an example and preferably an explanation > of why the second form cannot be used for the same purpose? It’s used by [NamedConstructor]. It uses a named argument list so that a name for the constructor function can be given. See http://dev.w3.org/2006/webapi/WebIDL/#NamedConstructor for an example. -- Cameron McCormack ≝ http://mcc.id.au/Received on Thursday, 13 November 2008 22:10:24 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT