()
| 571 | } |
| 572 | |
| 573 | function skipLineComment() { |
| 574 | var start = tokPos; |
| 575 | var startLoc = options.onComment && options.locations && new Position; |
| 576 | skipLine(); |
| 577 | if (options.onComment) |
| 578 | options.onComment(input.slice(start + 1, tokPos), start, tokPos, |
| 579 | startLoc, options.locations && new Position); |
| 580 | } |
| 581 | |
| 582 | // Called at the start of the parse and after every token. Skips |
| 583 | // whitespace and comments, and. |
no test coverage detected