MCPcopy Index your code
hub / github.com/angular/angular / resetParserState

Function resetParserState

packages/core/src/render3/styling/styling_parser.ts:162–168  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

160 * @param text The styling text to parse.
161 */
162export 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.

Callers 2

parseClassNameFunction · 0.85
parseStyleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…