@mathjax/src
    Preparing search index...

    Implements the TestMmlVisitor (subclass of SerializedMmlVisitor)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    nodeHandlers: Map<string, VisitorFunction<MmlNode>> = ...

    Holds the mapping from node kinds to visitor funcitons

    defaultAttributes: { [kind: string]: PropertyList } = ...

    Attributes to include on every element of a given kind

    rename: PropertyList = ...

    MmlNode kinds to replace with other names

    variants: PropertyList = ...

    Translations for the internal mathvariants

    Methods

    • Parameters

      • attributes: PropertyList

        The attributes to be made into a list

      • open: string

        The opening delimiter to add before each attribute

      • close: string

        The closing delimiter to add after each attribute

      Returns string

      The attribute list as a string

    • Convert HTML special characters to entities (&, <, >, ") Convert multi-character Unicode characters to entities Convert non-ASCII characters to entities.

      Parameters

      • value: string

        The string to be made HTML escaped

      Returns string

      The string with escaping performed

    • Visitor functions are named "visitKindNode" where "Kind" is replaced by the node kind; e.g., visitTextNode for kind = text.

      Parameters

      • kind: string

        The node kind whose method name is needed

      Returns string

      The name of the visitor method for the given node kind