MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / yindex

Function yindex

lib/lua/src/lparser.c:822–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820
821
822static void yindex (LexState *ls, expdesc *v) {
823 /* index -> '[' expr ']' */
824 luaX_next(ls); /* skip the '[' */
825 expr(ls, v);
826 luaK_exp2val(ls->fs, v);
827 checknext(ls, ']');
828}
829
830
831/*

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