MCPcopy Create free account
hub / github.com/DFHack/dfhack / yindex

Function yindex

depends/lua/src/lparser.c:622–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620
621
622static void yindex (LexState *ls, expdesc *v) {
623 /* index -> '[' expr ']' */
624 luaX_next(ls); /* skip the '[' */
625 expr(ls, v);
626 luaK_exp2val(ls->fs, v);
627 checknext(ls, ']');
628}
629
630
631/*

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