(key: Key, cases?: InternalCases)
| 496 | } |
| 497 | |
| 498 | at(key: Key, cases?: InternalCases): InternalChainedMatchParser | Match { |
| 499 | if (this.key !== undefined) throwParseError(doubleAtMessage) |
| 500 | if (this.branches.length) throwParseError(chainedAtMessage) |
| 501 | this.key = key |
| 502 | return cases ? this.match(cases) : this |
| 503 | } |
| 504 | |
| 505 | case(def: unknown, resolver: Morph): InternalChainedMatchParser { |
| 506 | return this.caseEntry(this.$.parse(def), resolver) |
nothing calls this directly
no test coverage detected