MCPcopy Create free account
hub / github.com/F-Stack/f-stack / yindex

Function yindex

app/redis-6.2.6/deps/lua/src/lparser.c:422–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420
421
422static void yindex (LexState *ls, expdesc *v) {
423 /* index -> '[' expr ']' */
424 luaX_next(ls); /* skip the '[' */
425 expr(ls, v);
426 luaK_exp2val(ls->fs, v);
427 checknext(ls, ']');
428}
429
430
431/*

Callers 2

recfieldFunction · 0.70
primaryexpFunction · 0.70

Calls 4

luaX_nextFunction · 0.70
exprFunction · 0.70
luaK_exp2valFunction · 0.70
checknextFunction · 0.70

Tested by

no test coverage detected