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

Function yindex

lua/lparser.c:449–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447
448
449static void yindex (LexState *ls, expdesc *v) {
450 /* index -> '[' expr ']' */
451 luaX_next(ls); /* skip the '[' */
452 expr(ls, v);
453 luaK_exp2val(ls->fs, v);
454 checknext(ls, ']');
455}
456
457
458/*

Callers 2

recfieldFunction · 0.85
primaryexpFunction · 0.85

Calls 4

luaX_nextFunction · 0.85
exprFunction · 0.85
luaK_exp2valFunction · 0.85
checknextFunction · 0.85

Tested by

no test coverage detected