Where the run came from. Carried rather than recomputed, because the engine foundation treats a wrong line number as a bug and this subsystem has no source text to recover one from.
Display style (\[…\], equation, align) rather than inline ($…$).
This is MathJax's { display } flag, and it changes the typesetting —
limit placement on \sum, fraction size, spacing — not merely the
surrounding whitespace, so it cannot be applied afterwards by the caller.
The TeX between the delimiters — x^2, not $x^2$. Stripping $…$,
\(…\), \[…\] and the environment wrappers is the document layer's job,
because that is where the source positions are; by the time it reaches here
a run is just an expression.
One math run, as the document model hands it over.