Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/yuin/gopher-lua
/ currentLocalBase
Method
currentLocalBase
_state.go:793–799 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
791
}
792
793
func
(ls *LState) currentLocalBase() int {
794
base := 0
795
if
ls.currentFrame != nil {
796
base = ls.currentFrame.LocalBase
797
}
798
return
base
799
}
800
801
func
(ls *LState) currentEnv() *LTable {
802
return
ls.Env
Callers
8
printReg
Method · 0.95
indexToReg
Method · 0.95
GetTop
Method · 0.95
SetTop
Method · 0.95
Replace
Method · 0.95
Get
Method · 0.95
Insert
Method · 0.95
Remove
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected