MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / parse

Method parse

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

Source from the content-addressed store, hash-verified

7172 return repeatCommand;
7173 }
7174 static parse(parser) {
7175 if (parser.matchToken("for")) {
7176 return _RepeatCommand.parseRepeatExpression(parser, true);
7177 }
7178 if (parser.matchToken("repeat")) {
7179 return _RepeatCommand.parseRepeatExpression(parser, false);
7180 }
7181 }
7182 resolve(context, { value, event, on }) {
7183 var iteratorInfo = {
7184 index: 0,

Callers

nothing calls this directly

Calls 2

matchTokenMethod · 0.45
parseRepeatExpressionMethod · 0.45

Tested by

no test coverage detected