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

Method constructor

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

Source from the content-addressed store, hash-verified

142 }
143 class c {
144 constructor() {
145 (this.rootNode = { children: [] }), (this.stack = [this.rootNode]);
146 }
147 get top() {
148 return this.stack[this.stack.length - 1];
149 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected