Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
207
func
(t *Tokenizer) depth() int {
208
if
t.stack == nil {
209
return
0
210
}
211
return
t.stack.depth()
212
}
213
214
func
(t *Tokenizer) index() int {
215
if
t.stack == nil {
Callers
1
Next
Method · 0.95
Calls
1
depth
Method · 0.45
Tested by
no test coverage detected