MCPcopy Create free account
hub / github.com/segmentio/encoding / depth

Method depth

json/token.go:207–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205}
206
207func (t *Tokenizer) depth() int {
208 if t.stack == nil {
209 return 0
210 }
211 return t.stack.depth()
212}
213
214func (t *Tokenizer) index() int {
215 if t.stack == nil {

Callers 1

NextMethod · 0.95

Calls 1

depthMethod · 0.45

Tested by

no test coverage detected