MCPcopy Index your code
hub / github.com/angular/angular / tokenizeAndHumanizeErrors

Function tokenizeAndHumanizeErrors

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

Source from the content-addressed store, hash-verified

3844}
3845
3846function tokenizeAndHumanizeErrors(input: string, options?: TokenizeOptions): any[] {
3847 return tokenize(input, 'someUrl', getHtmlTagDefinition, options).errors.map((e) => [
3848 e.msg,
3849 humanizeLineColumn(e.span.start),
3850 ]);
3851}

Callers 1

lexer_spec.tsFile · 0.85

Calls 3

tokenizeFunction · 0.90
mapMethod · 0.80
humanizeLineColumnFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…