()
| 1123 | } |
| 1124 | |
| 1125 | private clonePosition(): Position { |
| 1126 | // This is much faster than `Object.assign` or spread. |
| 1127 | return { |
| 1128 | offset: this.position.offset, |
| 1129 | line: this.position.line, |
| 1130 | column: this.position.column, |
| 1131 | } |
| 1132 | } |
| 1133 | |
| 1134 | /** |
| 1135 | * Return the code point at the current position of the parser. |
no outgoing calls
no test coverage detected