The MmlNode factory (defaults to MmlFactory if not given)
ProtectednodeHolds the mapping from node kinds to visitor funcitons
StaticdefaultAttributes to include on every element of a given kind
StaticrenameMmlNode kinds to replace with other names
StaticvariantsTranslations for the internal mathvariants
The node who attributes are to be copied
The old-style node to which attributes are being added
The node whose properties are to be copied
The old-stype node to which the properties are being copied
ProtectedgetThe node whose attributes are to be produced
The attribute list
ProtectedgetCreate the list of data-mjx-* attributes
The node whose data list is to be generated
The final class attribute list
ProtectedgetThe node whose kind is needed
The MamlML node name for that kind
ProtectedsetThe class attribute list
The name for the data-mjx-name attribute
The value of the attribute
The generic visiting function: Create a node of the correct type. Add its explicit attributes. Add its non-attribute properties. Append its children nodes. Append the new node to the old-style parent.
The node to visit
The old-style parent to which this node should be added
The XMLNode to visit
Any arguments needed by the visitor
Any return value needed for the visitor
Visit an inferred mrow, but don't add the inferred row itself (the old-style nodes will add one automatically).
The inferred mrow to visit
The old-style parent to which this node's children should be added
The text node to visit
The old-style parent to which this node should be added
Convert the tree rooted at a particular node into the old-style internal format used by MathJax v2.
The node to use as the root of the tree to traverse
The old-style internal format equivalent of the tree
The XML node to visit
The old-style parent to which this node should be added
Protected StaticmethodVisitor 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 LegacyMmlVisitor (subclass of MmlVisitor)