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

Function identifier

packages/effect/src/internal/schema/codeExpression.ts:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 if (!take(text)) fail()
22 }
23 const identifier = (): Token => {
24 const token = tokens[index]
25 if (token?.kind !== "identifier") return fail()
26 index++
27 return token
28 }
29 const reference = (token: Token, shorthand = false): void => {
30 const fragment = references.get(token.text)
31 if (fragment !== undefined) {

Callers 3

pathFunction · 0.70
typeMemberFunction · 0.70
expressionFunction · 0.70

Calls 1

failFunction · 0.70

Tested by

no test coverage detected