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

Method parse

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

Source from the content-addressed store, hash-verified

834 this.value = value;
835 }
836 static parse(parser) {
837 var booleanLiteral = parser.matchToken("true") || parser.matchToken("false");
838 if (!booleanLiteral) return;
839 const value = booleanLiteral.value === "true";
840 return new _BooleanLiteral(value);
841 }
842 evalStatically() {
843 return this.value;
844 }

Callers

nothing calls this directly

Calls 1

matchTokenMethod · 0.45

Tested by

no test coverage detected