node-cooper - v0.2.0
    Preparing search index...

    Class VarRef

    An unresolved @{name} (CASC.md §7.1).

    Index
    • Parameters

      • fields: {
            filters?: Filter[];
            index?: number | null;
            name: unknown;
            scope?: string | null;
            suffix?: Suffix | null;
        }

      Returns VarRef

    bound: { value: unknown } | undefined

    A for loop binding's value for one iteration, attached by loop.cjs -- when set, the reference resolves to this instead of looking its name up (CASC.md §5.5's body-scoped loop variables).

    filters: Filter[]
    index: number | null
    name: unknown

    The name, or an interpolated value that builds it (CASC.md §7.2 "Built names").

    scope: string | null

    The file this reference was written in -- decides whether it may see a private @*name (CASC.md §5.2). Set when the reference is built.

    suffix: Suffix | null