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

Method popToken

static/katex/katex.mjs:13882–13886  ·  view source on GitHub ↗

* Remove and return the next unexpanded token.

()

Source from the content-addressed store, hash-verified

13880
13881
13882 popToken() {
13883 this.future(); // ensure non-empty stack
13884
13885 return this.stack.pop();
13886 }
13887 /**
13888 * Add a given token to the token stack. In particular, this get be used
13889 * to put back a token returned from one of the other methods.

Callers 5

consumeArgsMethod · 0.95
expandOnceMethod · 0.95
katex.jsFile · 0.80
katex.mjsFile · 0.80
katex.min.jsFile · 0.80

Calls 1

futureMethod · 0.95

Tested by

no test coverage detected