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

Method constructor

packages/utils/renderer/highlight.js:122–124  ·  view source on GitHub ↗
(e, n)

Source from the content-addressed store, hash-verified

120 o = (e) => !!e.kind;
121 class l {
122 constructor(e, n) {
123 (this.buffer = ''), (this.classPrefix = n.classPrefix), e.walk(this);
124 }
125 addText(e) {
126 this.buffer += t(e);
127 }

Callers

nothing calls this directly

Calls 1

walkMethod · 0.80

Tested by

no test coverage detected