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

Function tokenizeAndHumanizeErrors

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

Source from the content-addressed store, hash-verified

3890}
3891
3892function tokenizeAndHumanizeErrors(input: string, options?: TokenizeOptions): any[] {
3893 return tokenize(input, 'someUrl', getHtmlTagDefinition, options).errors.map((e) => [
3894 e.msg,
3895 humanizeLineColumn(e.span.start),
3896 ]);
3897}

Callers 1

lexer_spec.tsFile · 0.85

Calls 3

tokenizeFunction · 0.90
mapMethod · 0.80
humanizeLineColumnFunction · 0.70

Tested by

no test coverage detected