The MmlNode factory (defaults to MmlFactory if not given)
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
Protected
attributeThe attributes to be made into a list
The opening delimiter to add before each attribute
The closing delimiter to add after each attribute
The attribute list as a string
Protected
childThe node whose children are to be added
The spaces to use for indentation
The newline character (or empty)
The serializied children
Protected
getThe node whose attributes are to be produced
The attribute list
Protected
getProtected
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 inherited attributes are to be produced
The inhertited attribute list as a string (with each in [...])
Protected
getThe node whose kind is needed
The MamlML node name for that kind
Protected
getThe node whose properties are to be produced
The property list as a string (with each in [[...]])
Protected
quoteConvert HTML special characters to entities (&, <, >, ") Convert multi-character Unicode characters to entities Convert non-ASCII characters to entities.
The string to be made HTML escaped
The string with escaping performed
Protected
setThe class attribute list
The name for the data-mjx-name attribute
The value of the attribute
The annotation node to visit
The number of spaces to use for indentation
The serializied annotation element
The HTML node to visit
The amount of indenting for this node
The serialization of the HTML
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 amount of indenting for this node
The serialized contents of the mrow, properly indented
The text node to visit
The amount of indenting for this node
The (HTML-quoted) text of the node
Convert the tree rooted at a particular node into a serialized MathML string
The node to use as the root of the tree to traverse
The MathML string representing the internal tree
The XML node to visit
The amount of indenting for this node
The serialization of the XML node
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 TestMmlVisitor (subclass of SerializedMmlVisitor)