()
| 1620 | } |
| 1621 | |
| 1622 | parsePrivateName(): N.PrivateName { |
| 1623 | const node = this.startNode<N.PrivateName>(); |
| 1624 | const id = this.startNodeAt<N.Identifier>( |
| 1625 | // The position is hardcoded because we merge `#` and name into a single |
| 1626 | // tt.privateName token |
| 1627 | createPositionWithColumnOffset(this.state.startLoc, 1), |
| 1628 | ); |
| 1629 | const name = this.state.value; |
| 1630 | this.next(); // eat #name; |
| 1631 | node.id = this.createIdentifier(id, name); |
| 1632 | return this.finishNode(node, "PrivateName"); |
| 1633 | } |
| 1634 | |
| 1635 | parseFunctionOrFunctionSent( |
| 1636 | this: Parser, |
nothing calls this directly
no test coverage detected