(
node: Undone<N.Identifier>,
name: string,
endLoc: Position,
)
| 2846 | } |
| 2847 | |
| 2848 | createIdentifierAt( |
| 2849 | node: Undone<N.Identifier>, |
| 2850 | name: string, |
| 2851 | endLoc: Position, |
| 2852 | ): N.Identifier { |
| 2853 | node.name = name; |
| 2854 | if (this.optionFlags & OptionFlags.Locations) { |
| 2855 | node.loc!.identifierName = name; |
| 2856 | } |
| 2857 | |
| 2858 | return this.finishNodeAt(node, "Identifier", endLoc); |
| 2859 | } |
| 2860 | |
| 2861 | parseIdentifierName(liberal?: boolean): string { |
| 2862 | let name: string; |
nothing calls this directly
no test coverage detected