(stream, state)
| 373 | } |
| 374 | |
| 375 | function slimTag(stream, state) { |
| 376 | if (stream.eat('*')) { |
| 377 | state.tokenize = startRubySplat(slimTagExtras); |
| 378 | return null; |
| 379 | } |
| 380 | if (stream.match(nameRegexp)) { |
| 381 | state.tokenize = slimTagExtras; |
| 382 | return "slimTag"; |
| 383 | } |
| 384 | return slimClass(stream, state); |
| 385 | } |
| 386 | function slimTagExtras(stream, state) { |
| 387 | if (stream.match(/^(<>?|><?)/)) { |
| 388 | state.tokenize = slimClass; |
no test coverage detected