()
| 5083 | // Return true if there is a line terminator before the next token. |
| 5084 | |
| 5085 | function peekLineTerminator() { |
| 5086 | var pos, line, start, found; |
| 5087 | |
| 5088 | pos = index; |
| 5089 | line = lineNumber; |
| 5090 | start = lineStart; |
| 5091 | skipComment(); |
| 5092 | found = lineNumber !== line; |
| 5093 | index = pos; |
| 5094 | lineNumber = line; |
| 5095 | lineStart = start; |
| 5096 | |
| 5097 | return found; |
| 5098 | } |
| 5099 | |
| 5100 | // Throw an exception |
| 5101 |
no test coverage detected