MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / yindex

Function yindex

src/Chain/libraries/glua/lparser.cpp:649–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648
649static void yindex(LexState *ls, expdesc *v) {
650 /* index -> '[' expr ']' */
651 luaX_next(ls); /* skip the '[' */
652 expr(ls, v);
653 luaK_exp2val(ls->fs, v);
654 checknext(ls, ']');
655}
656
657
658/*

Callers 2

recfieldFunction · 0.85
suffixedexpFunction · 0.85

Calls 4

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

Tested by

no test coverage detected