File tree Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 138
138
"name" : " storage.type.as.ts"
139
139
}
140
140
},
141
- "end" : " (?=$|\" |[;,:})\\ ]])" ,
141
+ "end" : " (?=$|\" |'| [;,:})\\ ]])" ,
142
142
"patterns" : [
143
143
{
144
144
"include" : " #type"
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export const Expression: GrammarDefinition = {
147
147
name : 'storage.type.as.ts' ,
148
148
} ,
149
149
} ,
150
- end : / (? = $ | " | [ ; , : } ) \] ] ) / ,
150
+ end : / (? = $ | " | ' | [ ; , : } ) \] ] ) / ,
151
151
patterns : [
152
152
{
153
153
include : '#type' ,
Original file line number Diff line number Diff line change 91
91
<!-- As Expression -->
92
92
< div *ngFor ="let param of params; index as i; "> </ div >
93
93
< div *ngFor ="let param of params; index as i "> </ div >
94
+ < div *ngIf ='x as y '> </ div >
94
95
<!-- Mixed -->
95
96
< div *ngFor ="let param of params; let i = index; let last = last "> </ div >
96
97
< div *ngFor ="let param of params; let i = index; let last = last; "> </ div >
115
116
< div *ngFor ="let n of nums; index as i "> </ div >
116
117
< div *matHeaderCellDef > </ div >
117
118
<!-- #613 -->
118
- < div *ngIf ="x$ | async as a "> </ div >
119
+ < div *ngIf ="x$ | async as a "> </ div >
Original file line number Diff line number Diff line change 1025
1025
# ^ template.ng meta.ng-binding.template.html expression.ng entity.name.type.ts
1026
1026
# ^ template.ng meta.ng-binding.template.html string.quoted.html punctuation.definition.string.end.html
1027
1027
# ^^^^^^^^ template.ng
1028
+ ><div *ngIf='x as y'></div>
1029
+ #^^^^^ template.ng
1030
+ # ^ template.ng meta.ng-binding.template.html entity.other.attribute-name.html entity.other.ng-binding-name.template.html punctuation.definition.ng-binding-name.begin.html
1031
+ # ^^^^ template.ng meta.ng-binding.template.html entity.other.attribute-name.html entity.other.ng-binding-name.template.html entity.other.ng-binding-name.ngIf.html
1032
+ # ^ template.ng meta.ng-binding.template.html punctuation.separator.key-value.html
1033
+ # ^ template.ng meta.ng-binding.template.html string.quoted.html punctuation.definition.string.begin.html
1034
+ # ^ template.ng meta.ng-binding.template.html expression.ng variable.other.readwrite.ts
1035
+ # ^ template.ng meta.ng-binding.template.html expression.ng
1036
+ # ^^ template.ng meta.ng-binding.template.html expression.ng storage.type.as.ts
1037
+ # ^ template.ng meta.ng-binding.template.html expression.ng
1038
+ # ^ template.ng meta.ng-binding.template.html expression.ng entity.name.type.ts
1039
+ # ^ template.ng meta.ng-binding.template.html string.quoted.html punctuation.definition.string.end.html
1040
+ # ^^^^^^^^ template.ng
1028
1041
><!-- Mixed -->
1029
1042
#^^^^^^^^^^^^^^^ template.ng
1030
1043
><div *ngFor="let param of params; let i = index; let last = last"></div>
1453
1466
# ^ template.ng meta.ng-binding.template.html expression.ng
1454
1467
# ^ template.ng meta.ng-binding.template.html expression.ng entity.name.type.ts
1455
1468
# ^ template.ng meta.ng-binding.template.html string.quoted.html punctuation.definition.string.end.html
1456
- # ^^^^^^^^ template.ng
1469
+ # ^^^^^^^^ template.ng
1470
+ >
You can’t perform that action at this time.
0 commit comments