108
108
"match" : " (?x)\\ ]" ,
109
109
"name" : " punctuation.squarebracket.close.ql"
110
110
},
111
+ "open-angle" : {
112
+ "match" : " (?x)<" ,
113
+ "name" : " punctuation.anglebracket.open.ql"
114
+ },
115
+ "close-angle" : {
116
+ "match" : " (?x)>" ,
117
+ "name" : " punctuation.anglebracket.close.ql"
118
+ },
111
119
"operator-or-punctuation" : {
112
120
"patterns" : [
113
121
{
151
159
},
152
160
{
153
161
"include" : " #close-bracket"
162
+ },
163
+ {
164
+ "include" : " #open-angle"
165
+ },
166
+ {
167
+ "include" : " #close-angle"
154
168
}
155
169
]
156
170
},
661
675
"begin" : " (?x)(?<=/\\ *\\ *)([^*]|\\ *(?!/))*$" ,
662
676
"while" : " (?x)(^|\\ G)\\ s*([^*]|\\ *(?!/))(?=([^*]|[*](?!/))*$)" ,
663
677
"patterns" : [
664
-
665
-
666
-
678
+
679
+
680
+
667
681
{
668
682
"match" : " (?x)\\ G\\ s* (@\\ S+)" ,
669
683
"name" : " keyword.tag.ql"
723
737
}
724
738
]
725
739
},
726
- "import-directive" : {
727
- "end" : " (?x)(?:\\ b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) (?!\\ s*(\\ .|\\ :\\ :))" ,
728
- "endCaptures" : {
729
- "0" : {
740
+ "instantiation-args" : {
741
+ "name" : " meta.type.parameters.ql" ,
742
+ "patterns" : [
743
+ {
744
+ "include" : " #instantiation-args"
745
+ },
746
+ {
747
+ "include" : " #non-context-sensitive"
748
+ },
749
+ {
750
+ "match" : " (?x)(?:\\ b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))" ,
730
751
"name" : " entity.name.type.namespace.ql"
731
752
}
753
+ ],
754
+ "begin" : " (?x)((?:<))" ,
755
+ "beginCaptures" : {
756
+ "1" : {
757
+ "patterns" : [
758
+ {
759
+ "include" : " #open-angle"
760
+ }
761
+ ]
762
+ }
732
763
},
764
+ "end" : " (?x)((?:>))" ,
765
+ "endCaptures" : {
766
+ "1" : {
767
+ "patterns" : [
768
+ {
769
+ "include" : " #close-angle"
770
+ }
771
+ ]
772
+ }
773
+ }
774
+ },
775
+ "import-directive" : {
776
+ "end" : " (?x)(?<!\\ bimport)(?<=(?:\\ >)|[A-Za-z0-9_]) (?!\\ s*(\\ .|\\ :\\ :|\\ ,|(?:<)))" ,
733
777
"name" : " meta.block.import-directive.ql" ,
734
778
"patterns" : [
779
+ {
780
+ "include" : " #instantiation-args"
781
+ },
735
782
{
736
783
"include" : " #non-context-sensitive"
737
784
},
1493
1540
"name" : " constant.character.escape.ql"
1494
1541
}
1495
1542
}
1496
- }
1543
+ }
0 commit comments