(text: string)
| 160 | * @param text The styling text to parse. |
| 161 | */ |
| 162 | export function resetParserState(text: string): void { |
| 163 | parserState.key = 0; |
| 164 | parserState.keyEnd = 0; |
| 165 | parserState.value = 0; |
| 166 | parserState.valueEnd = 0; |
| 167 | parserState.textEnd = text.length; |
| 168 | } |
| 169 | |
| 170 | /** |
| 171 | * Returns index of next non-whitespace character. |
no outgoing calls
no test coverage detected
searching dependent graphs…