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

Function symbol

MathBox/mathbox-core.js:32647–32661  ·  view source on GitHub ↗
(id, binding_power)

Source from the content-addressed store, hash-verified

32645}
32646
32647function symbol(id, binding_power) {
32648 var sym = symbol_table[id]
32649 binding_power = binding_power || 0
32650 if(sym) {
32651 if(binding_power > sym.lbp) {
32652 sym.lbp = binding_power
32653 }
32654 } else {
32655 sym = Object.create(original_symbol)
32656 sym.id = id
32657 sym.lbp = binding_power
32658 symbol_table[id] = sym
32659 }
32660 return sym
32661}
32662
32663function expression(rbp) {
32664 var left, t = token

Callers 5

mathbox-core.jsFile · 0.70
infixFunction · 0.70
infixrFunction · 0.70
prefixFunction · 0.70
suffixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected