The MmlNode factory (defaults to MmlFactory if not given)
Protected
documentThe document in which the nodes are being made
Protected
nodeHolds the mapping from node kinds to visitor funcitons
Static
defaultAttributes to include on every element of a given kind
Static
renameMmlNode kinds to replace with other names
Static
variantsTranslations for the internal mathvariants
The node who attributes are to be copied
The MathML DOM node to which attributes are being added
Protected
getThe node whose attributes are to be produced
The attribute list
Protected
getCreate the list of data-mjx-* attributes
The node whose data list is to be generated
The final class attribute list
Protected
getThe node whose kind is needed
The MamlML node name for that kind
Protected
setThe class attribute list
The name for the data-mjx-name attribute
The value of the attribute
The generic visiting function: Create a DOM node of the correct type. Add its explicit attributes. Append its children nodes. Append the new node to the DOM parent.
The node to visit
The DOM parent to which this node should be added
The HTML node to visit
The DOM parent to which this node should be added
Visit an inferred mrow, but don't add the inferred row itself (since it is supposed to be inferred).
The inferred mrow to visit
The DOM parent to which this node's children should be added
The text node to visit
The DOM parent to which this node should be added
Convert the tree rooted at a particular node into DOM nodes.
The node to use as the root of the tree to traverse
The document in which the nodes are created
The MathML DOM nodes representing the internal tree
The XML node to visit
The DOM parent to which this node should be added
Protected
Static
methodVisitor functions are named "visitKindNode" where "Kind" is replaced by the node kind; e.g., visitTextNode for kind = text.
The node kind whose method name is needed
The name of the visitor method for the given node kind
Implements the MathMLVisitor (subclass of MmlVisitor)