{
  "id": "@typed/router/AST#MatchAst",
  "canonicalId": "@typed/router/AST#MatchAst",
  "symbol": {
    "id": "@typed/router/AST#MatchAst",
    "packageName": "@typed/router",
    "moduleName": "AST",
    "exportName": "MatchAst",
    "kind": "type",
    "signatures": [
      "export type MatchAst = MatchAst.Route | MatchAst.Layer | MatchAst.Layout | MatchAst.Prefixed | MatchAst.Catch;",
      "export declare namespace MatchAst {\n    interface Route {\n        type: \"route\";\n        route: RouteAst;\n        guard: Guard<any, any, any, any>;\n        handler: MatchHandler<any, any, any, any>;\n    }\n    interface Layer {\n        type: \"layer\";\n        matches: ReadonlyArray<MatchAst>;\n        deps: ReadonlyArray<AnyLayer>;\n    }\n    interface Layout {\n        type: \"layout\";\n        matches: ReadonlyArray<MatchAst>;\n        layout: LayoutType<any, any, any, any, any, any, any>;\n    }\n    interface Prefixed {\n        type: \"prefixed\";\n        matches: ReadonlyArray<MatchAst>;\n        prefix: RouteAst;\n    }\n    interface Catch {\n        type: \"catch\";\n        matches: ReadonlyArray<MatchAst>;\n        f: (cause: RefSubject<Cause<any>>) => Fx<any, any, any>;\n    }\n}"
    ],
    "summary": "The union of route, dependency, layout, prefix, and catch matcher nodes.",
    "sections": {
      "Why": "Matcher composition remains inspectable before runtime compilation.",
      "Ownership and lifetime": "`MatchAst` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/AST.ts",
      "line": 655
    },
    "since": "1.0.0",
    "category": "Route structure"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/AST#MatchAst",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "AST",
    "consumerSpecifier": "@typed/router/AST",
    "exportName": "MatchAst",
    "qualifiedName": "MatchAst",
    "declarationKey": "declaration:340b0591cd5186fe8f9e7a61",
    "family": "type-alias",
    "signatures": [
      "export type MatchAst = MatchAst.Route | MatchAst.Layer | MatchAst.Layout | MatchAst.Prefixed | MatchAst.Catch;",
      "export declare namespace MatchAst {\n    interface Route {\n        type: \"route\";\n        route: RouteAst;\n        guard: Guard<any, any, any, any>;\n        handler: MatchHandler<any, any, any, any>;\n    }\n    interface Layer {\n        type: \"layer\";\n        matches: ReadonlyArray<MatchAst>;\n        deps: ReadonlyArray<AnyLayer>;\n    }\n    interface Layout {\n        type: \"layout\";\n        matches: ReadonlyArray<MatchAst>;\n        layout: LayoutType<any, any, any, any, any, any, any>;\n    }\n    interface Prefixed {\n        type: \"prefixed\";\n        matches: ReadonlyArray<MatchAst>;\n        prefix: RouteAst;\n    }\n    interface Catch {\n        type: \"catch\";\n        matches: ReadonlyArray<MatchAst>;\n        f: (cause: RefSubject<Cause<any>>) => Fx<any, any, any>;\n    }\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 655,
          "column": 1
        },
        "end": {
          "line": 660,
          "column": 20
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 662,
          "column": 1
        },
        "end": {
          "line": 976,
          "column": 2
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:340b0591cd5186fe8f9e7a61",
    "name": "MatchAst",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type MatchAst = MatchAst.Route | MatchAst.Layer | MatchAst.Layout | MatchAst.Prefixed | MatchAst.Catch;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 655,
              "column": 1
            },
            "end": {
              "line": 660,
              "column": 20
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "namespace",
        "syntaxKind": "ModuleDeclaration",
        "signatures": [
          "export declare namespace MatchAst {\n    interface Route {\n        type: \"route\";\n        route: RouteAst;\n        guard: Guard<any, any, any, any>;\n        handler: MatchHandler<any, any, any, any>;\n    }\n    interface Layer {\n        type: \"layer\";\n        matches: ReadonlyArray<MatchAst>;\n        deps: ReadonlyArray<AnyLayer>;\n    }\n    interface Layout {\n        type: \"layout\";\n        matches: ReadonlyArray<MatchAst>;\n        layout: LayoutType<any, any, any, any, any, any, any>;\n    }\n    interface Prefixed {\n        type: \"prefixed\";\n        matches: ReadonlyArray<MatchAst>;\n        prefix: RouteAst;\n    }\n    interface Catch {\n        type: \"catch\";\n        matches: ReadonlyArray<MatchAst>;\n        f: (cause: RefSubject<Cause<any>>) => Fx<any, any, any>;\n    }\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 662,
              "column": 1
            },
            "end": {
              "line": 976,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type MatchAst = MatchAst.Route | MatchAst.Layer | MatchAst.Layout | MatchAst.Prefixed | MatchAst.Catch;",
      "export declare namespace MatchAst {\n    interface Route {\n        type: \"route\";\n        route: RouteAst;\n        guard: Guard<any, any, any, any>;\n        handler: MatchHandler<any, any, any, any>;\n    }\n    interface Layer {\n        type: \"layer\";\n        matches: ReadonlyArray<MatchAst>;\n        deps: ReadonlyArray<AnyLayer>;\n    }\n    interface Layout {\n        type: \"layout\";\n        matches: ReadonlyArray<MatchAst>;\n        layout: LayoutType<any, any, any, any, any, any, any>;\n    }\n    interface Prefixed {\n        type: \"prefixed\";\n        matches: ReadonlyArray<MatchAst>;\n        prefix: RouteAst;\n    }\n    interface Catch {\n        type: \"catch\";\n        matches: ReadonlyArray<MatchAst>;\n        f: (cause: RefSubject<Cause<any>>) => Fx<any, any, any>;\n    }\n}"
    ],
    "typeParameters": [],
    "summary": "The union of route, dependency, layout, prefix, and catch matcher nodes.",
    "sections": {
      "Why": "Matcher composition remains inspectable before runtime compilation.",
      "Ownership and lifetime": "`MatchAst` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 655,
          "column": 1
        },
        "end": {
          "line": 660,
          "column": 20
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 662,
          "column": 1
        },
        "end": {
          "line": 976,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Route structure"
  }
}
