(c)
| 50652 | throw error; |
| 50653 | }, |
| 50654 | next = function next(c) { |
| 50655 | |
| 50656 | // If a c parameter is provided, verify that it matches the current character. |
| 50657 | |
| 50658 | if (c && c !== ch) { |
| 50659 | error("Expected " + renderChar(c) + " instead of " + renderChar(ch)); |
| 50660 | } |
| 50661 | |
| 50662 | // Get the next character. When there are no more characters, |
| 50663 | // return the empty string. |
| 50664 | |
| 50665 | ch = text.charAt(at); |
| 50666 | at++; |
| 50667 | columnNumber++; |
| 50668 | if (ch === '\n' || ch === '\r' && peek() !== '\n') { |
| 50669 | lineNumber++; |
| 50670 | columnNumber = 0; |
| 50671 | } |
| 50672 | return ch; |
| 50673 | }, |
| 50674 | peek = function peek() { |
| 50675 | |
| 50676 | // Get the next character without consuming it or |
no test coverage detected
searching dependent graphs…