8f349b2375
In a microsyntax expressions, some attributes are not bound after desugaring. For example, ```html <div *ngFor="let item of items"> </div> ``` gets desugared to ```html <ng-template ngFor let-items [ngForOf]="items"> </ngtemplate> ``` In this case, `ngFor` should be a literal attribute with no RHS value. Therefore, its source span should be just the `keySpan` and not the source span of the original template node. This allows language service to precisely pinpoint different spans in a microsyntax to provide accurate information. PR Close #38766 |
||
---|---|---|
.. | ||
bundles | ||
ivy | ||
src | ||
test | ||
BUILD.bazel | ||
build.sh | ||
index.ts | ||
language-service.ts | ||
package.json |