($: InternalScope, In?: BaseRoot)
| 484 | protected branches: BaseRoot[] = [] |
| 485 | |
| 486 | constructor($: InternalScope, In?: BaseRoot) { |
| 487 | super(cases => |
| 488 | this.caseEntries( |
| 489 | Object.entries(cases).map(([k, v]) => |
| 490 | k === "default" ? [k, v as never] : [this.$.parse(k), v as Morph] |
| 491 | ) |
| 492 | ) |
| 493 | ) |
| 494 | this.$ = $ |
| 495 | this.in = In |
| 496 | } |
| 497 | |
| 498 | at(key: Key, cases?: InternalCases): InternalChainedMatchParser | Match { |
| 499 | if (this.key !== undefined) throwParseError(doubleAtMessage) |
nothing calls this directly
no test coverage detected