MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / getunopr

Function getunopr

lib/lua/src/lparser.c:1195–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193
1194
1195static UnOpr getunopr (int op) {
1196 switch (op) {
1197 case TK_NOT: return OPR_NOT;
1198 case '-': return OPR_MINUS;
1199 case '~': return OPR_BNOT;
1200 case '#': return OPR_LEN;
1201 default: return OPR_NOUNOPR;
1202 }
1203}
1204
1205
1206static BinOpr getbinopr (int op) {

Callers 1

subexprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected