(stream, state)
| 292 | } |
| 293 | } |
| 294 | function eachContinued(stream, state) { |
| 295 | if (state.isEach) { |
| 296 | if (stream.match(/^ in\b/)) { |
| 297 | state.javaScriptLine = true; |
| 298 | state.isEach = false; |
| 299 | return KEYWORD; |
| 300 | } else if (stream.sol() || stream.eol()) { |
| 301 | state.isEach = false; |
| 302 | } else if (stream.next()) { |
| 303 | while (!stream.match(/^ in\b/, false) && stream.next()); |
| 304 | return 'variable'; |
| 305 | } |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | function whileStatement(stream, state) { |
| 310 | if (stream.match(/^while\b/)) { |