MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / funcstat

Function funcstat

ThirdParty/lua/lua/lparser.c:1473–1482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

statementFunction · 0.85

Calls 5

luaX_nextFunction · 0.85
funcnameFunction · 0.85
bodyFunction · 0.85
luaK_storevarFunction · 0.85
luaK_fixlineFunction · 0.85

Tested by

no test coverage detected