()
| 1818 | // Return true if there is a line terminator before the next token. |
| 1819 | |
| 1820 | function peekLineTerminator() { |
| 1821 | var pos, line, start, found; |
| 1822 | |
| 1823 | pos = index; |
| 1824 | line = lineNumber; |
| 1825 | start = lineStart; |
| 1826 | skipComment(); |
| 1827 | found = lineNumber !== line; |
| 1828 | index = pos; |
| 1829 | lineNumber = line; |
| 1830 | lineStart = start; |
| 1831 | |
| 1832 | return found; |
| 1833 | } |
| 1834 | |
| 1835 | // Throw an exception |
| 1836 |
no test coverage detected