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

Method parse

tools/common/_hyperscript.iife.js:3702–3706  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

3700 this.args = { value: root };
3701 }
3702 static parse(parser) {
3703 if (!parser.matchToken("not")) return;
3704 var root = parser.requireElement("unaryExpression");
3705 return new _LogicalNot(root);
3706 }
3707 resolve(context, { value: val }) {
3708 return !val;
3709 }

Callers

nothing calls this directly

Calls 2

matchTokenMethod · 0.45
requireElementMethod · 0.45

Tested by

no test coverage detected