Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmmyLua/EmmyLuaDebugger
/ getunopr
Function
getunopr
third-party/lua-5.2.4/src/lparser.c:987–994 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
985
986
987
static UnOpr getunopr (int op) {
988
switch (op) {
989
case TK_NOT: return OPR_NOT;
990
case
'-'
: return OPR_MINUS;
991
case
'#'
: return OPR_LEN;
992
default: return OPR_NOUNOPR;
993
}
994
}
995
996
997
static BinOpr getbinopr (int op) {
Callers
1
subexpr
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected