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

Method consume

static/katex/katex.mjs:14938–14940  ·  view source on GitHub ↗

* Considers the current look ahead token as consumed, * and fetches the one after that as the new look ahead.

()

Source from the content-addressed store, hash-verified

14936
14937
14938 consume() {
14939 this.nextToken = this.gullet.expandNextToken();
14940 }
14941 /**
14942 * Switches between "text" and "math" modes.
14943 */

Callers 15

expectMethod · 0.95
parseMethod · 0.95
handleSupSubscriptMethod · 0.95
handleUnsupportedCmdMethod · 0.95
parseAtomMethod · 0.95
parseFunctionMethod · 0.95
consumeSpacesMethod · 0.95
parseStringGroupMethod · 0.95
parseRegexGroupMethod · 0.95
parseGroupMethod · 0.95
parseSymbolMethod · 0.95
getHLinesFunction · 0.80

Calls 1

expandNextTokenMethod · 0.80

Tested by

no test coverage detected