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

Function getunopr

third-party/lua-5.3.5/src/lparser.c:986–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984
985
986static UnOpr getunopr (int op) {
987 switch (op) {
988 case TK_NOT: return OPR_NOT;
989 case '-': return OPR_MINUS;
990 case '~': return OPR_BNOT;
991 case '#': return OPR_LEN;
992 default: return OPR_NOUNOPR;
993 }
994}
995
996
997static BinOpr getbinopr (int op) {

Callers 1

subexprFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected