MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / funcname

Function funcname

Source/Misc/lua/src/lua.c:8774–8785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8772
8773
8774static int funcname (LexState *ls, expdesc *v) {
8775/* funcname -> NAME {field} [`:' NAME] */
8776int needself = 0;
8777singlevar(ls, v);
8778while (ls->t.token == '.')
8779field(ls, v);
8780if (ls->t.token == ':') {
8781needself = 1;
8782field(ls, v);
8783}
8784return needself;
8785}
8786
8787
8788static void funcstat (LexState *ls, int line) {

Callers 1

funcstatFunction · 0.85

Calls 2

singlevarFunction · 0.85
fieldFunction · 0.85

Tested by

no test coverage detected