{
  "id": "@typed/template/Template#TextPartNode",
  "canonicalId": "@typed/template#TextPartNode",
  "symbol": {
    "id": "@typed/template/Template#TextPartNode",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "TextPartNode",
    "kind": "class",
    "signatures": [
      "export declare class TextPartNode {\n    readonly _tag: \"text-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "summary": "Represents a dynamic text part (e.g. `${text}`).",
    "sections": {
      "Why": "A retained native text target supports O(1) scalar updates with respect to\nthe surrounding DOM tree.",
      "Ownership and lifetime": "The AST owns only an index; the mounted render Scope owns the text updater.",
      "Constructor": "Creates dynamic text syntax.",
      "Property: _tag": "Dynamic-text discriminant.",
      "Property: _tag: Why": "Selects a retained native Text target for O(1) scalar updates.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index driving the retained text target.",
      "Property: index: Why": "Locates the producer without walking the surrounding tree.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { TextPartNode } from \"@typed/template/Template\"\n\nconst part = new TextPartNode(0)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1383
    },
    "since": "1.0.0",
    "category": "Text bindings"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#TextPartNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "TextPartNode",
    "qualifiedName": "TextPartNode",
    "declarationKey": "declaration:7e50d350c26f10e9a3d54662",
    "family": "class",
    "signatures": [
      "export declare class TextPartNode {\n    readonly _tag: \"text-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1383,
          "column": 1
        },
        "end": {
          "line": 1405,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1275,
          "column": 5
        },
        "end": {
          "line": 1275,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1391,
          "column": 3
        },
        "end": {
          "line": 1391,
          "column": 40
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1400,
          "column": 3
        },
        "end": {
          "line": 1400,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template#TextPartNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:7e50d350c26f10e9a3d54662",
    "name": "TextPartNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class TextPartNode {\n    readonly _tag: \"text-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1383,
              "column": 1
            },
            "end": {
              "line": 1405,
              "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": 1275,
              "column": 5
            },
            "end": {
              "line": 1275,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"text-part\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1391,
              "column": 3
            },
            "end": {
              "line": 1391,
              "column": 40
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1400,
              "column": 3
            },
            "end": {
              "line": 1400,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class TextPartNode {\n    readonly _tag: \"text-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a dynamic text part (e.g. `${text}`).",
    "sections": {
      "Why": "A retained native text target supports O(1) scalar updates with respect to\nthe surrounding DOM tree.",
      "Ownership and lifetime": "The AST owns only an index; the mounted render Scope owns the text updater.",
      "Constructor": "Creates dynamic text syntax.",
      "Property: _tag": "Dynamic-text discriminant.",
      "Property: _tag: Why": "Selects a retained native Text target for O(1) scalar updates.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index driving the retained text target.",
      "Property: index: Why": "Locates the producer without walking the surrounding tree.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { TextPartNode } from \"@typed/template/Template\"\n\nconst part = new TextPartNode(0)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1383,
          "column": 1
        },
        "end": {
          "line": 1405,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1275,
          "column": 5
        },
        "end": {
          "line": 1275,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1391,
          "column": 3
        },
        "end": {
          "line": 1391,
          "column": 40
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1400,
          "column": 3
        },
        "end": {
          "line": 1400,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Text bindings"
  }
}
