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

Function tokenizeAndHumanizeParts

packages/compiler/test/ml_parser/lexer_spec.ts:3879–3881  ·  view source on GitHub ↗
(input: string, options?: TokenizeOptions)

Source from the content-addressed store, hash-verified

3877}
3878
3879function tokenizeAndHumanizeParts(input: string, options?: TokenizeOptions): any[] {
3880 return humanizeParts(tokenizeWithoutErrors(input, options).tokens);
3881}
3882
3883function tokenizeAndHumanizeSourceSpans(input: string, options?: TokenizeOptions): any[] {
3884 return tokenizeWithoutErrors(input, options).tokens.map((token) => [

Callers 1

lexer_spec.tsFile · 0.85

Calls 2

humanizePartsFunction · 0.85
tokenizeWithoutErrorsFunction · 0.85

Tested by

no test coverage detected