MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / infix

Function infix

ServerEditorWeb/ace/worker-javascript.js:3338–3358  ·  view source on GitHub ↗
(s, f, p, w)

Source from the content-addressed store, hash-verified

3336 }
3337
3338 function infix(s, f, p, w) {
3339 var x = symbol(s, p);
3340 reserveName(x);
3341 x.infix = true;
3342 x.led = function (left) {
3343 if (!w) {
3344 nobreaknonadjacent(state.tokens.prev, state.tokens.curr);
3345 }
3346 if (s === "in" && left.id === "!") {
3347 warning("W018", left, "!");
3348 }
3349 if (typeof f === "function") {
3350 return f(left, this);
3351 } else {
3352 this.left = left;
3353 this.right = expression(p);
3354 return this;
3355 }
3356 };
3357 return x;
3358 }
3359
3360
3361 function application(s) {

Callers 2

assignopFunction · 0.85

Calls 6

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

Tested by

no test coverage detected