(stream, state)
| 391 | return slimClass(stream, state); |
| 392 | } |
| 393 | function slimClass(stream, state) { |
| 394 | if (stream.match(classIdRegexp)) { |
| 395 | state.tokenize = slimClass; |
| 396 | return "slimId"; |
| 397 | } |
| 398 | if (stream.match(classNameRegexp)) { |
| 399 | state.tokenize = slimClass; |
| 400 | return "slimClass"; |
| 401 | } |
| 402 | return slimAttribute(stream, state); |
| 403 | } |
| 404 | function slimAttribute(stream, state) { |
| 405 | if (stream.match(/^([\[\{\(])/)) { |
| 406 | return startAttributeWrapperMode(state, closing[RegExp.$1], slimAttribute); |
no test coverage detected