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

Function parseStyle

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

Source from the content-addressed store, hash-verified

122 * @returns index where the next invocation of `parseStyleNext` should resume.
123 */
124export function parseStyle(text: string): number {
125 resetParserState(text);
126 return parseStyleNext(text, consumeWhitespace(text, 0, parserState.textEnd));
127}
128
129/**
130 * Parses the next `cssText` key/values.

Callers 2

styleStringParserFunction · 0.90

Calls 3

resetParserStateFunction · 0.85
parseStyleNextFunction · 0.85
consumeWhitespaceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…