{
  "id": "@typed/template#BooleanNode",
  "canonicalId": "@typed/template#BooleanNode",
  "symbol": {
    "id": "@typed/template#BooleanNode",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "BooleanNode",
    "kind": "class",
    "signatures": [
      "export declare class BooleanNode {\n    readonly _tag: \"boolean\";\n    readonly name: string;\n    constructor(name: string);\n}"
    ],
    "summary": "Represents a boolean attribute (e.g. `disabled`).",
    "sections": {
      "Why": "Presence-only native HTML semantics are distinct from string attributes.",
      "Ownership and lifetime": "The model owns only the parsed name.",
      "Constructor": "Creates static boolean-attribute syntax.",
      "Property: _tag": "Static-boolean discriminant.",
      "Property: _tag: Why": "Selects presence-only native attribute semantics.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: name": "Presence-only native attribute name.",
      "Property: name: Why": "Identifies the exact boolean attribute to create.",
      "Property: name: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { BooleanNode } from \"@typed/template/Template\"\n\nconst node = new BooleanNode(\"disabled\")"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 869
    },
    "since": "1.0.0",
    "category": "Boolean attributes"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#BooleanNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "BooleanNode",
    "qualifiedName": "BooleanNode",
    "declarationKey": "declaration:56b34d5b6211d96b8245e004",
    "family": "class",
    "signatures": [
      "export declare class BooleanNode {\n    readonly _tag: \"boolean\";\n    readonly name: string;\n    constructor(name: string);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 869,
          "column": 1
        },
        "end": {
          "line": 890,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 798,
          "column": 5
        },
        "end": {
          "line": 798,
          "column": 31
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 877,
          "column": 3
        },
        "end": {
          "line": 877,
          "column": 38
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 885,
          "column": 3
        },
        "end": {
          "line": 885,
          "column": 25
        }
      }
    ],
    "aliases": [
      "@typed/template/Template#BooleanNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:56b34d5b6211d96b8245e004",
    "name": "BooleanNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class BooleanNode {\n    readonly _tag: \"boolean\";\n    readonly name: string;\n    constructor(name: string);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 869,
              "column": 1
            },
            "end": {
              "line": 890,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(name: string);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 798,
              "column": 5
            },
            "end": {
              "line": 798,
              "column": 31
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"boolean\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 877,
              "column": 3
            },
            "end": {
              "line": 877,
              "column": 38
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly name: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 885,
              "column": 3
            },
            "end": {
              "line": 885,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class BooleanNode {\n    readonly _tag: \"boolean\";\n    readonly name: string;\n    constructor(name: string);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a boolean attribute (e.g. `disabled`).",
    "sections": {
      "Why": "Presence-only native HTML semantics are distinct from string attributes.",
      "Ownership and lifetime": "The model owns only the parsed name.",
      "Constructor": "Creates static boolean-attribute syntax.",
      "Property: _tag": "Static-boolean discriminant.",
      "Property: _tag: Why": "Selects presence-only native attribute semantics.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: name": "Presence-only native attribute name.",
      "Property: name: Why": "Identifies the exact boolean attribute to create.",
      "Property: name: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { BooleanNode } from \"@typed/template/Template\"\n\nconst node = new BooleanNode(\"disabled\")"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 869,
          "column": 1
        },
        "end": {
          "line": 890,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 798,
          "column": 5
        },
        "end": {
          "line": 798,
          "column": 31
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 877,
          "column": 3
        },
        "end": {
          "line": 877,
          "column": 38
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 885,
          "column": 3
        },
        "end": {
          "line": 885,
          "column": 25
        }
      }
    ],
    "since": "1.0.0",
    "category": "Boolean attributes"
  }
}
