{
  "id": "@typed/template/Template#NodePart",
  "canonicalId": "@typed/template#NodePart",
  "symbol": {
    "id": "@typed/template/Template#NodePart",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "NodePart",
    "kind": "class",
    "signatures": [
      "export declare class NodePart {\n    readonly _tag = \"node\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "summary": "Represents a dynamic insertion point within the node structure (e.g. `<div>${content}</div>`).",
    "sections": {
      "Why": "A node part is a bounded structural range, allowing local reconciliation and\narbitrary DOM output without a wrapper element.",
      "Ownership and lifetime": "The AST stores only the value index; the part's child Scope owns live output.",
      "Constructor": "Creates a structural part for one interpolation index.",
      "Constructor: Why": "Parser tooling records exact producer paths.",
      "Constructor: Ownership and lifetime": "Stores only the index.",
      "Property: _tag": "Node-part discriminant.",
      "Property: _tag: Why": "Selects bounded structural rendering.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "The index of the value in the interpolation array.",
      "Property: index: Why": "Selects the producer for this exact dynamic range.",
      "Property: index: Ownership and lifetime": "Immutable index; the mounted range owns its producer Scope."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { NodePart } from \"@typed/template/Template\"\n\nconst part = new NodePart(0)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 368
    },
    "since": "1.0.0",
    "category": "Dynamic child positions"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#NodePart",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "NodePart",
    "qualifiedName": "NodePart",
    "declarationKey": "declaration:22ec1a329ae352c04514e9fa",
    "family": "class",
    "signatures": [
      "export declare class NodePart {\n    readonly _tag = \"node\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 368,
          "column": 1
        },
        "end": {
          "line": 404,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 355,
          "column": 5
        },
        "end": {
          "line": 355,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 379,
          "column": 3
        },
        "end": {
          "line": 379,
          "column": 26
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 390,
          "column": 3
        },
        "end": {
          "line": 390,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template#NodePart"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:22ec1a329ae352c04514e9fa",
    "name": "NodePart",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class NodePart {\n    readonly _tag = \"node\";\n    readonly index: number;\n    constructor(index: number);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 368,
              "column": 1
            },
            "end": {
              "line": 404,
              "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": 355,
              "column": 5
            },
            "end": {
              "line": 355,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag = \"node\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 379,
              "column": 3
            },
            "end": {
              "line": 379,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 390,
              "column": 3
            },
            "end": {
              "line": 390,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class NodePart {\n    readonly _tag = \"node\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a dynamic insertion point within the node structure (e.g. `<div>${content}</div>`).",
    "sections": {
      "Why": "A node part is a bounded structural range, allowing local reconciliation and\narbitrary DOM output without a wrapper element.",
      "Ownership and lifetime": "The AST stores only the value index; the part's child Scope owns live output.",
      "Constructor": "Creates a structural part for one interpolation index.",
      "Constructor: Why": "Parser tooling records exact producer paths.",
      "Constructor: Ownership and lifetime": "Stores only the index.",
      "Property: _tag": "Node-part discriminant.",
      "Property: _tag: Why": "Selects bounded structural rendering.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "The index of the value in the interpolation array.",
      "Property: index: Why": "Selects the producer for this exact dynamic range.",
      "Property: index: Ownership and lifetime": "Immutable index; the mounted range owns its producer Scope."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { NodePart } from \"@typed/template/Template\"\n\nconst part = new NodePart(0)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 368,
          "column": 1
        },
        "end": {
          "line": 404,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 355,
          "column": 5
        },
        "end": {
          "line": 355,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 379,
          "column": 3
        },
        "end": {
          "line": 379,
          "column": 26
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 390,
          "column": 3
        },
        "end": {
          "line": 390,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Dynamic child positions"
  }
}
