(
kind: ErrorKind,
location: Location
)
| 1148 | } |
| 1149 | |
| 1150 | private error( |
| 1151 | kind: ErrorKind, |
| 1152 | location: Location |
| 1153 | ): Result<never, ParserError> { |
| 1154 | return { |
| 1155 | val: null, |
| 1156 | err: { |
| 1157 | kind, |
| 1158 | message: this.message, |
| 1159 | location, |
| 1160 | }, |
| 1161 | } |
| 1162 | } |
| 1163 | |
| 1164 | /** Bump the parser to the next UTF-16 code unit. */ |
| 1165 | private bump(): void { |
no outgoing calls
no test coverage detected