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

Method parse

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

matchTokenMethod · 0.45
requireElementMethod · 0.45

Tested by

no test coverage detected