Skip to content

Infer Defaults For Some Combinators? #56

@dyoder

Description

@dyoder

Ex: for attributes, we could assume that, if the top item on the stack isn't an HTMLElement subtype, we should use the handle DOM node instead. Or we could check for the handle of the stack.

Generics would work well here. We could have a generic for a subtype of HTMLElement, a generic for a handle, and a fallback that explains that the given combinator was expecting one or the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions