(stream, state)
| 184 | } |
| 185 | |
| 186 | function when(stream, state) { |
| 187 | if (stream.match(/^when\b/)) { |
| 188 | state.javaScriptLine = true; |
| 189 | state.javaScriptLineExcludesColon = true; |
| 190 | return KEYWORD; |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | function defaultStatement(stream) { |
| 195 | if (stream.match(/^default\b/)) { |