MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / funcname

Function funcname

lib/lua/src/lparser.c:1768–1779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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