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

Function list

packages/effect/src/internal/schema/codeExpression.ts:35–42  ·  view source on GitHub ↗
(end: string, item: () => void)

Source from the content-addressed store, hash-verified

33 }
34 }
35 const list = (end: string, item: () => void): void => {
36 if (take(end)) return
37 do {
38 item()
39 if (!take(",")) break
40 } while (!at(end))
41 expect(end)
42 }
43 const path = (): void => {
44 reference(identifier())
45 while (take(".")) identifier()

Callers 2

typeMemberFunction · 0.70
expressionFunction · 0.70

Calls 4

takeFunction · 0.70
atFunction · 0.70
expectFunction · 0.70
itemFunction · 0.50

Tested by

no test coverage detected