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

Function funcname

third-party/lua-5.4.6/src/lparser.c:1767–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1765
1766
1767static int funcname (LexState *ls, expdesc *v) {
1768 /* funcname -> NAME {fieldsel} [':' NAME] */
1769 int ismethod = 0;
1770 singlevar(ls, v);
1771 while (ls->t.token == '.')
1772 fieldsel(ls, v);
1773 if (ls->t.token == ':') {
1774 ismethod = 1;
1775 fieldsel(ls, v);
1776 }
1777 return ismethod;
1778}
1779
1780
1781static 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