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

Function tokenizeAndHumanizeParts

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

Source from the content-addressed store, hash-verified

3860}
3861
3862function tokenizeAndHumanizeParts(input: string, options?: TokenizeOptions): any[] {
3863 return humanizeParts(tokenizeWithoutErrors(input, options).tokens);
3864}
3865
3866function tokenizeAndHumanizeSourceSpans(input: string, options?: TokenizeOptions): any[] {
3867 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