MCPcopy Create free account
hub / github.com/arktypeio/arktype / next

Function next

ark/type/parser/string.ts:397–398  ·  view source on GitHub ↗
(s: RuntimeState)

Source from the content-addressed store, hash-verified

395 : s
396
397const next = (s: RuntimeState): void =>
398 s.hasRoot() ? s.parseOperator() : s.parseOperand()
399
400type next<s extends StaticState, $, args> =
401 s["root"] extends undefined ? parseOperand<s, $, args>

Callers 4

parseUntilFinalizerFunction · 0.70
issuesNone.tsFile · 0.50
runFunction · 0.50
cache.test.tsFile · 0.50

Calls 3

hasRootMethod · 0.80
parseOperatorMethod · 0.80
parseOperandMethod · 0.80

Tested by 1

runFunction · 0.40