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

Function yindex

engine/lua/src/lua/lparser.c:418–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416
417
418static void yindex (LexState *ls, expdesc *v) {
419 /* index -> '[' expr ']' */
420 luaX_next(ls); /* skip the '[' */
421 expr(ls, v);
422 luaK_exp2val(ls->fs, v);
423 checknext(ls, ']');
424}
425
426
427/*

Callers 2

recfieldFunction · 0.85
primaryexpFunction · 0.85

Calls 4

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

Tested by

no test coverage detected