MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / yindex

Function yindex

third-party/lua-5.5.0/src/lparser.c:898–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896
897
898static void yindex (LexState *ls, expdesc *v) {
899 /* index -> '[' expr ']' */
900 luaX_next(ls); /* skip the '[' */
901 expr(ls, v);
902 luaK_exp2val(ls->fs, v);
903 checknext(ls, ']');
904}
905
906
907/*

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