MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / funcname

Function funcname

deps/lua/src/lparser.c:1198–1209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196
1197
1198static int funcname (LexState *ls, expdesc *v) {
1199 /* funcname -> NAME {field} [`:' NAME] */
1200 int needself = 0;
1201 singlevar(ls, v);
1202 while (ls->t.token == '.')
1203 field(ls, v);
1204 if (ls->t.token == ':') {
1205 needself = 1;
1206 field(ls, v);
1207 }
1208 return needself;
1209}
1210
1211
1212static 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