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

Function parseClassNameNext

packages/core/src/render3/styling/styling_parser.ts:101–108  ·  view source on GitHub ↗
(text: string, index: number)

Source from the content-addressed store, hash-verified

99 * @returns index where the next invocation of `parseClassNameNext` should resume.
100 */
101export 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.

Callers 2

classStringParserFunction · 0.90
parseClassNameFunction · 0.85

Calls 2

consumeClassTokenFunction · 0.85
consumeWhitespaceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…