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

Method scan

packages/compiler/src/expression_parser/lexer.ts:245–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243 }
244
245 scan(): Token[] {
246 let token = this.scanToken();
247
248 while (token !== null) {
249 this.tokens.push(token);
250 token = this.scanToken();
251 }
252
253 return this.tokens;
254 }
255
256 private advance() {
257 this.peek = ++this.index >= this.length ? chars.$EOF : this.input.charCodeAt(this.index);

Callers 3

tokenizeMethod · 0.80
isInsideStringLiteralFunction · 0.80

Calls 2

scanTokenMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected