MCPcopy Create free account
hub / github.com/TruthHun/BookStack / expandAfterFuture

Method expandAfterFuture

static/katex/katex.mjs:14048–14051  ·  view source on GitHub ↗

* Expand the next token only once (if possible), and return the resulting * top token on the stack (without removing anything from the stack). * Similar in behavior to TeX's `\expandafter\futurelet`. * Equivalent to expandOnce() followed by future().

()

Source from the content-addressed store, hash-verified

14046
14047
14048 expandAfterFuture() {
14049 this.expandOnce();
14050 return this.future();
14051 }
14052 /**
14053 * Recursively expand first token, then return first non-expandable token.
14054 */

Callers 3

katex.jsFile · 0.80
katex.mjsFile · 0.80
katex.min.jsFile · 0.80

Calls 2

expandOnceMethod · 0.95
futureMethod · 0.95

Tested by

no test coverage detected