MCPcopy
hub / github.com/PaulTaykalo/objc-dependency-visualizer / bitwiseassignop

Function bitwiseassignop

Scripts/ace/worker-javascript.js:3709–3728  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

3707
3708
3709 function bitwiseassignop(s) {
3710 return assignop(s, function(left, that) {
3711 if (state.option.bitwise) {
3712 warning("W016", that, that.id);
3713 }
3714
3715 if (left) {
3716 if (left.id === "." || left.id === "[" ||
3717 (left.identifier && !isReserved(left))) {
3718 expression(10);
3719 return that;
3720 }
3721 if (left === state.syntax["function"]) {
3722 warning("W023", state.tokens.curr);
3723 }
3724 return that;
3725 }
3726 error("E031", that);
3727 }, 20);
3728 }
3729
3730
3731 function suffix(s) {

Callers 1

Calls 5

assignopFunction · 0.85
warningFunction · 0.85
isReservedFunction · 0.85
expressionFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected