(stream, state)
| 232 | |
| 233 | // C#-style strings where "" escapes a quote. |
| 234 | function tokenAtString(stream, state) { |
| 235 | var next; |
| 236 | while ((next = stream.next()) != null) { |
| 237 | if (next == '"' && !stream.eat('"')) { |
| 238 | state.tokenize = null; |
| 239 | break; |
| 240 | } |
| 241 | } |
| 242 | return "string"; |
| 243 | } |
| 244 | |
| 245 | // C++11 raw string literal is <prefix>"<delim>( anything )<delim>", where |
| 246 | // <delim> can be a string up to 16 characters long. |