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

Function funcstat

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

Source from the content-addressed store, hash-verified

1474
1475
1476static void funcstat (LexState *ls, int line) {
1477 /* funcstat -> FUNCTION funcname body */
1478 int ismethod;
1479 expdesc v, b;
1480 luaX_next(ls); /* skip FUNCTION */
1481 ismethod = funcname(ls, &v);
1482 body(ls, &b, ismethod, line);
1483 luaK_storevar(ls->fs, &v, &b);
1484 luaK_fixline(ls->fs, line); /* definition "happens" in the first line */
1485}
1486
1487
1488static void exprstat (LexState *ls) {

Callers 1

statementFunction · 0.70

Calls 5

luaX_nextFunction · 0.70
funcnameFunction · 0.70
bodyFunction · 0.70
luaK_storevarFunction · 0.70
luaK_fixlineFunction · 0.70

Tested by

no test coverage detected