MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / #syncToFeature

Method #syncToFeature

www/js/_hyperscript.esm.js:1688–1693  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

1686 return result;
1687 }
1688 #syncToFeature(parser) {
1689 parser.tokens.clearFollows();
1690 while (parser.hasMore() && !parser.featureStart(parser.currentToken()) && parser.currentToken().value !== "end" && parser.currentToken().type !== "EOF") {
1691 parser.tokens.consumeToken();
1692 }
1693 }
1694 #syncToCommand(parser) {
1695 parser.tokens.clearFollows();
1696 while (parser.hasMore() && !parser.commandBoundary(parser.currentToken())) {

Callers 1

Calls 5

clearFollowsMethod · 0.45
hasMoreMethod · 0.45
featureStartMethod · 0.45
currentTokenMethod · 0.45
consumeTokenMethod · 0.45

Tested by

no test coverage detected