{
  "id": "@typed/template/Template#BooleanPartNode",
  "canonicalId": "@typed/template#BooleanPartNode",
  "symbol": {
    "id": "@typed/template/Template#BooleanPartNode",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "BooleanPartNode",
    "kind": "class",
    "signatures": [
      "export declare class BooleanPartNode {\n    readonly _tag: \"boolean-part\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
    ],
    "summary": "Represents a dynamic boolean attribute (e.g. `?disabled=\"${isDisabled}\"`).",
    "sections": {
      "Why": "Truth values add or remove the native attribute rather than stringify it.",
      "Ownership and lifetime": "The part owns no Attr; its render Scope owns the retained updater.",
      "Constructor": "Creates dynamic boolean-attribute syntax.",
      "Property: _tag": "Dynamic-boolean discriminant.",
      "Property: _tag: Why": "Selects native attribute presence toggling.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index controlling presence.",
      "Property: index: Why": "Locates the boolean producer without tree traversal.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer.",
      "Property: name": "Native boolean attribute name.",
      "Property: name: Why": "Identifies the exact attribute updated by the part.",
      "Property: name: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { BooleanPartNode } from \"@typed/template/Template\"\n\nconst part = new BooleanPartNode(\"disabled\", 0)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 914
    },
    "since": "1.0.0",
    "category": "Boolean attributes"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#BooleanPartNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "BooleanPartNode",
    "qualifiedName": "BooleanPartNode",
    "declarationKey": "declaration:742cbc7a042b20fccf4964a3",
    "family": "class",
    "signatures": [
      "export declare class BooleanPartNode {\n    readonly _tag: \"boolean-part\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 914,
          "column": 1
        },
        "end": {
          "line": 944,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 848,
          "column": 5
        },
        "end": {
          "line": 848,
          "column": 46
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 922,
          "column": 3
        },
        "end": {
          "line": 922,
          "column": 43
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 938,
          "column": 3
        },
        "end": {
          "line": 938,
          "column": 26
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 930,
          "column": 3
        },
        "end": {
          "line": 930,
          "column": 25
        }
      }
    ],
    "aliases": [
      "@typed/template#BooleanPartNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:742cbc7a042b20fccf4964a3",
    "name": "BooleanPartNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class BooleanPartNode {\n    readonly _tag: \"boolean-part\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 914,
              "column": 1
            },
            "end": {
              "line": 944,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(name: string, index: number);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 848,
              "column": 5
            },
            "end": {
              "line": 848,
              "column": 46
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"boolean-part\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 922,
              "column": 3
            },
            "end": {
              "line": 922,
              "column": 43
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 938,
              "column": 3
            },
            "end": {
              "line": 938,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly name: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 930,
              "column": 3
            },
            "end": {
              "line": 930,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class BooleanPartNode {\n    readonly _tag: \"boolean-part\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a dynamic boolean attribute (e.g. `?disabled=\"${isDisabled}\"`).",
    "sections": {
      "Why": "Truth values add or remove the native attribute rather than stringify it.",
      "Ownership and lifetime": "The part owns no Attr; its render Scope owns the retained updater.",
      "Constructor": "Creates dynamic boolean-attribute syntax.",
      "Property: _tag": "Dynamic-boolean discriminant.",
      "Property: _tag: Why": "Selects native attribute presence toggling.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index controlling presence.",
      "Property: index: Why": "Locates the boolean producer without tree traversal.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; the render Scope owns the producer.",
      "Property: name": "Native boolean attribute name.",
      "Property: name: Why": "Identifies the exact attribute updated by the part.",
      "Property: name: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { BooleanPartNode } from \"@typed/template/Template\"\n\nconst part = new BooleanPartNode(\"disabled\", 0)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 914,
          "column": 1
        },
        "end": {
          "line": 944,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 848,
          "column": 5
        },
        "end": {
          "line": 848,
          "column": 46
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 922,
          "column": 3
        },
        "end": {
          "line": 922,
          "column": 43
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 938,
          "column": 3
        },
        "end": {
          "line": 938,
          "column": 26
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 930,
          "column": 3
        },
        "end": {
          "line": 930,
          "column": 25
        }
      }
    ],
    "since": "1.0.0",
    "category": "Boolean attributes"
  }
}
