MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / getlocvar

Function getlocvar

third-party/lua-5.3.5/src/lparser.c:195–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194
195static LocVar *getlocvar (FuncState *fs, int i) {
196 int idx = fs->ls->dyd->actvar.arr[fs->firstlocal + i].idx;
197 lua_assert(idx < fs->nlocvars);
198 return &fs->f->locvars[idx];
199}
200
201
202static void adjustlocalvars (LexState *ls, int nvars) {

Callers 9

adjustlocalvarsFunction · 0.70
removevarsFunction · 0.70
searchvarFunction · 0.70
closegotoFunction · 0.70
localfuncFunction · 0.70
adjustlocalvarsFunction · 0.50
removevarsFunction · 0.50
searchvarFunction · 0.50
localfuncFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected