(text: string, index: number)
| 99 | * @returns index where the next invocation of `parseClassNameNext` should resume. |
| 100 | */ |
| 101 | export function parseClassNameNext(text: string, index: number): number { |
| 102 | const end = parserState.textEnd; |
| 103 | if (end === index) { |
| 104 | return -1; |
| 105 | } |
| 106 | index = parserState.keyEnd = consumeClassToken(text, (parserState.key = index), end); |
| 107 | return consumeWhitespace(text, index, end); |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Initializes `cssText` string for parsing and parses the first key/values. |
no test coverage detected
searching dependent graphs…