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

Function consumeWhitespace

packages/core/src/render3/styling/styling_parser.ts:179–184  ·  view source on GitHub ↗
(text: string, startIndex: number, endIndex: number)

Source from the content-addressed store, hash-verified

177 * that location.)
178 */
179export function consumeWhitespace(text: string, startIndex: number, endIndex: number): number {
180 while (startIndex < endIndex && text.charCodeAt(startIndex) <= CharCode.SPACE) {
181 startIndex++;
182 }
183 return startIndex;
184}
185
186/**
187 * Returns index of last char in class token.

Callers 5

parseClassNameFunction · 0.85
parseClassNameNextFunction · 0.85
parseStyleFunction · 0.85
parseStyleNextFunction · 0.85
consumeSeparatorFunction · 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…