MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / peek

Method peek

Rewrite-Parser.beta.js:3045–3047  ·  view source on GitHub ↗
(offset = 0)

Source from the content-addressed store, hash-verified

3043 }
3044
3045 peek(offset = 0) {
3046 return this.tokens[this.position + offset]
3047 }
3048
3049 consume() {
3050 const token = this.tokens[this.position++]

Callers 4

parseMethod · 0.95
parseExpressionMethod · 0.95
parseExpressionListMethod · 0.95
collectValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected