@@ -168,7 +168,8 @@ contexts:
168
168
- match : \bswitch\b
169
169
scope : keyword.control.switch.cfml
170
170
push :
171
- - - meta_scope : meta.switch.cfml
171
+ - - meta_include_prototype : false
172
+ - meta_scope : meta.switch.cfml
172
173
- include : immediately-pop
173
174
- - match : \{
174
175
scope : punctuation.section.block.begin.cfml
@@ -193,7 +194,8 @@ contexts:
193
194
- match : \bdo\b
194
195
scope : keyword.control.loop.cfml
195
196
push :
196
- - - meta_scope : meta.do-while.cfml
197
+ - - meta_include_prototype : false
198
+ - meta_scope : meta.do-while.cfml
197
199
- include : immediately-pop
198
200
- - include : parens-scope
199
201
- include : else-pop
@@ -206,46 +208,53 @@ contexts:
206
208
- match : \b(?:for)\b
207
209
scope : keyword.control.loop.cfml
208
210
push :
209
- - - meta_scope : meta.for.cfml
211
+ - - meta_include_prototype : false
212
+ - meta_scope : meta.for.cfml
210
213
- include : immediately-pop
211
214
- block-scope
212
215
- parens-scope
213
216
- match : \b(?:while)\b
214
217
scope : keyword.control.loop.cfml
215
218
push :
216
- - - meta_scope : meta.while.cfml
219
+ - - meta_include_prototype : false
220
+ - meta_scope : meta.while.cfml
217
221
- include : immediately-pop
218
222
- block-scope
219
223
- parens-scope
220
224
- match : \b(?:else\s+if|if)\b
221
225
scope : keyword.control.conditional.cfml
222
226
push :
223
- - - meta_scope : meta.conditional.cfml
227
+ - - meta_include_prototype : false
228
+ - meta_scope : meta.conditional.cfml
224
229
- include : immediately-pop
225
230
- block-scope
226
231
- parens-scope
227
232
- match : \b(?:else)\b
228
233
scope : keyword.control.conditional.cfml
229
234
push :
230
- - - meta_scope : meta.conditional.cfml
235
+ - - meta_include_prototype : false
236
+ - meta_scope : meta.conditional.cfml
231
237
- include : immediately-pop
232
238
- block-scope
233
239
- match : \b(?:try)\b
234
240
scope : keyword.control.trycatch.cfml
235
241
push :
236
- - - meta_scope : meta.try.cfml
242
+ - - meta_include_prototype : false
243
+ - meta_scope : meta.try.cfml
237
244
- include : immediately-pop
238
245
- block-scope
239
246
- match : \b(?:finally)\b
240
247
scope : keyword.control.trycatch.cfml
241
248
push :
242
- - - meta_scope : meta.finally.cfml
249
+ - - meta_include_prototype : false
250
+ - meta_scope : meta.finally.cfml
243
251
- include : immediately-pop
244
252
- block-scope
245
253
- match : \b(?:catch)\b
246
254
scope : keyword.control.trycatch.cfml
247
255
push :
248
- - - meta_scope : meta.catch.cfml
256
+ - - meta_include_prototype : false
257
+ - meta_scope : meta.catch.cfml
249
258
- include : immediately-pop
250
259
- block-scope
251
260
- catch-scope
@@ -325,7 +334,8 @@ contexts:
325
334
- match : \bstatic\b(?=\s*[\n\{])
326
335
scope : keyword.control.static.cfml
327
336
push :
328
- - - meta_scope : meta.block.static.cfml
337
+ - - meta_include_prototype : false
338
+ - meta_scope : meta.block.static.cfml
329
339
- include : immediately-pop
330
340
- - include : block-scope
331
341
@@ -496,7 +506,8 @@ contexts:
496
506
- match : \bnew\b
497
507
scope : keyword.operator.word.new.cfml
498
508
set :
499
- - - meta_scope : meta.instance.constructor.cfml
509
+ - - meta_include_prototype : false
510
+ - meta_scope : meta.instance.constructor.cfml
500
511
- include : immediately-pop
501
512
- - match : \(
502
513
scope : punctuation.section.group.begin.cfml
@@ -689,7 +700,8 @@ contexts:
689
700
anonymous-function :
690
701
- match : (?={{func_assignment_lookahead}}|{{arrow_func_lookahead}})
691
702
set :
692
- - - meta_scope : meta.function.anonymous.cfml
703
+ - - meta_include_prototype : false
704
+ - meta_scope : meta.function.anonymous.cfml
693
705
- include : immediately-pop
694
706
- - include : either-function-declaration
695
707
@@ -704,7 +716,8 @@ contexts:
704
716
set :
705
717
- - include : function-block
706
718
- include : else-pop
707
- - - meta_scope : meta.function.declaration.cfml
719
+ - - meta_include_prototype : false
720
+ - meta_scope : meta.function.declaration.cfml
708
721
- include : immediately-pop
709
722
- - match : (?=[;{])
710
723
pop : true
@@ -729,7 +742,7 @@ contexts:
729
742
pop : true
730
743
- match : (?i){{storage_modifier}}
731
744
scope : storage.modifier.cfml
732
- - match : (?=[A-Za-z ])
745
+ - match : (?=[_$[:alpha:] ])
733
746
push : storage-types
734
747
735
748
arrow-function-declaration :
@@ -738,13 +751,15 @@ contexts:
738
751
- - include : function-block
739
752
- match : (?=\S)
740
753
set :
741
- - - meta_scope : meta.function.body.cfml
754
+ - - meta_include_prototype : false
755
+ - meta_scope : meta.function.body.cfml
742
756
- include : immediately-pop
743
757
- - match : (?=,)
744
758
pop : true
745
759
- include : expression-statement-end
746
760
- expression-begin
747
- - - meta_scope : meta.function.declaration.cfml
761
+ - - meta_include_prototype : false
762
+ - meta_scope : meta.function.declaration.cfml
748
763
- include : immediately-pop
749
764
- - match : =>
750
765
scope : storage.type.function.arrow.cfml
@@ -798,7 +813,8 @@ contexts:
798
813
- - match : ' ='
799
814
scope : keyword.operator.assignment.binary.cfml
800
815
set :
801
- - - meta_scope : meta.parameter.optional.cfml
816
+ - - meta_include_prototype : false
817
+ - meta_scope : meta.parameter.optional.cfml
802
818
- include : immediately-pop
803
819
- expression-no-comma
804
820
- include : else-pop
@@ -840,17 +856,20 @@ contexts:
840
856
push :
841
857
- - include : either-function-declaration
842
858
- include : else-pop
843
- - - meta_scope : meta.function.declaration.cfml
859
+ - - meta_include_prototype : false
860
+ - meta_scope : meta.function.declaration.cfml
844
861
- include : immediately-pop
845
862
- - match : ' [:=]'
846
863
scope : punctuation.separator.key-value.cfml
847
864
- include : else-pop
848
- - - meta_scope : meta.struct-literal.key.cfml
865
+ - - meta_include_prototype : false
866
+ - meta_scope : meta.struct-literal.key.cfml
849
867
- include : immediately-pop
850
868
- method-name
851
869
- match : (?="|')
852
870
push :
853
- - - meta_scope : meta.struct-literal.key.cfml
871
+ - - meta_include_prototype : false
872
+ - meta_scope : meta.struct-literal.key.cfml
854
873
- include : immediately-pop
855
874
- string
856
875
- match : ' [_$[:alnum:]]+(?=\s*[:=])'
@@ -887,7 +906,8 @@ contexts:
887
906
array-literal :
888
907
- match : (?=\[)
889
908
set :
890
- - - meta_scope : meta.sequence.cfml
909
+ - - meta_include_prototype : false
910
+ - meta_scope : meta.sequence.cfml
891
911
- include : immediately-pop
892
912
- - match : \[
893
913
scope : punctuation.section.brackets.begin.cfml
@@ -923,23 +943,23 @@ contexts:
923
943
pop : true
924
944
- include : expression-push
925
945
- - match : " '"
926
- scope : punctuation.definition.string.begin.cfml
927
946
set :
928
947
- - meta_scope : meta.string.quoted.single.cfml string.quoted.single.cfml
929
- - pop : true
930
- match : " ' "
948
+ - match : " ' "
949
+ pop : true
931
950
scope : punctuation.definition.string.end.cfml
932
951
- - include : storage-types
933
952
- include : else-pop
934
- - match : ' "'
935
953
scope : punctuation.definition.string.begin.cfml
954
+ - match : ' "'
936
955
set :
937
956
- - meta_scope : meta.string.quoted.double.cfml string.quoted.double.cfml
938
- - pop : true
939
- match : ' " '
957
+ - match : ' " '
958
+ pop : true
940
959
scope : punctuation.definition.string.end.cfml
941
960
- - include : storage-types
942
961
- include : else-pop
962
+ scope : punctuation.definition.string.begin.cfml
943
963
- include : else-pop
944
964
945
965
property-access :
@@ -1006,7 +1026,8 @@ contexts:
1006
1026
- match : ({{identifier}})(?=\s*\()
1007
1027
scope : variable.function.cfml
1008
1028
set :
1009
- - - meta_scope : meta.function-call.cfml
1029
+ - - meta_include_prototype : false
1030
+ - meta_scope : meta.function-call.cfml
1010
1031
- include : immediately-pop
1011
1032
- - match : \(
1012
1033
scope : punctuation.section.group.begin.cfml
@@ -1060,7 +1081,8 @@ contexts:
1060
1081
captures :
1061
1082
1 : variable.function.cfml
1062
1083
set :
1063
- - - meta_scope : meta.function-call.method.cfml
1084
+ - - meta_include_prototype : false
1085
+ - meta_scope : meta.function-call.method.cfml
1064
1086
- include : immediately-pop
1065
1087
- - match : \(
1066
1088
scope : punctuation.section.group.begin.cfml
@@ -1085,7 +1107,8 @@ contexts:
1085
1107
captures :
1086
1108
1 : variable.function.static.cfml
1087
1109
set :
1088
- - - meta_scope : meta.function-call.method.static.cfml
1110
+ - - meta_include_prototype : false
1111
+ - meta_scope : meta.function-call.method.static.cfml
1089
1112
- include : immediately-pop
1090
1113
- - match : \(
1091
1114
scope : punctuation.section.group.begin.cfml
@@ -1138,6 +1161,7 @@ contexts:
1138
1161
- match : ' {{identifier}}'
1139
1162
scope : variable.other.readwrite.cfml
1140
1163
pop : true
1164
+
1141
1165
struct-property :
1142
1166
- match : ' {{constant_identifier}}'
1143
1167
scope : meta.property.constant.cfml
@@ -1187,7 +1211,8 @@ contexts:
1187
1211
- match : ' ='
1188
1212
scope : keyword.operator.assignment.binary.cfml
1189
1213
set :
1190
- - - meta_scope : source.cfml.script
1214
+ - - meta_include_prototype : false
1215
+ - meta_scope : source.cfml.script
1191
1216
- include : immediately-pop
1192
1217
- expression
1193
1218
- include : else-pop
@@ -1197,7 +1222,8 @@ contexts:
1197
1222
- match : ' ='
1198
1223
scope : keyword.operator.assignment.binary.cfml
1199
1224
set :
1200
- - - meta_scope : source.cfml.script
1225
+ - - meta_include_prototype : false
1226
+ - meta_scope : source.cfml.script
1201
1227
- include : immediately-pop
1202
1228
- expression
1203
1229
- include : else-pop
@@ -1276,7 +1302,8 @@ contexts:
1276
1302
|update|wddx|websocket|window|xml|zip|zipparam)(?=\()
1277
1303
scope: entity.name.tag.script.cfml
1278
1304
push:
1279
- - - meta_scope: meta.tag.script.cf.cfml
1305
+ - - meta_include_prototype: false
1306
+ - meta_scope: meta.tag.script.cf.cfml
1280
1307
- include: immediately-pop
1281
1308
- - match: \(
1282
1309
scope: punctuation.section.group.begin.cfml
@@ -1306,28 +1333,32 @@ contexts:
1306
1333
captures :
1307
1334
1 : support.function.cfml
1308
1335
set :
1309
- - - meta_scope : meta.function-call.support.cfml meta.function-call.support.createcomponent.cfml
1336
+ - - meta_include_prototype : false
1337
+ - meta_scope : meta.function-call.support.cfml meta.function-call.support.createcomponent.cfml
1310
1338
- include : immediately-pop
1311
1339
- support-call-params
1312
1340
- match : (?i)\b(createobject)(?=\((?:\s*type\s*=)?\s*[\"']java[\"']\s*,)
1313
1341
captures :
1314
1342
1 : support.function.cfml
1315
1343
set :
1316
- - - meta_scope : meta.function-call.support.cfml meta.function-call.support.createjavaobject.cfml
1344
+ - - meta_include_prototype : false
1345
+ - meta_scope : meta.function-call.support.cfml meta.function-call.support.createjavaobject.cfml
1317
1346
- include : immediately-pop
1318
1347
- support-call-params
1319
1348
- match : (?i)\b(entity(?:load|loadbypk|new))(?=\()
1320
1349
captures :
1321
1350
1 : support.function.cfml
1322
1351
set :
1323
- - - meta_scope : meta.function-call.support.cfml meta.function-call.support.entity.cfml
1352
+ - - meta_include_prototype : false
1353
+ - meta_scope : meta.function-call.support.cfml meta.function-call.support.entity.cfml
1324
1354
- include : immediately-pop
1325
1355
- support-call-params
1326
1356
- match : (?i)\b(arraynew)(?=\[)
1327
1357
captures :
1328
1358
1 : support.function.cfml
1329
1359
set :
1330
- - - meta_scope : meta.function-call.support.cfml
1360
+ - - meta_include_prototype : false
1361
+ - meta_scope : meta.function-call.support.cfml
1331
1362
- include : immediately-pop
1332
1363
- support-call-params
1333
1364
- array-types
@@ -1433,7 +1464,8 @@ contexts:
1433
1464
captures:
1434
1465
1: support.function.cfml
1435
1466
set:
1436
- - - meta_scope: meta.function-call.support.cfml
1467
+ - - meta_include_prototype: false
1468
+ - meta_scope: meta.function-call.support.cfml
1437
1469
- include: immediately-pop
1438
1470
- support-call-params
1439
1471
@@ -1489,7 +1521,8 @@ contexts:
1489
1521
|year|yesnoformat)(?=\()
1490
1522
scope: support.function.member.cfml
1491
1523
set:
1492
- - - meta_scope: meta.function-call.method.support.cfml
1524
+ - - meta_include_prototype: false
1525
+ - meta_scope: meta.function-call.method.support.cfml
1493
1526
- include: immediately-pop
1494
1527
- - match: \(
1495
1528
scope: punctuation.section.group.begin.cfml
@@ -1512,4 +1545,3 @@ contexts:
1512
1545
angle-bracket-pop :
1513
1546
- match : (?=/?>)
1514
1547
pop : true
1515
-
0 commit comments