The HTMLElement node class
The Text node class
The Document class
The MmlNode factory (defaults to MmlFactory if not given)
The MathItem currently being processed
Protected
nodeHolds the mapping from node kinds to visitor funcitons
The options controlling the serialization
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
childThe node whose children are to be added
The spaces to use for indentation
The newline character (or empty)
The serializied children
Protected
getProtected
getThe node whose attributes are to be produced
The attribute list as a string
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
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 generic visiting function: Make the string version of the open tag, properly indented, with it attributes Increate the indentation level Add the childnodes Add the end tag with proper spacing (empty tags have the close tag following directly)
The node to visit
The number of spaces to use for indentation
The serialization of the given node
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 math node to visit
The number of spaces to use for indentation
The serialized math element
The text node to visit
The amount of indenting for this node
The (HTML-quoted) text of the node
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
The visitor to serialize MathML