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

Function getunopr

third-party/lua-5.4.6/src/lparser.c:1194–1202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192
1193
1194static UnOpr getunopr (int op) {
1195 switch (op) {
1196 case TK_NOT: return OPR_NOT;
1197 case '-': return OPR_MINUS;
1198 case '~': return OPR_BNOT;
1199 case '#': return OPR_LEN;
1200 default: return OPR_NOUNOPR;
1201 }
1202}
1203
1204
1205static BinOpr getbinopr (int op) {

Callers 1

subexprFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected