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

Method parse

www/js/_hyperscript.js:5337–5341  ·  view source on GitHub ↗
(parser, root)

Source from the content-addressed store, hash-verified

5335 this.args = { value: root };
5336 }
5337 static parse(parser, root) {
5338 let stringPostfix = parser.matchAnyToken(...STRING_POSTFIXES) || parser.matchOpToken("%");
5339 if (!stringPostfix) return;
5340 return new _StringPostfixExpression(root, stringPostfix.value);
5341 }
5342 resolve(context, { value: val }) {
5343 return "" + val + this.postfix;
5344 }

Callers

nothing calls this directly

Calls 2

matchAnyTokenMethod · 0.45
matchOpTokenMethod · 0.45

Tested by

no test coverage detected