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

Function _fieldAccess

tools/ngui/static/js/lib/angular.js:6305–6318  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

6303 }
6304
6305 function _fieldAccess(object) {
6306 var field = expect().text;
6307 var getter = getterFn(field, csp);
6308 return extend(
6309 function(scope, locals, self) {
6310 return getter(self || object(scope, locals), locals);
6311 },
6312 {
6313 assign:function(scope, value, locals) {
6314 return setter(object(scope, locals), field, value);
6315 }
6316 }
6317 );
6318 }
6319
6320 function _objectIndex(obj) {
6321 var indexFn = expression();

Callers

nothing calls this directly

Calls 6

expectFunction · 0.85
getterFnFunction · 0.85
extendFunction · 0.85
getterFunction · 0.85
objectFunction · 0.85
setterFunction · 0.85

Tested by

no test coverage detected