svelte-ast-print - v1.0.0

    An {#each ...} block

    interface EachBlock {
        body: Fragment;
        context: null | Pattern;
        end?: number;
        expression: Expression;
        fallback?: Fragment;
        index?: string;
        key?: Expression;
        start?: number;
        type: "EachBlock";
    }

    Hierarchy

    • BaseNode
      • EachBlock
    Index

    Properties

    body: Fragment
    context: null | Pattern

    The entry in {#each item as entry}. null if as part is omitted

    end?: number
    expression: Expression
    fallback?: Fragment
    index?: string
    start?: number
    type: "EachBlock"
    MMNEPVFCICPMFPCPTTAAATR