MCPcopy
hub / github.com/angular/angular / newCharacterToken

Function newCharacterToken

packages/compiler/src/expression_parser/lexer.ts:195–197  ·  view source on GitHub ↗
(index: number, end: number, code: number)

Source from the content-addressed store, hash-verified

193}
194
195function newCharacterToken(index: number, end: number, code: number): Token {
196 return new Token(index, end, TokenType.Character, code, String.fromCharCode(code));
197}
198
199function newIdentifierToken(index: number, end: number, text: string): Token {
200 return new Token(index, end, TokenType.Identifier, 0, text);

Callers 4

scanTokenMethod · 0.85
scanCharacterMethod · 0.85
scanOpenBraceMethod · 0.85
scanCloseBraceMethod · 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…