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

Function humanizeParts

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

Source from the content-addressed store, hash-verified

3856}
3857
3858function humanizeParts(tokens: Token[]) {
3859 return tokens.map((token) => [token.type, ...token.parts]);
3860}
3861
3862function tokenizeAndHumanizeParts(input: string, options?: TokenizeOptions): any[] {
3863 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