MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / mknode

Function mknode

MathBox/mathbox-core.js:33710–33718  ·  view source on GitHub ↗
(mode, sourcetoken)

Source from the content-addressed store, hash-verified

33708}
33709
33710function mknode(mode, sourcetoken) {
33711 return {
33712 mode: mode
33713 , token: sourcetoken
33714 , children: []
33715 , type: stmt_type[mode]
33716// , id: (Math.random() * 0xFFFFFFFF).toString(16)
33717 }
33718}
33719
33720function is_storage(token) {
33721 return token.data === 'const' ||

Callers 13

parserFunction · 0.70
parse_stmtFunction · 0.70
invariant_or_notFunction · 0.70
storage_or_notFunction · 0.70
parameter_or_notFunction · 0.70
precision_or_notFunction · 0.70
nFunction · 0.70
adhocFunction · 0.70
declFunction · 0.70
structFunction · 0.70
exprFunction · 0.70
keywordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected