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

Function humanizeParts

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

Source from the content-addressed store, hash-verified

3873}
3874
3875function humanizeParts(tokens: Token[]) {
3876 return tokens.map((token) => [token.type, ...token.parts]);
3877}
3878
3879function tokenizeAndHumanizeParts(input: string, options?: TokenizeOptions): any[] {
3880 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