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

Function infixr

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

Source from the content-addressed store, hash-verified

32683}
32684
32685function infixr(id, bp, led) {
32686 var sym = symbol(id, bp)
32687 sym.led = led || function(left) {
32688 this.children = [left, expression(bp - 1)]
32689 this.type = 'binary'
32690 return this
32691 }
32692 return sym
32693}
32694
32695function prefix(id, nud) {
32696 var sym = symbol(id)

Callers 2

mathbox-core.jsFile · 0.70
assignmentFunction · 0.70

Calls 2

symbolFunction · 0.70
expressionFunction · 0.70

Tested by

no test coverage detected