Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/yuin/gopher-lua
/ Register
Method
Register
compile.go:349–352 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
347
}
348
349
func
(vp *varNamePool) Register(name string) int {
350
vp.names = append(vp.names, name)
351
return
len(vp.names) - 1 + vp.offset
352
}
353
354
/* }}} VarNamePool */
355
Callers
2
RegisterUnique
Method · 0.95
RegisterLocalVar
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected