MCPcopy Index your code
hub / github.com/yuin/gopher-lua / yyTokname

Function yyTokname

parse/parser.go:399–406  ·  view source on GitHub ↗
(c int)

Source from the content-addressed store, hash-verified

397const yyFlag = -1000
398
399func yyTokname(c int) string {
400 if c >= 1 && c-1 < len(yyToknames) {
401 if yyToknames[c-1] != "" {
402 return yyToknames[c-1]
403 }
404 }
405 return __yyfmt__.Sprintf("tok-%v", c)
406}
407
408func yyStatname(s int) string {
409 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…