MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / yindex

Function yindex

xrepo/packages/l/lua/port/lua/src/lparser.c:821–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819
820
821static void yindex (LexState *ls, expdesc *v) {
822 /* index -> '[' expr ']' */
823 luaX_next(ls); /* skip the '[' */
824 expr(ls, v);
825 luaK_exp2val(ls->fs, v);
826 checknext(ls, ']');
827}
828
829
830/*

Callers 2

recfieldFunction · 0.85
suffixedexpFunction · 0.85

Calls 4

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

Tested by

no test coverage detected