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

Method isExpansionFormStart

packages/compiler/src/ml_parser/lexer.ts:1307–1315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1305 }
1306
1307 private isExpansionFormStart(): boolean {
1308 if (this._cursor.peek() !== chars.$LBRACE) {
1309 return false;
1310 }
1311 const start = this._cursor.clone();
1312 const isInterpolation = this._attemptStr(INTERPOLATION.start);
1313 this._cursor = start;
1314 return !isInterpolation;
1315 }
1316}
1317
1318function isNotWhitespace(code: number): boolean {

Callers 2

_isTextEndMethod · 0.95

Calls 3

_attemptStrMethod · 0.95
peekMethod · 0.65
cloneMethod · 0.65

Tested by

no test coverage detected