| 64 | } |
| 65 | |
| 66 | export class ConstraintSyntaxError extends Error { |
| 67 | readonly source: string; |
| 68 | readonly position: number; |
| 69 | |
| 70 | constructor(source: string, detail: string, position: number) { |
| 71 | super(formatErrorMessage(source, detail, position)); |
| 72 | this.name = "ConstraintSyntaxError"; |
| 73 | this.source = source; |
| 74 | this.position = position; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | class Parser { |
| 79 | readonly source: string; |
nothing calls this directly
no outgoing calls
no test coverage detected