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

Function consumeClassToken

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

Source from the content-addressed store, hash-verified

192 * @returns Index after last char in class token.
193 */
194export function consumeClassToken(text: string, startIndex: number, endIndex: number): number {
195 while (startIndex < endIndex && text.charCodeAt(startIndex) > CharCode.SPACE) {
196 startIndex++;
197 }
198 return startIndex;
199}
200
201/**
202 * Consumes all of the characters belonging to style key and token.

Callers 1

parseClassNameNextFunction · 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…