Skip to content

New method to merge partials and mixins #581

Open
@foolip

Description

@foolip

There's code using webidl2.js to parse IDL snippets and then applying partials/mixins in at least 3 different places:

None of them are entirely correct in the handling of [Exposed] and updating them individually is a nuisance.

How about a compile(ast), merge(ast), or simplify(ast) method that folds in partials and mixins as part of webidl2.js?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions