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

Method matchAnyOpToken

tools/common/_hyperscript.iife.js:94–99  ·  view source on GitHub ↗
(...ops)

Source from the content-addressed store, hash-verified

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

Callers 5

matchAnyOpTokenMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
_parseScrollModifiersFunction · 0.45
tokenizer.jsFile · 0.45

Calls 1

matchOpTokenMethod · 0.45

Tested by

no test coverage detected