{
  "id": "@typed/template#SparseAttrNode",
  "canonicalId": "@typed/template#SparseAttrNode",
  "symbol": {
    "id": "@typed/template#SparseAttrNode",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "SparseAttrNode",
    "kind": "class",
    "signatures": [
      "export declare class SparseAttrNode {\n    readonly _tag: \"sparse-attr\";\n    readonly name: string;\n    readonly nodes: Array<AttrPartNode | TextNode>;\n    constructor(name: string, nodes: Array<AttrPartNode | TextNode>);\n}"
    ],
    "summary": "Represents a sparse attribute (e.g. `class=\"foo ${bar}\"`).",
    "sections": {
      "Why": "Static and dynamic segments remain ordered under one native attribute target.",
      "Ownership and lifetime": "The model owns its segment array; the renderer Scope owns the live updater.",
      "Constructor": "Creates sparse attribute syntax.",
      "Property: _tag": "Sparse-attribute discriminant.",
      "Property: _tag: Why": "Selects ordered segment joining under attribute escaping.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: name": "Native attribute name.",
      "Property: name: Why": "Identifies the direct attribute target for one interpolation.",
      "Property: name: Ownership and lifetime": "Retained string metadata.",
      "Property: nodes": "Ordered literal and dynamic segments.",
      "Property: nodes: Why": "Reconstructs one attribute value from its authored order.",
      "Property: nodes: Ownership and lifetime": "Retained AST array; mounted parts own live inputs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { SparseAttrNode } from \"@typed/template/Template\"\n\nconst node = new SparseAttrNode(\"title\", [])"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 815
    },
    "since": "1.0.0",
    "category": "Sparse attributes"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#SparseAttrNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "SparseAttrNode",
    "qualifiedName": "SparseAttrNode",
    "declarationKey": "declaration:eee975adf2044b3bfd746f96",
    "family": "class",
    "signatures": [
      "export declare class SparseAttrNode {\n    readonly _tag: \"sparse-attr\";\n    readonly name: string;\n    readonly nodes: Array<AttrPartNode | TextNode>;\n    constructor(name: string, nodes: Array<AttrPartNode | TextNode>);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 815,
          "column": 1
        },
        "end": {
          "line": 845,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 756,
          "column": 5
        },
        "end": {
          "line": 756,
          "column": 70
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 823,
          "column": 3
        },
        "end": {
          "line": 823,
          "column": 42
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 831,
          "column": 3
        },
        "end": {
          "line": 831,
          "column": 25
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 839,
          "column": 3
        },
        "end": {
          "line": 839,
          "column": 50
        }
      }
    ],
    "aliases": [
      "@typed/template/Template#SparseAttrNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:eee975adf2044b3bfd746f96",
    "name": "SparseAttrNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class SparseAttrNode {\n    readonly _tag: \"sparse-attr\";\n    readonly name: string;\n    readonly nodes: Array<AttrPartNode | TextNode>;\n    constructor(name: string, nodes: Array<AttrPartNode | TextNode>);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 815,
              "column": 1
            },
            "end": {
              "line": 845,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(name: string, nodes: Array<AttrPartNode | TextNode>);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 756,
              "column": 5
            },
            "end": {
              "line": 756,
              "column": 70
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"sparse-attr\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 823,
              "column": 3
            },
            "end": {
              "line": 823,
              "column": 42
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly name: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 831,
              "column": 3
            },
            "end": {
              "line": 831,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly nodes: Array<AttrPartNode | TextNode>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 839,
              "column": 3
            },
            "end": {
              "line": 839,
              "column": 50
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class SparseAttrNode {\n    readonly _tag: \"sparse-attr\";\n    readonly name: string;\n    readonly nodes: Array<AttrPartNode | TextNode>;\n    constructor(name: string, nodes: Array<AttrPartNode | TextNode>);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a sparse attribute (e.g. `class=\"foo ${bar}\"`).",
    "sections": {
      "Why": "Static and dynamic segments remain ordered under one native attribute target.",
      "Ownership and lifetime": "The model owns its segment array; the renderer Scope owns the live updater.",
      "Constructor": "Creates sparse attribute syntax.",
      "Property: _tag": "Sparse-attribute discriminant.",
      "Property: _tag: Why": "Selects ordered segment joining under attribute escaping.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: name": "Native attribute name.",
      "Property: name: Why": "Identifies the direct attribute target for one interpolation.",
      "Property: name: Ownership and lifetime": "Retained string metadata.",
      "Property: nodes": "Ordered literal and dynamic segments.",
      "Property: nodes: Why": "Reconstructs one attribute value from its authored order.",
      "Property: nodes: Ownership and lifetime": "Retained AST array; mounted parts own live inputs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { SparseAttrNode } from \"@typed/template/Template\"\n\nconst node = new SparseAttrNode(\"title\", [])"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 815,
          "column": 1
        },
        "end": {
          "line": 845,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 756,
          "column": 5
        },
        "end": {
          "line": 756,
          "column": 70
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 823,
          "column": 3
        },
        "end": {
          "line": 823,
          "column": 42
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 831,
          "column": 3
        },
        "end": {
          "line": 831,
          "column": 25
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 839,
          "column": 3
        },
        "end": {
          "line": 839,
          "column": 50
        }
      }
    ],
    "since": "1.0.0",
    "category": "Sparse attributes"
  }
}
