MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / infix

Function infix

MathBox/mathbox-core.js:32676–32683  ·  view source on GitHub ↗
(id, bp, led)

Source from the content-addressed store, hash-verified

32674}
32675
32676function infix(id, bp, led) {
32677 var sym = symbol(id, bp)
32678 sym.led = led || function(left) {
32679 this.children = [left, expression(bp)]
32680 this.type = 'binary'
32681 return this
32682 }
32683}
32684
32685function infixr(id, bp, led) {
32686 var sym = symbol(id, bp)

Callers 1

mathbox-core.jsFile · 0.70

Calls 2

symbolFunction · 0.70
expressionFunction · 0.70

Tested by

no test coverage detected