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

Function reference

packages/effect/src/internal/schema/codeExpression.ts:29–34  ·  view source on GitHub ↗
(token: Token, shorthand = false)

Source from the content-addressed store, hash-verified

27 return token
28 }
29 const reference = (token: Token, shorthand = false): void => {
30 const fragment = references.get(token.text)
31 if (fragment !== undefined) {
32 replacements.push({ token, fragment: shorthand ? code`${token.text}: ${fragment}` : fragment })
33 }
34 }
35 const list = (end: string, item: () => void): void => {
36 if (take(end)) return
37 do {

Callers 2

pathFunction · 0.70
expressionFunction · 0.70

Calls 3

codeFunction · 0.90
getMethod · 0.65
pushMethod · 0.65

Tested by

no test coverage detected