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

Function funcstat

app/redis-6.2.6/deps/lua/src/lparser.c:1216–1225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1214
1215
1216static void funcstat (LexState *ls, int line) {
1217 /* funcstat -> FUNCTION funcname body */
1218 int needself;
1219 expdesc v, b;
1220 luaX_next(ls); /* skip FUNCTION */
1221 needself = funcname(ls, &v);
1222 body(ls, &b, needself, line);
1223 luaK_storevar(ls->fs, &v, &b);
1224 luaK_fixline(ls->fs, line); /* definition `happens' in the first line */
1225}
1226
1227
1228static 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