MCPcopy Create free account
hub / github.com/angular/angular / humanizeParts

Function humanizeParts

packages/compiler/test/ml_parser/lexer_spec.ts:3590–3592  ·  view source on GitHub ↗
(tokens: Token[])

Source from the content-addressed store, hash-verified

3588}
3589
3590function humanizeParts(tokens: Token[]) {
3591 return tokens.map((token) => [token.type, ...token.parts]);
3592}
3593
3594function tokenizeAndHumanizeParts(input: string, options?: TokenizeOptions): any[] {
3595 return humanizeParts(tokenizeWithoutErrors(input, options).tokens);

Callers 2

lexer_spec.tsFile · 0.85
tokenizeAndHumanizePartsFunction · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected