MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fieldsel

Function fieldsel

freebsd/contrib/openzfs/module/lua/lparser.c:620–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618
619
620static void fieldsel (LexState *ls, expdesc *v) {
621 /* fieldsel -> ['.' | ':'] NAME */
622 FuncState *fs = ls->fs;
623 expdesc key;
624 luaK_exp2anyregup(fs, v);
625 luaX_next(ls); /* skip the dot or colon */
626 checkname(ls, &key);
627 luaK_indexed(fs, v, &key);
628}
629
630
631static void yindex (LexState *ls, expdesc *v) {

Callers 2

suffixedexpFunction · 0.85
funcnameFunction · 0.85

Calls 4

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

Tested by

no test coverage detected