(stream, state)
| 46 | } |
| 47 | |
| 48 | function tokenString(stream, state) { |
| 49 | var escaped = false, ch; |
| 50 | while ((ch = stream.next()) != null) { |
| 51 | if (ch == '"' && !escaped) { |
| 52 | state.tokenize = null; |
| 53 | state.sol = false; |
| 54 | break; |
| 55 | } |
| 56 | escaped = !escaped && ch == "\\"; |
| 57 | } |
| 58 | |
| 59 | return "string"; |
| 60 | } |
| 61 | |
| 62 | function tokenIdent(stream, state) { |
| 63 | stream.eatWhile(isDigit); |
nothing calls this directly
no outgoing calls
no test coverage detected