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

    Variable bindConst

    bind: <R extends string = never, P extends string = never>(
        varName: string,
        extend: boolean,
        value: GrammarCombinator<R, P>,
        body: GrammarCombinator<R, P>,
    ) => GrammarCombinator<NoInfer<R>, NoInfer<P>> = ...

    Parses body with the dynamic parameter bound to value for the body's dynamic extent (including any rules it calls, however deep). Inside value, ambient(p) still refers to the binding this one shadows, so a new value can extend the old one.

    Type Declaration