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

Method constructor

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

Source from the content-addressed store, hash-verified

522 }
523 class t {
524 constructor() {
525 (this.matchIndexes = {}),
526 (this.regexes = []),
527 (this.matchAt = 1),
528 (this.position = 0);
529 }
530 addRule(e, n) {
531 (n.position = this.position++),
532 (this.matchIndexes[this.matchAt] = n),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected