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

Function fieldsel

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

Source from the content-addressed store, hash-verified

636
637
638static void fieldsel(LexState *ls, expdesc *v) {
639 /* fieldsel -> ['.' | ':'] NAME */
640 FuncState *fs = ls->fs;
641 expdesc key;
642 luaK_exp2anyregup(fs, v);
643 luaX_next(ls); /* skip the dot or colon */
644 checkname(ls, &key);
645 luaK_indexed(fs, v, &key);
646}
647
648
649static 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