MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / addLeafExpression

Method addLeafExpression

src/core/kernel.js:356–359  ·  view source on GitHub ↗
(name, definition)

Source from the content-addressed store, hash-verified

354 }
355
356 addLeafExpression(name, definition) {
357 this.#leafExpressions.push(name);
358 this.addGrammarElement(name, definition);
359 }
360
361 addIndirectExpression(name, definition) {
362 this.#indirectExpressions.push(name);

Callers 1

registerParseElementMethod · 0.95

Calls 1

addGrammarElementMethod · 0.95

Tested by

no test coverage detected