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

Method #syncToFeature

www/js/_hyperscript-max.js:1689–1694  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

1687 return result;
1688 }
1689 #syncToFeature(parser) {
1690 parser.tokens.clearFollows();
1691 while (parser.hasMore() && !parser.featureStart(parser.currentToken()) && parser.currentToken().value !== "end" && parser.currentToken().type !== "EOF") {
1692 parser.tokens.consumeToken();
1693 }
1694 }
1695 #syncToCommand(parser) {
1696 parser.tokens.clearFollows();
1697 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