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

Method #syncToFeature

src/core/kernel.js:406–414  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

404 }
405
406 #syncToFeature(parser) {
407 parser.tokens.clearFollows();
408 while (parser.hasMore() &&
409 !parser.featureStart(parser.currentToken()) &&
410 parser.currentToken().value !== "end" &&
411 parser.currentToken().type !== "EOF") {
412 parser.tokens.consumeToken();
413 }
414 }
415
416 #syncToCommand(parser) {
417 parser.tokens.clearFollows();

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