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

Method GetField

state.go:1907–1909  ·  view source on GitHub ↗
(obj LValue, skey string)

Source from the content-addressed store, hash-verified

1905}
1906
1907func (ls *LState) GetField(obj LValue, skey string) LValue {
1908 return ls.getFieldString(obj, skey)
1909}
1910
1911func (ls *LState) GetTable(obj LValue, key LValue) LValue {
1912 return ls.getField(obj, key)

Callers 12

RegisterModuleMethod · 0.95
NewTypeMetatableMethod · 0.95
GetTypeMetatableMethod · 0.95
PreloadModuleMethod · 0.95
GetGlobalMethod · 0.95
loFindFileFunction · 0.45
loLoaderPreloadFunction · 0.45
loModuleFunction · 0.45
loRequireFunction · 0.45
strGsubTableFunction · 0.45

Calls 1

getFieldStringMethod · 0.95

Tested by 2