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

Method matchAnyOpToken

www/js/_hyperscript.esm.js:92–97  ·  view source on GitHub ↗
(...ops)

Source from the content-addressed store, hash-verified

90 }
91 }
92 matchAnyOpToken(...ops) {
93 for (var i = 0; i < ops.length; i++) {
94 var match = this.matchOpToken(ops[i]);
95 if (match) return match;
96 }
97 }
98 // ----- Token consuming -----
99 consumeToken() {
100 var match = this.#tokens.shift();

Callers 4

matchAnyOpTokenMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
_parseScrollModifiersFunction · 0.45

Calls 1

matchOpTokenMethod · 0.45

Tested by

no test coverage detected