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

Method constructor

www/js/_hyperscript.esm.js:14–18  ·  view source on GitHub ↗
(tokens, source)

Source from the content-addressed store, hash-verified

12 #follows = [];
13 source;
14 constructor(tokens, source) {
15 this.#tokens = tokens;
16 this.source = source;
17 this.consumeWhitespace();
18 }
19 get list() {
20 return this.#tokens;
21 }

Callers

nothing calls this directly

Calls 3

consumeWhitespaceMethod · 0.45
addGrammarElementMethod · 0.45
addFeaturesMethod · 0.45

Tested by

no test coverage detected