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

Function yindex

extlibs/lua/src/lparser.c:803–809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801
802
803static void yindex (LexState *ls, expdesc *v) {
804 /* index -> '[' expr ']' */
805 luaX_next(ls); /* skip the '[' */
806 expr(ls, v);
807 luaK_exp2val(ls->fs, v);
808 checknext(ls, ']');
809}
810
811
812/*

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