(node: BaseNode, startLoc: Position)
| 140 | } |
| 141 | |
| 142 | resetStartLocation(node: BaseNode, startLoc: Position): void { |
| 143 | node.start = startLoc.index; |
| 144 | const { optionFlags } = this; |
| 145 | if (optionFlags & OptionFlags.Locations) { |
| 146 | node.loc!.start = this.createPosition(startLoc); |
| 147 | } |
| 148 | if (optionFlags & OptionFlags.Ranges) node.range![0] = startLoc.index; |
| 149 | } |
| 150 | |
| 151 | resetEndLocation( |
| 152 | node: BaseNode, |
nothing calls this directly
no test coverage detected