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

Function funcname

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

Source from the content-addressed store, hash-verified

1200
1201
1202static int funcname (LexState *ls, expdesc *v) {
1203 /* funcname -> NAME {field} [`:' NAME] */
1204 int needself = 0;
1205 singlevar(ls, v);
1206 while (ls->t.token == '.')
1207 field(ls, v);
1208 if (ls->t.token == ':') {
1209 needself = 1;
1210 field(ls, v);
1211 }
1212 return needself;
1213}
1214
1215
1216static void funcstat (LexState *ls, int line) {

Callers 1

funcstatFunction · 0.70

Calls 2

singlevarFunction · 0.70
fieldFunction · 0.70

Tested by

no test coverage detected