@mathjax/src
    Preparing search index...

    Interface ComplexityMathItem<N, T, D>

    The functions added to MathItem for complexity

    interface ComplexityMathItem<N, T, D> {
        _state: number;
        display: boolean;
        end: Location<N, T>;
        initialID: number;
        inputData: OptionList;
        inputJax: InputJax<N, T, D>;
        math: string;
        metrics: Metrics;
        outputData: OptionList;
        root: MmlNode;
        semanticNodes: SemanticMap;
        start: Location<N, T>;
        toMathML: (node: MmlNode, math: MathItem<N, T, D>) => string;
        typesetRoot: N;
        get isEscaped(): boolean;
        clear(): void;
        compile(document: MathDocument<N, T, D>): void;
        complexity(
            document: ComplexityMathDocument<N, T, D>,
            force?: boolean,
        ): void;
        convert(document: MathDocument<N, T, D>, end?: number): MmlNode | N;
        enrich(document: MathDocument<N, T, D>, force?: boolean): void;
        parseSemanticNodes(): void;
        removeFromDocument(_restore?: boolean): void;
        render(document: MathDocument<N, T, D>): void;
        rerender(document: MathDocument<N, T, D>, start?: number): void;
        reset(restore?: boolean): void;
        setMetrics(em: number, ex: number, cwidth: number, scale: number): void;
        state(state?: number, restore?: boolean): number;
        toEnriched(mml: string): string;
        typeset(document: MathDocument<N, T, D>): void;
        unEnrich(document: MathDocument<N, T, D>): void;
        updateDocument(_document: MathDocument<N, T, D>): void;
    }

    Type Parameters

    • N

      The HTMLElement node class

    • T

      The Text node class

    • D

      The Document class

    Hierarchy (View Summary)

    Index
    _state: number = STATE.UNPROCESSED

    The current state of the item (how far in the render actions it has been processed)

    display: boolean

    True when this math is in display mode

    end: Location<N, T>

    Reference to the end of the math in the document

    initialID: number

    The starting collapse ID for this expression

    inputData: OptionList = {}

    Data private to the input jax

    inputJax: InputJax<N, T, D>

    The input jax associated with this item

    math: string

    The source text for the math (e.g., TeX string)

    metrics: Metrics = ...

    The metric information about the surrounding environment

    outputData: OptionList = {}

    Data private to the output jax

    root: MmlNode = null

    The compiled internal MathML (result of InputJax)

    semanticNodes: SemanticMap

    Maps semantic ids to extra nodes outside the DOM subtree.

    start: Location<N, T>

    Reference to the beginning of the math in the document

    toMathML: (node: MmlNode, math: MathItem<N, T, D>) => string

    The serialization visitor

    typesetRoot: N = null

    The typeset result (result of OutputJax)

    • get isEscaped(): boolean

      Returns boolean

      True when this item is an escaped delimiter