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

Function parseBooleanLiteral

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

Source from the content-addressed store, hash-verified

1787 }
1788
1789 parseBooleanLiteral(value: boolean) {
1790 const node = this.startNode<N.BooleanLiteral>();
1791 node.value = value;
1792 this.next();
1793 return this.finishNode(node, "BooleanLiteral");
1794 }
1795
1796 parseNullLiteral() {
1797 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