(line, pos, description)
| 2038 | } |
| 2039 | |
| 2040 | function createError(line, pos, description) { |
| 2041 | var error = new Error('Line ' + line + ': ' + description); |
| 2042 | error.index = pos; |
| 2043 | error.lineNumber = line; |
| 2044 | error.column = pos - (scanning ? lineStart : lastLineStart) + 1; |
| 2045 | error.description = description; |
| 2046 | return error; |
| 2047 | } |
| 2048 | |
| 2049 | // Throw an exception |
| 2050 |
no outgoing calls
no test coverage detected