MCPcopy
hub / github.com/valyala/quicktemplate / tokenIDToStr

Function tokenIDToStr

parser/scanner.go:25–31  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

23}
24
25func tokenIDToStr(id int) string {
26 str := tokenStrMap[id]
27 if str == "" {
28 panic(fmt.Sprintf("unknown tokenID=%d", id))
29 }
30 return str
31}
32
33type token struct {
34 ID int

Callers 3

expectTokenFunction · 0.85
StringMethod · 0.85
LastErrorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…