MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / funcname

Function funcname

src/Chain/libraries/glua/lparser.cpp:1523–1534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1521
1522
1523static int funcname(LexState *ls, expdesc *v) {
1524 /* funcname -> NAME {fieldsel} [':' NAME] */
1525 int ismethod = 0;
1526 singlevar(ls, v);
1527 while (ls->t.token == '.')
1528 fieldsel(ls, v);
1529 if (ls->t.token == ':') {
1530 ismethod = 1;
1531 fieldsel(ls, v);
1532 }
1533 return ismethod;
1534}
1535
1536
1537static 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