MCPcopy Create free account
hub / github.com/babel/babel / parseBooleanLiteral

Function parseBooleanLiteral

packages/babel-parser/src/parser/expression.ts:1791–1796  ·  view source on GitHub ↗
(value: boolean)

Source from the content-addressed store, hash-verified

1789 }
1790
1791 parseBooleanLiteral(value: boolean) {
1792 const node = this.startNode<N.BooleanLiteral>();
1793 node.value = value;
1794 this.next();
1795 return this.finishNode(node, "BooleanLiteral");
1796 }
1797
1798 parseNullLiteral() {
1799 const node = this.startNode<N.NullLiteral>();

Callers

nothing calls this directly

Calls 2

nextMethod · 0.80
finishNodeMethod · 0.80

Tested by

no test coverage detected