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

Method shift

ark/util/scanner.ts:64–66  ·  view source on GitHub ↗

the next character, advancing past it

()

Source from the content-addressed store, hash-verified

62
63 /** the next character, advancing past it */
64 shift(): this["peek"] {
65 return (this.chars[this.i++] ?? "") as never
66 }
67
68 /** the next character, or "" at the end */
69 get peek(): peek {

Callers 15

shiftUntilMethod · 0.95
shiftUntilEscapableMethod · 0.95
shiftControlEscapeMethod · 0.95
organizeDocPartsFunction · 0.80
trimPartsFunction · 0.80
workerFunction · 0.80
startup.tsFile · 0.80
workerFunction · 0.80
createAsyncPrecompilerFunction · 0.80
_parseOptionalConstraintFunction · 0.80
parseEnclosedFunction · 0.80
parseOperandFunction · 0.80

Calls

no outgoing calls

Tested by 1

sideFunction · 0.64