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

Method currentEnv

state.go:901–909  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

899}
900
901func (ls *LState) currentEnv() *LTable {
902 return ls.Env
903 /*
904 if ls.currentFrame == nil {
905 return ls.Env
906 }
907 return ls.currentFrame.Fn.Env
908 */
909}
910
911func (ls *LState) rkValue(idx int) LValue {
912 /*

Callers 5

NewUserDataMethod · 0.95
NewFunctionMethod · 0.95
NewClosureMethod · 0.95
LoadMethod · 0.95
GPCallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected