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

Function funcname

third-party/lua-5.5.0/src/lparser.c:1972–1983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1970
1971
1972static int funcname (LexState *ls, expdesc *v) {
1973 /* funcname -> NAME {fieldsel} [':' NAME] */
1974 int ismethod = 0;
1975 singlevar(ls, v);
1976 while (ls->t.token == '.')
1977 fieldsel(ls, v);
1978 if (ls->t.token == ':') {
1979 ismethod = 1;
1980 fieldsel(ls, v);
1981 }
1982 return ismethod;
1983}
1984
1985
1986static 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