()
| 48529 | } |
| 48530 | }, |
| 48531 | white = function white() { |
| 48532 | |
| 48533 | // Skip whitespace and comments. |
| 48534 | // Note that we're detecting comments by only a single / character. |
| 48535 | // This works since regular expressions are not valid JSON(5), but this will |
| 48536 | // break if there are other valid values that begin with a / character! |
| 48537 | |
| 48538 | while (ch) { |
| 48539 | if (ch === '/') { |
| 48540 | comment(); |
| 48541 | } else if (ws.indexOf(ch) >= 0) { |
| 48542 | next(); |
| 48543 | } else { |
| 48544 | return; |
| 48545 | } |
| 48546 | } |
| 48547 | }, |
| 48548 | word = function word() { |
| 48549 | |
| 48550 | // true, false, or null. |
no test coverage detected