MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / funcname

Function funcname

extlibs/lua/src/lparser.c:1789–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1787
1788
1789static int funcname (LexState *ls, expdesc *v) {
1790 /* funcname -> NAME {fieldsel} [':' NAME] */
1791 int ismethod = 0;
1792 singlevar(ls, v);
1793 while (ls->t.token == '.')
1794 fieldsel(ls, v);
1795 if (ls->t.token == ':') {
1796 ismethod = 1;
1797 fieldsel(ls, v);
1798 }
1799 return ismethod;
1800}
1801
1802
1803static 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