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

Method add

packages/utils/renderer/highlight.js:153–155  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

151 return this.rootNode;
152 }
153 add(e) {
154 this.top.children.push(e);
155 }
156 openNode(e) {
157 const n = { kind: e, children: [] };
158 this.add(n), this.stack.push(n);

Callers 6

openNodeMethod · 0.95
handleFloatingBarDisplayFunction · 0.80
handleFloatingBarDisplayFunction · 0.80
addTextMethod · 0.80
addSublanguageMethod · 0.80
getSitemapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected