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

Function n

MathBox/mathbox-bundle.js:80057–80062  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

80055 // node types ---------------
80056
80057 function n(type) {
80058 // this is a function factory that suffices for most kinds of expressions and statements
80059 return function() {
80060 return mknode(type, token)
80061 }
80062 }
80063
80064 function adhoc() {
80065 return mknode(token_map[token.type], token, node)

Callers 1

parserFunction · 0.70

Calls 1

mknodeFunction · 0.70

Tested by

no test coverage detected