MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / funcstat

Function funcstat

src/Chain/libraries/glua/lparser.cpp:1537–1548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1535
1536
1537static void funcstat(LexState *ls, int line) {
1538 /* funcstat -> FUNCTION funcname body */
1539 int ismethod;
1540 expdesc v, b;
1541 luaX_next(ls); /* skip FUNCTION */
1542 ismethod = funcname(ls, &v);
1543 body(ls, &b, ismethod, line);
1544 if (ls->L->force_stopping)
1545 return;
1546 luaK_storevar(ls->fs, &v, &b);
1547 luaK_fixline(ls->fs, line); /* definition "happens" in the first line */
1548}
1549
1550
1551static 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