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

Function newErrorToken

packages/compiler/src/expression_parser/lexer.ts:219–221  ·  view source on GitHub ↗
(index: number, end: number, message: string)

Source from the content-addressed store, hash-verified

217}
218
219function newErrorToken(index: number, end: number, message: string): Token {
220 return new Token(index, end, TokenType.Error, 0, message);
221}
222
223function newRegExpBodyToken(index: number, end: number, text: string): Token {
224 return new Token(index, end, TokenType.RegExpBody, 0, text);

Callers 1

errorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…