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

Method parse

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

Source from the content-addressed store, hash-verified

828 this.value = value;
829 }
830 static parse(parser) {
831 var booleanLiteral = parser.matchToken("true") || parser.matchToken("false");
832 if (!booleanLiteral) return;
833 const value = booleanLiteral.value === "true";
834 return new _BooleanLiteral(value);
835 }
836 evalStatically() {
837 return this.value;
838 }

Callers

nothing calls this directly

Calls 1

matchTokenMethod · 0.45

Tested by

no test coverage detected