MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / #syncToFeature

Method #syncToFeature

www/js/_hyperscript.js:1690–1695  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

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