(group, options)
| 7027 | */ |
| 7028 | |
| 7029 | var 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 |
no outgoing calls
no test coverage detected