{
  "id": "@typed/template/Template#RefPartNode",
  "canonicalId": "@typed/template#RefPartNode",
  "symbol": {
    "id": "@typed/template/Template#RefPartNode",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "RefPartNode",
    "kind": "class",
    "signatures": [
      "export declare class RefPartNode {\n    readonly _tag: \"ref\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "summary": "Represents a reference capture (e.g. `ref=\"${ref}\"`).",
    "sections": {
      "Why": "Refs expose the exact native node and hydration metadata without a component\ninstance abstraction.",
      "Ownership and lifetime": "The model owns no reference. The render Scope runs ref setup and finalization.",
      "Constructor": "Creates native node-ref syntax.",
      "Property: _tag": "Native-ref discriminant.",
      "Property: _tag: Why": "Selects exact-node ref setup and hydration metadata.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing the ref handler.",
      "Property: index: Why": "Locates the handler for the exact native node.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns setup and finalization."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { RefPartNode } from \"@typed/template/Template\"\n\nconst part = new RefPartNode(0)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1265
    },
    "since": "1.0.0",
    "category": "Element references"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#RefPartNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "RefPartNode",
    "qualifiedName": "RefPartNode",
    "declarationKey": "declaration:0403d16dbb9a777660822d41",
    "family": "class",
    "signatures": [
      "export declare class RefPartNode {\n    readonly _tag: \"ref\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1265,
          "column": 1
        },
        "end": {
          "line": 1287,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1166,
          "column": 5
        },
        "end": {
          "line": 1166,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1273,
          "column": 3
        },
        "end": {
          "line": 1273,
          "column": 34
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1282,
          "column": 3
        },
        "end": {
          "line": 1282,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template#RefPartNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:0403d16dbb9a777660822d41",
    "name": "RefPartNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class RefPartNode {\n    readonly _tag: \"ref\";\n    readonly index: number;\n    constructor(index: number);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1265,
              "column": 1
            },
            "end": {
              "line": 1287,
              "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": 1166,
              "column": 5
            },
            "end": {
              "line": 1166,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"ref\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1273,
              "column": 3
            },
            "end": {
              "line": 1273,
              "column": 34
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1282,
              "column": 3
            },
            "end": {
              "line": 1282,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class RefPartNode {\n    readonly _tag: \"ref\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a reference capture (e.g. `ref=\"${ref}\"`).",
    "sections": {
      "Why": "Refs expose the exact native node and hydration metadata without a component\ninstance abstraction.",
      "Ownership and lifetime": "The model owns no reference. The render Scope runs ref setup and finalization.",
      "Constructor": "Creates native node-ref syntax.",
      "Property: _tag": "Native-ref discriminant.",
      "Property: _tag: Why": "Selects exact-node ref setup and hydration metadata.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing the ref handler.",
      "Property: index: Why": "Locates the handler for the exact native node.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns setup and finalization."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { RefPartNode } from \"@typed/template/Template\"\n\nconst part = new RefPartNode(0)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1265,
          "column": 1
        },
        "end": {
          "line": 1287,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1166,
          "column": 5
        },
        "end": {
          "line": 1166,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1273,
          "column": 3
        },
        "end": {
          "line": 1273,
          "column": 34
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1282,
          "column": 3
        },
        "end": {
          "line": 1282,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Element references"
  }
}
