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

Function isKstr

third-party/lua-5.4.6/src/lcode.c:1222–1225  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1220** Check whether expression 'e' is a short literal string
1221*/
1222static int isKstr (FuncState *fs, expdesc *e) {
1223 return (e->k == VK && !hasjumps(e) && e->u.info <= MAXARG_B &&
1224 ttisshrstring(&fs->f->k[e->u.info]));
1225}
1226
1227/*
1228** Check whether expression 'e' is a literal integer.

Callers 1

luaK_indexedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected