MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / getunopr

Function getunopr

deps/lua/src/lparser.c:778–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776
777
778static UnOpr getunopr (int op) {
779 switch (op) {
780 case TK_NOT: return OPR_NOT;
781 case '-': return OPR_MINUS;
782 case '#': return OPR_LEN;
783 default: return OPR_NOUNOPR;
784 }
785}
786
787
788static BinOpr getbinopr (int op) {

Callers 1

subexprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected