MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / funcname

Function funcname

third-party/lua-5.3.5/src/lparser.c:1462–1473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1460
1461
1462static int funcname (LexState *ls, expdesc *v) {
1463 /* funcname -> NAME {fieldsel} [':' NAME] */
1464 int ismethod = 0;
1465 singlevar(ls, v);
1466 while (ls->t.token == '.')
1467 fieldsel(ls, v);
1468 if (ls->t.token == ':') {
1469 ismethod = 1;
1470 fieldsel(ls, v);
1471 }
1472 return ismethod;
1473}
1474
1475
1476static void funcstat (LexState *ls, int line) {

Callers 1

funcstatFunction · 0.70

Calls 2

singlevarFunction · 0.70
fieldselFunction · 0.70

Tested by

no test coverage detected