{
  "id": "@typed/router/AST#MatchAst.Route",
  "canonicalId": "@typed/router/AST#MatchAst.Route",
  "symbol": {
    "id": "@typed/router/AST#MatchAst.Route",
    "packageName": "@typed/router",
    "moduleName": "AST",
    "exportName": "MatchAst.Route",
    "kind": "interface",
    "signatures": [
      "interface Route {\n    type: \"route\";\n    route: RouteAst;\n    guard: Guard<any, any, any, any>;\n    handler: MatchHandler<any, any, any, any>;\n}"
    ],
    "summary": "A Match AST candidate containing one Route AST, Guard, and output handler.",
    "sections": {
      "Why": "Decoding, guard selection, and output stay attached in declaration order.",
      "Ownership and lifetime": "`Route` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource.",
      "Property: guard": "The guard evaluated after parameter decoding and dependency preparation.",
      "Property: guard: Why": "A `Some` selects the candidate; `None` or failure can fall through without mounting its handler.",
      "Property: guard: Ownership and lifetime": "The guard function is retained with the candidate. Its Effect and service requirements begin\nonly when the executor evaluates that candidate.",
      "Property: handler": "The output producer mounted for a selected route.",
      "Property: handler: Why": "Values, Effect, Stream, and Fx all normalize to the same push-based Fx contract.",
      "Property: handler: Ownership and lifetime": "The producer is retained with the candidate; the selected route Scope owns the Fx it returns\nand interrupts that Fx on replacement.",
      "Property: route": "Constructs a route-case Match AST node with its guard and handler.",
      "Property: route: Why": "Candidate order, decoding, guard selection, and output remain one inspectable registration unit.",
      "Property: route: Ownership and lifetime": "The Match AST retains the immutable Route AST by reference until the Matcher becomes\nunreachable.",
      "Property: type": "The discriminant identifying this AST variant.",
      "Property: type: Why": "Exhaustive switches can interpret syntax without instanceof checks or hidden classes."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/AST.ts",
      "line": 676
    },
    "since": "1.0.0",
    "category": "Matcher composition syntax"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/AST#MatchAst.Route",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "AST",
    "consumerSpecifier": "@typed/router/AST",
    "exportName": "MatchAst",
    "qualifiedName": "MatchAst.Route",
    "declarationKey": "declaration:5d44bce444f4f75fea797659",
    "family": "interface",
    "signatures": [
      "interface Route {\n    type: \"route\";\n    route: RouteAst;\n    guard: Guard<any, any, any, any>;\n    handler: MatchHandler<any, any, any, any>;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 676,
          "column": 3
        },
        "end": {
          "line": 736,
          "column": 4
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 720,
          "column": 5
        },
        "end": {
          "line": 720,
          "column": 38
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 735,
          "column": 5
        },
        "end": {
          "line": 735,
          "column": 47
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 705,
          "column": 5
        },
        "end": {
          "line": 705,
          "column": 21
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 690,
          "column": 5
        },
        "end": {
          "line": 690,
          "column": 19
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "parentId": "@typed/router/AST#MatchAst",
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:5d44bce444f4f75fea797659",
    "name": "Route",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "interface Route {\n    type: \"route\";\n    route: RouteAst;\n    guard: Guard<any, any, any, any>;\n    handler: MatchHandler<any, any, any, any>;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 676,
              "column": 3
            },
            "end": {
              "line": 736,
              "column": 4
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "guard: Guard<any, any, any, any>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 720,
              "column": 5
            },
            "end": {
              "line": 720,
              "column": 38
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "handler: MatchHandler<any, any, any, any>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 735,
              "column": 5
            },
            "end": {
              "line": 735,
              "column": 47
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "route: RouteAst;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 705,
              "column": 5
            },
            "end": {
              "line": 705,
              "column": 21
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "type: \"route\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 690,
              "column": 5
            },
            "end": {
              "line": 690,
              "column": 19
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "interface Route {\n    type: \"route\";\n    route: RouteAst;\n    guard: Guard<any, any, any, any>;\n    handler: MatchHandler<any, any, any, any>;\n}"
    ],
    "typeParameters": [],
    "summary": "A Match AST candidate containing one Route AST, Guard, and output handler.",
    "sections": {
      "Why": "Decoding, guard selection, and output stay attached in declaration order.",
      "Ownership and lifetime": "`Route` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource.",
      "Property: guard": "The guard evaluated after parameter decoding and dependency preparation.",
      "Property: guard: Why": "A `Some` selects the candidate; `None` or failure can fall through without mounting its handler.",
      "Property: guard: Ownership and lifetime": "The guard function is retained with the candidate. Its Effect and service requirements begin\nonly when the executor evaluates that candidate.",
      "Property: handler": "The output producer mounted for a selected route.",
      "Property: handler: Why": "Values, Effect, Stream, and Fx all normalize to the same push-based Fx contract.",
      "Property: handler: Ownership and lifetime": "The producer is retained with the candidate; the selected route Scope owns the Fx it returns\nand interrupts that Fx on replacement.",
      "Property: route": "Constructs a route-case Match AST node with its guard and handler.",
      "Property: route: Why": "Candidate order, decoding, guard selection, and output remain one inspectable registration unit.",
      "Property: route: Ownership and lifetime": "The Match AST retains the immutable Route AST by reference until the Matcher becomes\nunreachable.",
      "Property: type": "The discriminant identifying this AST variant.",
      "Property: type: Why": "Exhaustive switches can interpret syntax without instanceof checks or hidden classes."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 676,
          "column": 3
        },
        "end": {
          "line": 736,
          "column": 4
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 720,
          "column": 5
        },
        "end": {
          "line": 720,
          "column": 38
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 735,
          "column": 5
        },
        "end": {
          "line": 735,
          "column": 47
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 705,
          "column": 5
        },
        "end": {
          "line": 705,
          "column": 21
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 690,
          "column": 5
        },
        "end": {
          "line": 690,
          "column": 19
        }
      }
    ],
    "since": "1.0.0",
    "category": "Matcher composition syntax"
  }
}
