MCPcopy Create free account
hub / github.com/Effect-TS/effect / end

Method end

packages/effect/src/encoding/JsonArray.ts:282–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 }
281
282 end(): void {
283 if (this.state !== END || this.capture !== NONE) {
284 throw this.fail("Syntax", "Unexpected end of input", this.base)
285 }
286 }
287
288 // Handles one structural character and returns the next index.
289 step(text: string, i: number, c: number, out: Array<unknown>): number {

Callers 1

decodeStringFunction · 0.95

Calls 1

failMethod · 0.95

Tested by

no test coverage detected