| 50221 | } |
| 50222 | }, |
| 50223 | white = function white() { |
| 50224 | |
| 50225 | // Skip whitespace and comments. |
| 50226 | // Note that we're detecting comments by only a single / character. |
| 50227 | // This works since regular expressions are not valid JSON(5), but this will |
| 50228 | // break if there are other valid values that begin with a / character! |
| 50229 | |
| 50230 | while (ch) { |
| 50231 | if (ch === '/') { |
| 50232 | comment(); |
| 50233 | } else if (ws.indexOf(ch) >= 0) { |
| 50234 | next(); |
| 50235 | } else { |
| 50236 | return; |
| 50237 | } |
| 50238 | } |
| 50239 | }, |
| 50240 | word = function word() { |
| 50241 | |
| 50242 | // true, false, or null. |