MCPcopy 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
328func (vp *varNamePool) LastIndex() int {
329 return vp.offset + len(vp.names)
330}
331
332func (vp *varNamePool) Find(name string) int {
333 for i := len(vp.names) - 1; i >= 0; i-- {

Callers 3

CloseUpvaluesMethod · 0.80
LeaveBlockMethod · 0.80
compileBreakStmtFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected