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

Function yindex

freebsd/contrib/openzfs/module/lua/lparser.c:631–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629
630
631static void yindex (LexState *ls, expdesc *v) {
632 /* index -> '[' expr ']' */
633 luaX_next(ls); /* skip the '[' */
634 expr(ls, v);
635 luaK_exp2val(ls->fs, v);
636 checknext(ls, ']');
637}
638
639
640/*

Callers 2

recfieldFunction · 0.70
suffixedexpFunction · 0.70

Calls 4

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

Tested by

no test coverage detected