{
  "id": "@typed/template#AttributeNode",
  "canonicalId": "@typed/template#AttributeNode",
  "symbol": {
    "id": "@typed/template#AttributeNode",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "AttributeNode",
    "kind": "class",
    "signatures": [
      "export declare class AttributeNode {\n    readonly _tag: \"attribute\";\n    readonly name: string;\n    readonly value: string;\n    constructor(name: string, value: string);\n}"
    ],
    "summary": "Represents a static attribute (e.g. `class=\"foo\"`).",
    "sections": {
      "Why": "Static authored names and values can be compiled once without a dynamic updater.",
      "Ownership and lifetime": "The model owns strings only; the renderer creates the native Attr.",
      "Constructor": "Creates static attribute syntax.",
      "Property: _tag": "Static-attribute discriminant.",
      "Property: _tag: Why": "Selects one-time native attribute creation and SSR serialization.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: name": "Native attribute name.",
      "Property: name: Why": "Preserves the authored attribute target.",
      "Property: name: Ownership and lifetime": "Retained string metadata.",
      "Property: value": "Authored static value.",
      "Property: value: Why": "Compiles without a dynamic producer.",
      "Property: value: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { AttributeNode } from \"@typed/template/Template\"\n\nconst node = new AttributeNode(\"class\", \"notice\")"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 707
    },
    "since": "1.0.0",
    "category": "Attribute syntax"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#AttributeNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "AttributeNode",
    "qualifiedName": "AttributeNode",
    "declarationKey": "declaration:30308bd5ddb43b0e992d1b4f",
    "family": "class",
    "signatures": [
      "export declare class AttributeNode {\n    readonly _tag: \"attribute\";\n    readonly name: string;\n    readonly value: string;\n    constructor(name: string, value: string);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 707,
          "column": 1
        },
        "end": {
          "line": 737,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 656,
          "column": 5
        },
        "end": {
          "line": 656,
          "column": 46
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 715,
          "column": 3
        },
        "end": {
          "line": 715,
          "column": 40
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 723,
          "column": 3
        },
        "end": {
          "line": 723,
          "column": 25
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 731,
          "column": 3
        },
        "end": {
          "line": 731,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/template/Template#AttributeNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:30308bd5ddb43b0e992d1b4f",
    "name": "AttributeNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class AttributeNode {\n    readonly _tag: \"attribute\";\n    readonly name: string;\n    readonly value: string;\n    constructor(name: string, value: string);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 707,
              "column": 1
            },
            "end": {
              "line": 737,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(name: string, value: string);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 656,
              "column": 5
            },
            "end": {
              "line": 656,
              "column": 46
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"attribute\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 715,
              "column": 3
            },
            "end": {
              "line": 715,
              "column": 40
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly name: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 723,
              "column": 3
            },
            "end": {
              "line": 723,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly value: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 731,
              "column": 3
            },
            "end": {
              "line": 731,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class AttributeNode {\n    readonly _tag: \"attribute\";\n    readonly name: string;\n    readonly value: string;\n    constructor(name: string, value: string);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents a static attribute (e.g. `class=\"foo\"`).",
    "sections": {
      "Why": "Static authored names and values can be compiled once without a dynamic updater.",
      "Ownership and lifetime": "The model owns strings only; the renderer creates the native Attr.",
      "Constructor": "Creates static attribute syntax.",
      "Property: _tag": "Static-attribute discriminant.",
      "Property: _tag: Why": "Selects one-time native attribute creation and SSR serialization.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: name": "Native attribute name.",
      "Property: name: Why": "Preserves the authored attribute target.",
      "Property: name: Ownership and lifetime": "Retained string metadata.",
      "Property: value": "Authored static value.",
      "Property: value: Why": "Compiles without a dynamic producer.",
      "Property: value: Ownership and lifetime": "Retained string metadata."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { AttributeNode } from \"@typed/template/Template\"\n\nconst node = new AttributeNode(\"class\", \"notice\")"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 707,
          "column": 1
        },
        "end": {
          "line": 737,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 656,
          "column": 5
        },
        "end": {
          "line": 656,
          "column": 46
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 715,
          "column": 3
        },
        "end": {
          "line": 715,
          "column": 40
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 723,
          "column": 3
        },
        "end": {
          "line": 723,
          "column": 25
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 731,
          "column": 3
        },
        "end": {
          "line": 731,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Attribute syntax"
  }
}
