rustwasm / weedle

A WebIDL Parser
MIT License
43 stars 27 forks source link

Add ConstructorInterfaceMember #33

Closed alexlapa closed 4 years ago

alexlapa commented 4 years ago

Web IDL now allows to define constructors in such way:

interface InterfaceWithConstructor {
  [Throws]
  constructor(long a);
};

spec,example from gecko-dev.

This PR adds ConstructorInterfaceMember. diff in definitions.

alexcrichton commented 4 years ago

👍