MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / addLeafExpression

Method addLeafExpression

www/js/_hyperscript.js:1648–1651  ·  view source on GitHub ↗
(name, definition)

Source from the content-addressed store, hash-verified

1646 }
1647 }
1648 addLeafExpression(name, definition) {
1649 this.#leafExpressions.push(name);
1650 this.addGrammarElement(name, definition);
1651 }
1652 addIndirectExpression(name, definition) {
1653 this.#indirectExpressions.push(name);
1654 this.addGrammarElement(name, definition);

Callers 1

registerParseElementMethod · 0.45

Calls 1

addGrammarElementMethod · 0.45

Tested by

no test coverage detected