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

Function _assignment

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

Source from the content-addressed store, hash-verified

6179 }
6180
6181 function _assignment() {
6182 var left = logicalOR();
6183 var right;
6184 var token;
6185 if ((token = expect('='))) {
6186 if (!left.assign) {
6187 throwError("implies assignment but [" +
6188 text.substring(0, token.index) + "] can not be assigned to", token);
6189 }
6190 right = logicalOR();
6191 return function(scope, locals){
6192 return left.assign(scope, right(scope, locals), locals);
6193 };
6194 } else {
6195 return left;
6196 }
6197 }
6198
6199 function logicalOR() {
6200 var left = logicalAND();

Callers

nothing calls this directly

Calls 4

logicalORFunction · 0.85
expectFunction · 0.85
throwErrorFunction · 0.85
assignMethod · 0.45

Tested by

no test coverage detected