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

Function infix

MathBox/mathbox-bundle.js:79361–79368  ·  view source on GitHub ↗
(id, bp, led)

Source from the content-addressed store, hash-verified

79359}
79360
79361function infix(id, bp, led) {
79362 var sym = symbol(id, bp)
79363 sym.led = led || function(left) {
79364 this.children = [left, expression(bp)]
79365 this.type = 'binary'
79366 return this
79367 }
79368}
79369
79370function infixr(id, bp, led) {
79371 var sym = symbol(id, bp)

Callers 1

mathbox-bundle.jsFile · 0.70

Calls 2

symbolFunction · 0.70
expressionFunction · 0.70

Tested by

no test coverage detected