MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / getunopr

Function getunopr

lua/lparser.c:821–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819
820
821static UnOpr getunopr (int op) {
822 switch (op) {
823 case TK_NOT: return OPR_NOT;
824 case '-': return OPR_MINUS;
825 case '#': return OPR_LEN;
826 default: return OPR_NOUNOPR;
827 }
828}
829
830
831static BinOpr getbinopr (int op) {

Callers 1

subexprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected