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

Method GetTable

state.go:1911–1913  ·  view source on GitHub ↗
(obj LValue, key LValue)

Source from the content-addressed store, hash-verified

1909}
1910
1911func (ls *LState) GetTable(obj LValue, key LValue) LValue {
1912 return ls.getField(obj, key)
1913}
1914
1915func (ls *LState) RawSet(tb *LTable, key LValue, value LValue) {
1916 if n, ok := key.(LNumber); ok && math.IsNaN(float64(n)) {

Callers 1

strGsubTableFunction · 0.45

Calls 1

getFieldMethod · 0.95

Tested by

no test coverage detected