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

Function infix

Scripts/ace/worker-javascript.js:3480–3500  ·  view source on GitHub ↗
(s, f, p, w)

Source from the content-addressed store, hash-verified

3478 }
3479
3480 function infix(s, f, p, w) {
3481 var x = symbol(s, p);
3482 reserveName(x);
3483 x.infix = true;
3484 x.led = function(left) {
3485 if (!w) {
3486 nobreaknonadjacent(state.tokens.prev, state.tokens.curr);
3487 }
3488 if (s === "in" && left.id === "!") {
3489 warning("W018", left, "!");
3490 }
3491 if (typeof f === "function") {
3492 return f(left, this);
3493 } else {
3494 this.left = left;
3495 this.right = expression(p);
3496 return this;
3497 }
3498 };
3499 return x;
3500 }
3501
3502
3503 function application(s) {

Callers 2

assignopFunction · 0.85

Calls 6

reserveNameFunction · 0.85
nobreaknonadjacentFunction · 0.85
warningFunction · 0.85
expressionFunction · 0.85
symbolFunction · 0.70
fFunction · 0.50

Tested by

no test coverage detected