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

Function Lexer

static/katex/katex.js:13119–13132  ·  view source on GitHub ↗
(input, settings)

Source from the content-addressed store, hash-verified

13117function () {
13118 // category codes, only supports comment characters (14) for now
13119 function Lexer(input, settings) {
13120 this.input = void 0;
13121 this.settings = void 0;
13122 this.tokenRegex = void 0;
13123 this.catcodes = void 0;
13124 // Separate accents from characters
13125 this.input = input;
13126 this.settings = settings;
13127 this.tokenRegex = new RegExp(tokenRegexString, 'g');
13128 this.catcodes = {
13129 "%": 14 // comment character
13130
13131 };
13132 }
13133
13134 var _proto = Lexer.prototype;
13135

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected