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

Method constructor

www/js/_hyperscript.js:16–20  ·  view source on GitHub ↗
(tokens, source)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

consumeWhitespaceMethod · 0.45
addGrammarElementMethod · 0.45
addFeaturesMethod · 0.45

Tested by

no test coverage detected