Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ getunopr
Function
getunopr
app/redis-6.2.6/deps/lua/src/lparser.c:782–789 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
780
781
782
static UnOpr getunopr (int op) {
783
switch (op) {
784
case TK_NOT: return OPR_NOT;
785
case
'-'
: return OPR_MINUS;
786
case
'#'
: return OPR_LEN;
787
default: return OPR_NOUNOPR;
788
}
789
}
790
791
792
static BinOpr getbinopr (int op) {
Callers
1
subexpr
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected