@mathjax/src
    Preparing search index...
    Index

    Constructors

    Properties

    columnParser: ColumnParser = ...

    The column parser

    error: boolean = false

    Error state of the parser.

    handlers: SubHandlers

    A set of sub handlers

    itemFactory: default

    The current item factory.

    mathItem: MathItem<any, any, any>

    The current MathItem

    mathStyle: (c: string, b?: boolean) => string

    The function returning the math-style variant

    nodeFactory: NodeFactory

    The current node factory.

    nodeLists: { [key: string]: MmlNode[] } = {}

    List of node lists saved with respect to some property or their kind.

    options: OptionList = {}

    A set of options, mapping names to string or boolean values.

    packageData: Map<string, any> = ...

    Storage area for parser-specific package data (indexed by package name)

    parsers: default[] = []

    Stack of previous tex parsers. This is used to keep track of parser settings when expressions are recursively parsed.

    root: MmlNode = null

    The current root node.

    tags: Tags

    The current tagging object.

    Accessors

    Methods

    • Saves a tree node to a list of nodes for post processing.

      Parameters

      • property: string

        The property name that will be used for postprocessing.

      • node: MmlNode

        The node to save.

      Returns void

    • Gets a saved node list with respect to a given property. It first ensures that all the nodes are "live", i.e., actually live in the current tree. Sometimes nodes are created, saved in the node list but discarded later in the parsing. These will be filtered out here.

      NB: Do not use this method before the root field of the options is set. Otherwise, your node list will always be empty!

      Parameters

      • property: string

        The property for which to retrieve the node list.

      Returns MmlNode[]

      The saved node list.

    • Remove a list of nodes from a saved list (e.g., when a filter removes the node from the DOM, like for munderover => munder).

      Parameters

      • property: string

        The property from which to remove nodes.

      • nodes: MmlNode[]

        The nodes to remove.

      Returns void