@r47onfire/nebula - v0.0.0
    Preparing search index...

    Variable donateConst

    donate: <R extends string = never, P extends string = never>(
        node: GrammarCombinator<R, P>,
    ) => GrammarCombinator<NoInfer<R>, NoInfer<P>> = ...

    Parses node and marks the resulting CST node as a name donor for the nearest enclosing adopt: if the donated node lands as a direct child of the node an adopt produces, that node takes the donor's type as its own name, and the donor is flagged ignored (they stay in the tree, so the source is still reproduced exactly, but they are dropped when the CST is condensed) while any named children it captured are promoted into the adopted node in its place. A donated node that never lands as a direct child of an adopted node has no effect.

    Type Declaration