@mathjax/src
    Preparing search index...

    Item indicating an we are currently dealing with a sub/superscript expression.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    factory: default

    The factory for stack items.

    global: EnvList = {}
    startI: number = 0
    startStr: string = ''
    stopI: number = 0
    errors: any = ...
    fail: CheckType = ...

    The fail value.

    success: CheckType = ...

    The success value.

    Accessors

    • get env(): EnvList

      Returns EnvList

      Get the private environment

    • set env(value: EnvList): void

      Set the private environment

      Parameters

      • value: EnvList

        New private environemt.

      Returns void

    • get isClose(): boolean

      Returns boolean

      True if item is an closing entity, i.e., it needs an opening counterpart already on the stack.

    • get isFinal(): boolean

      Returns boolean

      True if item is final, i.e., it contains one or multiple finished parsed nodes.

    • get isOpen(): boolean

      Returns boolean

      True if item is an opening entity, i.e., it expects a closing counterpart on the stack later.

    Methods

    • Convenience method to create nodes with the node factory on this stack.

      Parameters

      • kind: string

        The kind of node to create.

      • ...rest: any[]

        The remaining arguments for the creation method.

      Returns MmlNode

      The newly created node.

    • Get error messages for a particular types of stack item. This reads error messages from the static errors object, which can be extended in subclasses.

      Parameters

      • kind: string

        The stack item type.

      Returns string[]

      The list of arguments for the TeXError.