MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / getlocalvardesc

Function getlocalvardesc

3rd/lua-5.4.3/src/lparser.c:219–221  ·  view source on GitHub ↗

** Return the "variable description" (Vardesc) of a given variable. ** (Unless noted otherwise, all variables are referred to by their ** compiler indices.) */

Source from the content-addressed store, hash-verified

217** compiler indices.)
218*/
219static Vardesc *getlocalvardesc (FuncState *fs, int vidx) {
220 return &fs->ls->dyd->actvar.arr[fs->firstlocal + vidx];
221}
222
223
224/*

Callers 9

reglevelFunction · 0.85
localdebuginfoFunction · 0.85
init_varFunction · 0.85
check_readonlyFunction · 0.85
adjustlocalvarsFunction · 0.85
newupvalueFunction · 0.85
searchvarFunction · 0.85
jumpscopeerrorFunction · 0.85
localstatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected