File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 108108 "match" : " (?x)\\ ]" ,
109109 "name" : " punctuation.squarebracket.close.ql"
110110 },
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+ },
111119 "operator-or-punctuation" : {
112120 "patterns" : [
113121 {
151159 },
152160 {
153161 "include" : " #close-bracket"
162+ },
163+ {
164+ "include" : " #open-angle"
165+ },
166+ {
167+ "include" : " #close-angle"
154168 }
155169 ]
156170 },
723737 }
724738 ]
725739 },
740+ "instantiation-arguments" : {
741+ "end" : " (?x)#close-angle" ,
742+ "patterns" : [
743+ {
744+ "include" : " #potential-instantiation"
745+ }
746+ ],
747+ "begin" : " (?x)((?:<))" ,
748+ "beginCaptures" : {
749+ "1" : {
750+ "patterns" : [
751+ {
752+ "include" : " #open-angle"
753+ }
754+ ]
755+ }
756+ }
757+ },
758+ "potential-instantiation" : {
759+ "matches" : " (?#simple-id) (?#instantiation-arguments)?"
760+ },
726761 "import-directive" : {
727762 "end" : " (?x)(?:\\ b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) (?!\\ s*(\\ .|\\ :\\ :))" ,
728763 "endCaptures" : {
736771 "include" : " #non-context-sensitive"
737772 },
738773 {
739- "match" : " (?x)(?:\\ b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))) )" ,
774+ "match" : " (?x)(?:)" ,
740775 "name" : " entity.name.type.namespace.ql"
741776 }
742777 ],
You can’t perform that action at this time.
0 commit comments