MCPcopy
hub / github.com/grafana/tempo / yyTokname

Function yyTokname

pkg/traceql/expr.y.go:686–693  ·  view source on GitHub ↗
(c int)

Source from the content-addressed store, hash-verified

684const yyFlag = -1000
685
686func yyTokname(c int) string {
687 if c >= 1 && c-1 < len(yyToknames) {
688 if yyToknames[c-1] != "" {
689 return yyToknames[c-1]
690 }
691 }
692 return __yyfmt__.Sprintf("tok-%v", c)
693}
694
695func yyStatname(s int) string {
696 if s >= 0 && s < len(yyStatenames) {

Callers 3

yyErrorMessageFunction · 0.85
yylex1Function · 0.85
ParseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected