MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / constructor

Method constructor

packages/utils/renderer/highlight.js:581–587  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579 }
580 class a {
581 constructor() {
582 (this.rules = []),
583 (this.multiRegexes = []),
584 (this.count = 0),
585 (this.lastIndex = 0),
586 (this.regexIndex = 0);
587 }
588 getMatcher(e) {
589 if (this.multiRegexes[e]) return this.multiRegexes[e];
590 const n = new t();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected