MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / funcname

Function funcname

ThirdParty/lua/lua/lparser.c:1459–1470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

funcstatFunction · 0.85

Calls 2

singlevarFunction · 0.85
fieldselFunction · 0.85

Tested by

no test coverage detected