{
  "id": "@typed/template/Template#TextNode",
  "canonicalId": "@typed/template#TextNode",
  "symbol": {
    "id": "@typed/template/Template#TextNode",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "TextNode",
    "kind": "class",
    "signatures": [
      "export declare class TextNode {\n    readonly _tag: \"text\";\n    readonly value: string;\n    constructor(value: string);\n}"
    ],
    "summary": "Represents a static text node.",
    "sections": {
      "Why": "Static author text can be compiled once into native text or SSR output.",
      "Ownership and lifetime": "The model owns one string and no DOM node.",
      "Constructor": "Creates static text syntax.",
      "Property: _tag": "Static-text discriminant.",
      "Property: _tag: Why": "Selects one-time native text creation and escaped SSR output.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: value": "Authored text value.",
      "Property: value: Why": "Preserves exact literal content for compilation.",
      "Property: value: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { TextNode } from \"@typed/template/Template\"\n\nconst node = new TextNode(\"hello\")"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1336
    },
    "since": "1.0.0",
    "category": "Text content"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#TextNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "TextNode",
    "qualifiedName": "TextNode",
    "declarationKey": "declaration:db3b36c0c81fd534c8684a2a",
    "family": "class",
    "signatures": [
      "export declare class TextNode {\n    readonly _tag: \"text\";\n    readonly value: string;\n    constructor(value: string);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1336,
          "column": 1
        },
        "end": {
          "line": 1358,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1232,
          "column": 5
        },
        "end": {
          "line": 1232,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1344,
          "column": 3
        },
        "end": {
          "line": 1344,
          "column": 35
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1353,
          "column": 3
        },
        "end": {
          "line": 1353,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template#TextNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:db3b36c0c81fd534c8684a2a",
    "name": "TextNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class TextNode {\n    readonly _tag: \"text\";\n    readonly value: string;\n    constructor(value: string);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1336,
              "column": 1
            },
            "end": {
              "line": 1358,
              "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": 1232,
              "column": 5
            },
            "end": {
              "line": 1232,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"text\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1344,
              "column": 3
            },
            "end": {
              "line": 1344,
              "column": 35
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly value: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1353,
              "column": 3
            },
            "end": {
              "line": 1353,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class TextNode {\n    readonly _tag: \"text\";\n    readonly value: string;\n    constructor(value: string);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a static text node.",
    "sections": {
      "Why": "Static author text can be compiled once into native text or SSR output.",
      "Ownership and lifetime": "The model owns one string and no DOM node.",
      "Constructor": "Creates static text syntax.",
      "Property: _tag": "Static-text discriminant.",
      "Property: _tag: Why": "Selects one-time native text creation and escaped SSR output.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: value": "Authored text value.",
      "Property: value: Why": "Preserves exact literal content for compilation.",
      "Property: value: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { TextNode } from \"@typed/template/Template\"\n\nconst node = new TextNode(\"hello\")"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1336,
          "column": 1
        },
        "end": {
          "line": 1358,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1232,
          "column": 5
        },
        "end": {
          "line": 1232,
          "column": 32
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1344,
          "column": 3
        },
        "end": {
          "line": 1344,
          "column": 35
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1353,
          "column": 3
        },
        "end": {
          "line": 1353,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Text content"
  }
}
