MCPcopy Create free account
hub / github.com/buger/jsonparser / nextToken

Function nextToken

parser.go:236–238  ·  view source on GitHub ↗

SYS-REQ-001 Find position of next character which is not whitespace reqproof:lemma nextToken_in_range func(data []byte) bool { r := nextToken(data) return r >= -1 && r < len(data) } reqproof:lemma nextToken_empty_neg func(data []byte) bool { return !(len(data) == 0) || nextToken(data)

(data []byte)

Source from the content-addressed store, hash-verified

234// return true
235// }
236func nextToken(data []byte) int {
237 return nextTokenConfig(DefaultConfig, data)
238}
239
240// SYS-REQ-115
241func nextTokenConfig(_ Config, data []byte) int {

Callers 7

EachKeyFunction · 0.85
EachKeyErrFunction · 0.85
arrayEachErrFunction · 0.85
containerStartFunction · 0.85

Calls 1

nextTokenConfigFunction · 0.85