Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/yuin/gopher-lua
/ LastIndex
Method
LastIndex
compile.go:328–330 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
326
}
327
328
func
(vp *varNamePool) LastIndex() int {
329
return
vp.offset + len(vp.names)
330
}
331
332
func
(vp *varNamePool) Find(name string) int {
333
for
i := len(vp.names) - 1; i >= 0; i-- {
Callers
3
CloseUpvalues
Method · 0.80
LeaveBlock
Method · 0.80
compileBreakStmt
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected