{
  "id": "@typed/template/Template#ClassNamePartNode",
  "canonicalId": "@typed/template#ClassNamePartNode",
  "symbol": {
    "id": "@typed/template/Template#ClassNamePartNode",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "ClassNamePartNode",
    "kind": "class",
    "signatures": [
      "export declare class ClassNamePartNode {\n    readonly _tag: \"className-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "summary": "Represents a dynamic class name part (e.g. `class=\"${classes}\"`).",
    "sections": {
      "Why": "Class collections have dedicated normalization while preserving unrelated\nclasses owned by external code.",
      "Ownership and lifetime": "The part owns only an index; the mounted part owns its local class contribution.",
      "Constructor": "Creates dynamic class syntax.",
      "Property: _tag": "Dynamic-class discriminant.",
      "Property: _tag: Why": "Selects class normalization without replacing external classes.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing class values.",
      "Property: index: Why": "Locates the producer for one retained class contribution.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { ClassNamePartNode } from \"@typed/template/Template\"\n\nconst part = new ClassNamePartNode(0)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 968
    },
    "since": "1.0.0",
    "category": "Class contributions"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#ClassNamePartNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "ClassNamePartNode",
    "qualifiedName": "ClassNamePartNode",
    "declarationKey": "declaration:25f88543071c2b05d76da357",
    "family": "class",
    "signatures": [
      "export declare class ClassNamePartNode {\n    readonly _tag: \"className-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 968,
          "column": 1
        },
        "end": {
          "line": 989,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 891,
          "column": 5
        },
        "end": {
          "line": 891,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 976,
          "column": 3
        },
        "end": {
          "line": 976,
          "column": 45
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 984,
          "column": 3
        },
        "end": {
          "line": 984,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template#ClassNamePartNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:25f88543071c2b05d76da357",
    "name": "ClassNamePartNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class ClassNamePartNode {\n    readonly _tag: \"className-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 968,
              "column": 1
            },
            "end": {
              "line": 989,
              "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": 891,
              "column": 5
            },
            "end": {
              "line": 891,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"className-part\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 976,
              "column": 3
            },
            "end": {
              "line": 976,
              "column": 45
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 984,
              "column": 3
            },
            "end": {
              "line": 984,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class ClassNamePartNode {\n    readonly _tag: \"className-part\";\n    readonly index: number;\n    constructor(index: number);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a dynamic class name part (e.g. `class=\"${classes}\"`).",
    "sections": {
      "Why": "Class collections have dedicated normalization while preserving unrelated\nclasses owned by external code.",
      "Ownership and lifetime": "The part owns only an index; the mounted part owns its local class contribution.",
      "Constructor": "Creates dynamic class syntax.",
      "Property: _tag": "Dynamic-class discriminant.",
      "Property: _tag: Why": "Selects class normalization without replacing external classes.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing class values.",
      "Property: index: Why": "Locates the producer for one retained class contribution.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { ClassNamePartNode } from \"@typed/template/Template\"\n\nconst part = new ClassNamePartNode(0)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 968,
          "column": 1
        },
        "end": {
          "line": 989,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 891,
          "column": 5
        },
        "end": {
          "line": 891,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 976,
          "column": 3
        },
        "end": {
          "line": 976,
          "column": 45
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 984,
          "column": 3
        },
        "end": {
          "line": 984,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Class contributions"
  }
}
