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

Method parseLeaf

src/core/kernel.js:95–102  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

93 }
94
95 parseLeaf(parser) {
96 var result = parser.parseAnyOf(this.#leafExpressions);
97 // symbol is last so it doesn't consume any constants
98 if (result == null) {
99 return parser.parseElement("symbol");
100 }
101 return result;
102 }
103
104 parseIndirectExpression(parser, root) {
105 for (var i = 0; i < this.#indirectExpressions.length; i++) {

Callers

nothing calls this directly

Calls 2

parseAnyOfMethod · 0.45
parseElementMethod · 0.45

Tested by

no test coverage detected