Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
821
static 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
831
static BinOpr getbinopr (int op) {
Callers
1
subexpr
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected