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

Function funcname

third-party/lua-5.2.4/src/lparser.c:1454–1465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452
1453
1454static int funcname (LexState *ls, expdesc *v) {
1455 /* funcname -> NAME {fieldsel} [`:' NAME] */
1456 int ismethod = 0;
1457 singlevar(ls, v);
1458 while (ls->t.token == '.')
1459 fieldsel(ls, v);
1460 if (ls->t.token == ':') {
1461 ismethod = 1;
1462 fieldsel(ls, v);
1463 }
1464 return ismethod;
1465}
1466
1467
1468static 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