{
  "id": "@typed/template#DataPartNode",
  "canonicalId": "@typed/template#DataPartNode",
  "symbol": {
    "id": "@typed/template#DataPartNode",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "DataPartNode",
    "kind": "class",
    "signatures": [
      "export declare class DataPartNode {\n    readonly _tag: \"data\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "summary": "Represents a data attribute part (e.g. `data-foo=\"${value}\"`).",
    "sections": {
      "Why": "Data records map to the native `dataset`/`data-*` surface without replacing\nunrelated attributes.",
      "Ownership and lifetime": "The part stores one input index; its render Scope owns local updates.",
      "Constructor": "Creates data-record syntax.",
      "Property: _tag": "Data-record discriminant.",
      "Property: _tag: Why": "Selects native dataset and safe `data-*` serialization.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing the data record.",
      "Property: index: Why": "Locates the record producer for local dataset updates.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { DataPartNode } from \"@typed/template/Template\"\n\nconst part = new DataPartNode(0)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1060
    },
    "since": "1.0.0",
    "category": "Dataset contributions"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#DataPartNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "DataPartNode",
    "qualifiedName": "DataPartNode",
    "declarationKey": "declaration:0abc42105ff36e80317946f8",
    "family": "class",
    "signatures": [
      "export declare class DataPartNode {\n    readonly _tag: \"data\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1060,
          "column": 1
        },
        "end": {
          "line": 1082,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 976,
          "column": 5
        },
        "end": {
          "line": 976,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1068,
          "column": 3
        },
        "end": {
          "line": 1068,
          "column": 35
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1077,
          "column": 3
        },
        "end": {
          "line": 1077,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template/Template#DataPartNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:0abc42105ff36e80317946f8",
    "name": "DataPartNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class DataPartNode {\n    readonly _tag: \"data\";\n    readonly index: number;\n    constructor(index: number);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1060,
              "column": 1
            },
            "end": {
              "line": 1082,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(index: number);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 976,
              "column": 5
            },
            "end": {
              "line": 976,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"data\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1068,
              "column": 3
            },
            "end": {
              "line": 1068,
              "column": 35
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1077,
              "column": 3
            },
            "end": {
              "line": 1077,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class DataPartNode {\n    readonly _tag: \"data\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a data attribute part (e.g. `data-foo=\"${value}\"`).",
    "sections": {
      "Why": "Data records map to the native `dataset`/`data-*` surface without replacing\nunrelated attributes.",
      "Ownership and lifetime": "The part stores one input index; its render Scope owns local updates.",
      "Constructor": "Creates data-record syntax.",
      "Property: _tag": "Data-record discriminant.",
      "Property: _tag: Why": "Selects native dataset and safe `data-*` serialization.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing the data record.",
      "Property: index: Why": "Locates the record producer for local dataset updates.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { DataPartNode } from \"@typed/template/Template\"\n\nconst part = new DataPartNode(0)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1060,
          "column": 1
        },
        "end": {
          "line": 1082,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 976,
          "column": 5
        },
        "end": {
          "line": 976,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1068,
          "column": 3
        },
        "end": {
          "line": 1068,
          "column": 35
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1077,
          "column": 3
        },
        "end": {
          "line": 1077,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Dataset contributions"
  }
}
