MCPcopy Index your code
hub / github.com/Shopify/go-lua / RawGet

Method RawGet

lua.go:1005–1008  ·  view source on GitHub ↗

RawGet is similar to GetTable, but does a raw access (without metamethods). http://www.lua.org/manual/5.2/manual.html#lua_rawget

(index int)

Source from the content-addressed store, hash-verified

1003//
1004// http://www.lua.org/manual/5.2/manual.html#lua_rawget
1005func (l *State) RawGet(index int) {
1006 t := l.indexToValue(index).(*table)
1007 l.stack[l.top-1] = t.at(l.stack[l.top-1])
1008}
1009
1010// RawGetInt pushes onto the stack the value table[key] where table is the
1011// value at index on the stack. The access is raw, as it doesn't invoke

Callers 4

internalHookFunction · 0.80
debug.goFile · 0.80
base.goFile · 0.80
MetaFieldFunction · 0.80

Calls 2

indexToValueMethod · 0.95
atMethod · 0.80

Tested by

no test coverage detected