MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / yindex

Function yindex

3rd/lua-5.4.3/src/lparser.c:810–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808
809
810static void yindex (LexState *ls, expdesc *v) {
811 /* index -> '[' expr ']' */
812 luaX_next(ls); /* skip the '[' */
813 expr(ls, v);
814 luaK_exp2val(ls->fs, v);
815 checknext(ls, ']');
816}
817
818
819/*

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