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

Function isKstr

third-party/lua-5.5.0/src/lcode.c:1265–1268  ·  view source on GitHub ↗

** Check whether expression 'e' is a short literal string */

Source from the content-addressed store, hash-verified

1263** Check whether expression 'e' is a short literal string
1264*/
1265static int isKstr (FuncState *fs, expdesc *e) {
1266 return (e->k == VK && !hasjumps(e) && e->u.info <= MAXINDEXRK &&
1267 ttisshrstring(&fs->f->k[e->u.info]));
1268}
1269
1270/*
1271** Check whether expression 'e' is a literal integer.

Callers 1

luaK_indexedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected