MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / funcname

Function funcname

lua/lparser.c:1284–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1282
1283
1284static int funcname (LexState *ls, expdesc *v) {
1285 /* funcname -> NAME {field} [`:' NAME] */
1286 int needself = 0;
1287 singlevar(ls, v);
1288 while (ls->t.token == '.')
1289 field(ls, v);
1290 if (ls->t.token == ':') {
1291 needself = 1;
1292 field(ls, v);
1293 }
1294 return needself;
1295}
1296
1297
1298static void funcstat (LexState *ls, int line) {

Callers 1

funcstatFunction · 0.85

Calls 2

singlevarFunction · 0.85
fieldFunction · 0.70

Tested by

no test coverage detected