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

Function funcstat

third-party/lua-5.2.4/src/lparser.c:1468–1477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1466
1467
1468static void funcstat (LexState *ls, int line) {
1469 /* funcstat -> FUNCTION funcname body */
1470 int ismethod;
1471 expdesc v, b;
1472 luaX_next(ls); /* skip FUNCTION */
1473 ismethod = funcname(ls, &v);
1474 body(ls, &b, ismethod, line);
1475 luaK_storevar(ls->fs, &v, &b);
1476 luaK_fixline(ls->fs, line); /* definition `happens' in the first line */
1477}
1478
1479
1480static 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