{
  "id": "@typed/router/AST#PathAst.Literal",
  "canonicalId": "@typed/router/AST#PathAst.Literal",
  "symbol": {
    "id": "@typed/router/AST#PathAst.Literal",
    "packageName": "@typed/router",
    "moduleName": "AST",
    "exportName": "PathAst.Literal",
    "kind": "type",
    "signatures": [
      "type Literal = {\n    type: \"literal\";\n    value: string;\n};"
    ],
    "summary": "An exact literal path or query-value AST node.",
    "sections": {
      "Why": "Literal nodes constrain matching without adding decoded parameters.",
      "Ownership and lifetime": "`Literal` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource.",
      "Property: type": "Discriminates an exact literal node.",
      "Property: type: Why": "Formatters and match compilers can branch without hidden classes.",
      "Property: type: Ownership and lifetime": "The string literal is stored directly on the plain AST object for that object's lifetime.",
      "Property: value": "Exact source text required by this node.",
      "Property: value: Why": "Literal matching and formatting must preserve the same spelling.",
      "Property: value: Ownership and lifetime": "The node retains the immutable string value and acquires no matcher resource."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/AST.ts",
      "line": 44
    },
    "since": "1.0.0",
    "category": "Path syntax"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/AST#PathAst.Literal",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "AST",
    "consumerSpecifier": "@typed/router/AST",
    "exportName": "PathAst",
    "qualifiedName": "PathAst.Literal",
    "declarationKey": "declaration:02edd0de4c6ea04d69f97df7",
    "family": "type-alias",
    "signatures": [
      "type Literal = {\n    type: \"literal\";\n    value: string;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 44,
          "column": 3
        },
        "end": {
          "line": 73,
          "column": 5
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 58,
          "column": 5
        },
        "end": {
          "line": 58,
          "column": 21
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 72,
          "column": 5
        },
        "end": {
          "line": 72,
          "column": 19
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "parentId": "@typed/router/AST#PathAst",
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:02edd0de4c6ea04d69f97df7",
    "name": "Literal",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "type Literal = {\n    type: \"literal\";\n    value: string;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 44,
              "column": 3
            },
            "end": {
              "line": 73,
              "column": 5
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "type: \"literal\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 58,
              "column": 5
            },
            "end": {
              "line": 58,
              "column": 21
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "value: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 72,
              "column": 5
            },
            "end": {
              "line": 72,
              "column": 19
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "type Literal = {\n    type: \"literal\";\n    value: string;\n};"
    ],
    "typeParameters": [],
    "summary": "An exact literal path or query-value AST node.",
    "sections": {
      "Why": "Literal nodes constrain matching without adding decoded parameters.",
      "Ownership and lifetime": "`Literal` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource.",
      "Property: type": "Discriminates an exact literal node.",
      "Property: type: Why": "Formatters and match compilers can branch without hidden classes.",
      "Property: type: Ownership and lifetime": "The string literal is stored directly on the plain AST object for that object's lifetime.",
      "Property: value": "Exact source text required by this node.",
      "Property: value: Why": "Literal matching and formatting must preserve the same spelling.",
      "Property: value: Ownership and lifetime": "The node retains the immutable string value and acquires no matcher resource."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 44,
          "column": 3
        },
        "end": {
          "line": 73,
          "column": 5
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 58,
          "column": 5
        },
        "end": {
          "line": 58,
          "column": 21
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 72,
          "column": 5
        },
        "end": {
          "line": 72,
          "column": 19
        }
      }
    ],
    "since": "1.0.0",
    "category": "Path syntax"
  }
}
