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

Function tokenizeAndHumanizeParts

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

Source from the content-addressed store, hash-verified

3592}
3593
3594function tokenizeAndHumanizeParts(input: string, options?: TokenizeOptions): any[] {
3595 return humanizeParts(tokenizeWithoutErrors(input, options).tokens);
3596}
3597
3598function tokenizeAndHumanizeSourceSpans(input: string, options?: TokenizeOptions): any[] {
3599 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