MCPcopy Index your code
hub / github.com/TruthHun/BookStack / buildMathML_buildGroup

Function buildMathML_buildGroup

static/katex/katex.js:7029–7041  ·  view source on GitHub ↗
(group, options)

Source from the content-addressed store, hash-verified

7027 */
7028
7029var buildMathML_buildGroup = function buildGroup(group, options) {
7030 if (!group) {
7031 return new mathMLTree.MathNode("mrow");
7032 }
7033
7034 if (_mathmlGroupBuilders[group.type]) {
7035 // Call the groupBuilders function
7036 var result = _mathmlGroupBuilders[group.type](group, options);
7037 return result;
7038 } else {
7039 throw new src_ParseError("Got group of unknown type: '" + group.type + "'");
7040 }
7041};
7042/**
7043 * Takes a full parse tree and settings and builds a MathML representation of
7044 * it. In particular, we put the elements from building the parse tree into a

Callers 8

accent_mathmlBuilderFunction · 0.85
katex.jsFile · 0.85
enclose_mathmlBuilderFunction · 0.85
array_mathmlBuilderFunction · 0.85
font_mathmlBuilderFunction · 0.85
genfrac_mathmlBuilderFunction · 0.85
horizBrace_mathmlBuilderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected