MCPcopy Create free account
hub / github.com/F-Stack/f-stack / funcstat

Function funcstat

freebsd/contrib/openzfs/module/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.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