MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / fieldsel

Function fieldsel

ThirdParty/lua/lua/lparser.c:604–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602
603
604static void fieldsel (LexState *ls, expdesc *v) {
605 /* fieldsel -> ['.' | ':'] NAME */
606 FuncState *fs = ls->fs;
607 expdesc key;
608 luaK_exp2anyregup(fs, v);
609 luaX_next(ls); /* skip the dot or colon */
610 checkname(ls, &key);
611 luaK_indexed(fs, v, &key);
612}
613
614
615static void yindex (LexState *ls, expdesc *v) {

Callers 2

suffixedexpFunction · 0.85
funcnameFunction · 0.85

Calls 4

luaK_exp2anyregupFunction · 0.85
luaX_nextFunction · 0.85
checknameFunction · 0.85
luaK_indexedFunction · 0.85

Tested by

no test coverage detected