(message, expected, found, location)
| 5 | |
| 6 | class peg$SyntaxError extends SyntaxError { |
| 7 | constructor(message, expected, found, location) { |
| 8 | super(message); |
| 9 | this.expected = expected; |
| 10 | this.found = found; |
| 11 | this.location = location; |
| 12 | this.name = "SyntaxError"; |
| 13 | } |
| 14 | |
| 15 | format(sources) { |
| 16 | let str = "Error: " + this.message; |
nothing calls this directly
no outgoing calls
no test coverage detected