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

Method matchToken

www/js/_hyperscript.esm.js:1178–1180  ·  view source on GitHub ↗
(value, type)

Source from the content-addressed store, hash-verified

1176 return this.tokens.peekToken(value, peek, type);
1177 }
1178 matchToken(value, type) {
1179 return this.tokens.matchToken(value, type);
1180 }
1181 consumeToken() {
1182 return this.tokens.consumeToken();
1183 }

Callers 1

requireTokenMethod · 0.95

Calls 1

matchTokenMethod · 0.45

Tested by

no test coverage detected