{
  "id": "@typed/template#SparseCommentNode",
  "canonicalId": "@typed/template#SparseCommentNode",
  "symbol": {
    "id": "@typed/template#SparseCommentNode",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "SparseCommentNode",
    "kind": "class",
    "signatures": [
      "export declare class SparseCommentNode {\n    readonly _tag: \"sparse-comment\";\n    readonly nodes: Array<TextNode | CommentPartNode>;\n    constructor(nodes: Array<TextNode | CommentPartNode>);\n}"
    ],
    "summary": "Represents a sparse comment.",
    "sections": {
      "Why": "Literal and dynamic comment segments remain one local native comment value.",
      "Ownership and lifetime": "The model owns segments; the mounted Scope owns the comment updater.",
      "Constructor": "Creates sparse comment syntax.",
      "Property: _tag": "Sparse-comment discriminant.",
      "Property: _tag: Why": "Selects ordered segment joining into one native Comment.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: nodes": "Ordered literal and dynamic comment segments.",
      "Property: nodes: Why": "Reconstructs one comment value in author order.",
      "Property: nodes: Ownership and lifetime": "Retained AST array; the mounted part owns live inputs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { SparseCommentNode } from \"@typed/template/Template\"\n\nconst node = new SparseCommentNode([])"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1592
    },
    "since": "1.0.0",
    "category": "Sparse comments"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#SparseCommentNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "SparseCommentNode",
    "qualifiedName": "SparseCommentNode",
    "declarationKey": "declaration:22885435dad21ae9a88b9a1f",
    "family": "class",
    "signatures": [
      "export declare class SparseCommentNode {\n    readonly _tag: \"sparse-comment\";\n    readonly nodes: Array<TextNode | CommentPartNode>;\n    constructor(nodes: Array<TextNode | CommentPartNode>);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1592,
          "column": 1
        },
        "end": {
          "line": 1614,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1468,
          "column": 5
        },
        "end": {
          "line": 1468,
          "column": 59
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1600,
          "column": 3
        },
        "end": {
          "line": 1600,
          "column": 45
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1609,
          "column": 3
        },
        "end": {
          "line": 1609,
          "column": 53
        }
      }
    ],
    "aliases": [
      "@typed/template/Template#SparseCommentNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:22885435dad21ae9a88b9a1f",
    "name": "SparseCommentNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class SparseCommentNode {\n    readonly _tag: \"sparse-comment\";\n    readonly nodes: Array<TextNode | CommentPartNode>;\n    constructor(nodes: Array<TextNode | CommentPartNode>);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1592,
              "column": 1
            },
            "end": {
              "line": 1614,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(nodes: Array<TextNode | CommentPartNode>);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 1468,
              "column": 5
            },
            "end": {
              "line": 1468,
              "column": 59
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"sparse-comment\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1600,
              "column": 3
            },
            "end": {
              "line": 1600,
              "column": 45
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly nodes: Array<TextNode | CommentPartNode>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1609,
              "column": 3
            },
            "end": {
              "line": 1609,
              "column": 53
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class SparseCommentNode {\n    readonly _tag: \"sparse-comment\";\n    readonly nodes: Array<TextNode | CommentPartNode>;\n    constructor(nodes: Array<TextNode | CommentPartNode>);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a sparse comment.",
    "sections": {
      "Why": "Literal and dynamic comment segments remain one local native comment value.",
      "Ownership and lifetime": "The model owns segments; the mounted Scope owns the comment updater.",
      "Constructor": "Creates sparse comment syntax.",
      "Property: _tag": "Sparse-comment discriminant.",
      "Property: _tag: Why": "Selects ordered segment joining into one native Comment.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: nodes": "Ordered literal and dynamic comment segments.",
      "Property: nodes: Why": "Reconstructs one comment value in author order.",
      "Property: nodes: Ownership and lifetime": "Retained AST array; the mounted part owns live inputs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { SparseCommentNode } from \"@typed/template/Template\"\n\nconst node = new SparseCommentNode([])"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1592,
          "column": 1
        },
        "end": {
          "line": 1614,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1468,
          "column": 5
        },
        "end": {
          "line": 1468,
          "column": 59
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1600,
          "column": 3
        },
        "end": {
          "line": 1600,
          "column": 45
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1609,
          "column": 3
        },
        "end": {
          "line": 1609,
          "column": 53
        }
      }
    ],
    "since": "1.0.0",
    "category": "Sparse comments"
  }
}
