MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / parse

Method parse

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

Source from the content-addressed store, hash-verified

3979 this.args = { value: root };
3980 }
3981 static parse(parser) {
3982 if (!parser.matchToken("not")) return;
3983 var root = parser.requireElement("unaryExpression");
3984 return new _LogicalNot(root);
3985 }
3986 resolve(context, { value: val }) {
3987 return !val;
3988 }

Callers

nothing calls this directly

Calls 2

matchTokenMethod · 0.45
requireElementMethod · 0.45

Tested by

no test coverage detected