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

Function getunopr

third-party/lua-5.5.0/src/lparser.c:1309–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307
1308
1309static UnOpr getunopr (int op) {
1310 switch (op) {
1311 case TK_NOT: return OPR_NOT;
1312 case '-': return OPR_MINUS;
1313 case '~': return OPR_BNOT;
1314 case '#': return OPR_LEN;
1315 default: return OPR_NOUNOPR;
1316 }
1317}
1318
1319
1320static BinOpr getbinopr (int op) {

Callers 1

subexprFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected