MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / fieldsel

Function fieldsel

third-party/lua-5.3.5/src/lparser.c:610–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608
609
610static void fieldsel (LexState *ls, expdesc *v) {
611 /* fieldsel -> ['.' | ':'] NAME */
612 FuncState *fs = ls->fs;
613 expdesc key;
614 luaK_exp2anyregup(fs, v);
615 luaX_next(ls); /* skip the dot or colon */
616 checkname(ls, &key);
617 luaK_indexed(fs, v, &key);
618}
619
620
621static void yindex (LexState *ls, expdesc *v) {

Callers 2

suffixedexpFunction · 0.70
funcnameFunction · 0.70

Calls 4

luaK_exp2anyregupFunction · 0.70
luaX_nextFunction · 0.70
checknameFunction · 0.70
luaK_indexedFunction · 0.70

Tested by

no test coverage detected