{
  "id": "@typed/template#CommentNode",
  "canonicalId": "@typed/template#CommentNode",
  "symbol": {
    "id": "@typed/template#CommentNode",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "CommentNode",
    "kind": "class",
    "signatures": [
      "export declare class CommentNode {\n    readonly _tag: \"comment\";\n    readonly value: string;\n    constructor(value: string);\n}"
    ],
    "summary": "Represents a static comment.",
    "sections": {
      "Why": "Author comments remain explicit AST nodes across DOM and HTML output.",
      "Ownership and lifetime": "The model owns a string and no native node.",
      "Constructor": "Creates static comment syntax.",
      "Property: _tag": "Static-comment discriminant.",
      "Property: _tag: Why": "Selects one-time native comment creation and SSR serialization.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: value": "Authored comment value.",
      "Property: value: Why": "Preserves exact literal comment content.",
      "Property: value: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { CommentNode } from \"@typed/template/Template\"\n\nconst node = new CommentNode(\"note\")"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1499
    },
    "since": "1.0.0",
    "category": "Comment content"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#CommentNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "CommentNode",
    "qualifiedName": "CommentNode",
    "declarationKey": "declaration:a6b20d807185900f15ce6764",
    "family": "class",
    "signatures": [
      "export declare class CommentNode {\n    readonly _tag: \"comment\";\n    readonly value: string;\n    constructor(value: string);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1499,
          "column": 1
        },
        "end": {
          "line": 1521,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1383,
          "column": 5
        },
        "end": {
          "line": 1383,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1507,
          "column": 3
        },
        "end": {
          "line": 1507,
          "column": 38
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1516,
          "column": 3
        },
        "end": {
          "line": 1516,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template/Template#CommentNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:a6b20d807185900f15ce6764",
    "name": "CommentNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class CommentNode {\n    readonly _tag: \"comment\";\n    readonly value: string;\n    constructor(value: string);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1499,
              "column": 1
            },
            "end": {
              "line": 1521,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(value: string);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 1383,
              "column": 5
            },
            "end": {
              "line": 1383,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"comment\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1507,
              "column": 3
            },
            "end": {
              "line": 1507,
              "column": 38
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly value: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1516,
              "column": 3
            },
            "end": {
              "line": 1516,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class CommentNode {\n    readonly _tag: \"comment\";\n    readonly value: string;\n    constructor(value: string);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a static comment.",
    "sections": {
      "Why": "Author comments remain explicit AST nodes across DOM and HTML output.",
      "Ownership and lifetime": "The model owns a string and no native node.",
      "Constructor": "Creates static comment syntax.",
      "Property: _tag": "Static-comment discriminant.",
      "Property: _tag: Why": "Selects one-time native comment creation and SSR serialization.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: value": "Authored comment value.",
      "Property: value: Why": "Preserves exact literal comment content.",
      "Property: value: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { CommentNode } from \"@typed/template/Template\"\n\nconst node = new CommentNode(\"note\")"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1499,
          "column": 1
        },
        "end": {
          "line": 1521,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1383,
          "column": 5
        },
        "end": {
          "line": 1383,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1507,
          "column": 3
        },
        "end": {
          "line": 1507,
          "column": 38
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1516,
          "column": 3
        },
        "end": {
          "line": 1516,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Comment content"
  }
}
