MCPcopy Create free account
hub / github.com/apache/cloudstack / unary

Function unary

tools/ngui/static/js/lib/angular.js:6256–6267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6254 }
6255
6256 function unary() {
6257 var token;
6258 if (expect('+')) {
6259 return primary();
6260 } else if ((token = expect('-'))) {
6261 return binaryFn(ZERO, token.fn, unary());
6262 } else if ((token = expect('!'))) {
6263 return unaryFn(token.fn, unary());
6264 } else {
6265 return primary();
6266 }
6267 }
6268
6269
6270 function primary() {

Callers 1

multiplicativeFunction · 0.85

Calls 4

expectFunction · 0.85
primaryFunction · 0.85
binaryFnFunction · 0.85
unaryFnFunction · 0.85

Tested by

no test coverage detected