cpp.embedded.macro.tmLanguage.json 325.9 KB
Newer Older
1 2
{
	"information_for_contributors": [
A
Alex Ross 已提交
3
		"This file has been converted from https://github.com/jeff-hykin/cpp-textmate-grammar/blob/master/syntaxes/cpp.embedded.macro.tmLanguage.json",
4 5 6
		"If you want to provide a fix or improvement, please create a pull request against the original repository.",
		"Once accepted there, we are happy to receive an update request."
	],
A
Alex Ross 已提交
7
	"version": "https://github.com/jeff-hykin/cpp-textmate-grammar/commit/f074a48ae0b7ba313af3faf3d8bfda8537864bd1",
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
	"name": "C++",
	"scopeName": "source.cpp.embedded.macro",
	"patterns": [
		{
			"include": "#ever_present_context"
		},
		{
			"include": "#constructor_root"
		},
		{
			"include": "#destructor_root"
		},
		{
			"include": "#function_definition"
		},
		{
			"include": "#operator_overload"
		},
		{
			"include": "#using_namespace"
		},
		{
A
Alex Ross 已提交
30
			"include": "source.cpp#type_alias"
31 32
		},
		{
A
Alex Ross 已提交
33
			"include": "source.cpp#using_name"
34 35
		},
		{
A
Alex Ross 已提交
36
			"include": "source.cpp#namespace_alias"
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
		},
		{
			"include": "#namespace_block"
		},
		{
			"include": "#extern_block"
		},
		{
			"include": "#typedef_class"
		},
		{
			"include": "#typedef_struct"
		},
		{
			"include": "#typedef_union"
		},
		{
A
Alex Ross 已提交
54
			"include": "source.cpp#misc_keywords"
55 56
		},
		{
A
Alex Ross 已提交
57
			"include": "source.cpp#standard_declares"
58 59 60 61 62 63 64 65 66 67 68 69 70 71
		},
		{
			"include": "#class_block"
		},
		{
			"include": "#struct_block"
		},
		{
			"include": "#union_block"
		},
		{
			"include": "#enum_block"
		},
		{
A
Alex Ross 已提交
72
			"include": "source.cpp#template_isolated_definition"
73 74 75 76 77
		},
		{
			"include": "#template_definition"
		},
		{
A
Alex Ross 已提交
78
			"include": "source.cpp#access_control_keywords"
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
		},
		{
			"include": "#block"
		},
		{
			"include": "#static_assert"
		},
		{
			"include": "#assembly"
		},
		{
			"include": "#function_pointer"
		},
		{
			"include": "#evaluation_context"
		}
	],
	"repository": {
A
Alex Ross 已提交
97
		"alignas_attribute": {
A
Alex Ross 已提交
98 99
			"begin": "alignas\\(",
			"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
100
			"beginCaptures": {
A
Alex Ross 已提交
101
				"0": {
A
Alex Ross 已提交
102 103 104 105
					"name": "punctuation.section.attribute.begin.cpp"
				}
			},
			"endCaptures": {
A
Alex Ross 已提交
106
				"0": {
A
Alex Ross 已提交
107 108 109
					"name": "punctuation.section.attribute.end.cpp"
				}
			},
A
Alex Ross 已提交
110
			"name": "support.other.attribute.cpp",
A
Alex Ross 已提交
111 112 113 114 115 116 117
			"patterns": [
				{
					"include": "#attributes_context"
				},
				{
					"begin": "\\(",
					"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
118 119
					"beginCaptures": {},
					"endCaptures": {},
A
Alex Ross 已提交
120 121 122 123 124 125 126 127 128 129
					"patterns": [
						{
							"include": "#attributes_context"
						},
						{
							"include": "#string_context"
						}
					]
				},
				{
A
Alex Ross 已提交
130
					"match": "(using)(?:\\s)+((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
A
Alex Ross 已提交
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
					"captures": {
						"1": {
							"name": "keyword.other.using.directive.cpp"
						},
						"2": {
							"name": "entity.name.namespace.cpp"
						}
					}
				},
				{
					"match": ",",
					"name": "punctuation.separator.attribute.cpp"
				},
				{
					"match": ":",
					"name": "punctuation.accessor.attribute.cpp"
				},
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(?=::)",
					"name": "entity.name.namespace.cpp"
				},
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
					"name": "entity.other.attribute.$0.cpp"
				},
				{
A
Alex Ross 已提交
157
					"include": "source.cpp#number_literal"
A
Alex Ross 已提交
158 159
				}
			]
160
		},
A
Alex Ross 已提交
161
		"alignas_operator": {
A
Alex Ross 已提交
162 163
			"begin": "((?<!\\w)alignas(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
164 165 166 167 168
			"beginCaptures": {
				"1": {
					"name": "keyword.operator.functionlike.cpp keyword.operator.alignas.cpp"
				},
				"2": {
169 170
					"patterns": [
						{
A
Alex Ross 已提交
171
							"include": "source.cpp#inline_comment"
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
						}
					]
				},
				"3": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"4": {
					"name": "comment.block.cpp"
				},
				"5": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"6": {
A
Alex Ross 已提交
194
					"name": "punctuation.section.arguments.begin.bracket.round.operator.alignas.cpp"
195 196
				}
			},
A
Alex Ross 已提交
197
			"endCaptures": {
A
Alex Ross 已提交
198
				"0": {
A
Alex Ross 已提交
199 200 201
					"name": "punctuation.section.arguments.end.bracket.round.operator.alignas.cpp"
				}
			},
A
Alex Ross 已提交
202
			"contentName": "meta.arguments.operator.alignas",
A
Alex Ross 已提交
203 204 205 206 207
			"patterns": [
				{
					"include": "#evaluation_context"
				}
			]
208
		},
A
Alex Ross 已提交
209
		"alignof_operator": {
A
Alex Ross 已提交
210 211
			"begin": "((?<!\\w)alignof(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
212 213
			"beginCaptures": {
				"1": {
A
Alex Ross 已提交
214
					"name": "keyword.operator.functionlike.cpp keyword.operator.alignof.cpp"
215 216 217 218
				},
				"2": {
					"patterns": [
						{
A
Alex Ross 已提交
219
							"include": "source.cpp#inline_comment"
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
						}
					]
				},
				"3": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"4": {
					"name": "comment.block.cpp"
				},
				"5": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"6": {
A
Alex Ross 已提交
242 243 244 245
					"name": "punctuation.section.arguments.begin.bracket.round.operator.alignof.cpp"
				}
			},
			"endCaptures": {
A
Alex Ross 已提交
246
				"0": {
A
Alex Ross 已提交
247
					"name": "punctuation.section.arguments.end.bracket.round.operator.alignof.cpp"
248 249
				}
			},
A
Alex Ross 已提交
250
			"contentName": "meta.arguments.operator.alignof",
251 252
			"patterns": [
				{
A
Alex Ross 已提交
253
					"include": "#evaluation_context"
254 255 256
				}
			]
		},
A
Alex Ross 已提交
257
		"assembly": {
A
Alex Ross 已提交
258 259
			"begin": "(\\b(?:__asm__|asm)\\b)(?:(?:\\s)+)?((?:volatile)?)",
			"end": "(?!\\G)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
260
			"beginCaptures": {
261
				"1": {
A
Alex Ross 已提交
262
					"name": "storage.type.asm.cpp"
263 264
				},
				"2": {
A
Alex Ross 已提交
265 266 267
					"name": "storage.modifier.cpp"
				}
			},
A
Alex Ross 已提交
268 269
			"endCaptures": {},
			"name": "meta.asm.cpp",
A
Alex Ross 已提交
270 271
			"patterns": [
				{
A
Alex Ross 已提交
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
					"match": "^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:\\n)|$)",
					"captures": {
						"1": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"2": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"3": {
							"name": "comment.block.cpp"
						},
						"4": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						}
					}
				},
				{
					"include": "#comments"
				},
				{
					"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))\\(",
					"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
307
					"beginCaptures": {
A
Alex Ross 已提交
308 309 310
						"0": {
							"name": "punctuation.section.parens.begin.bracket.round.assembly.cpp"
						},
A
Alex Ross 已提交
311
						"1": {
A
Alex Ross 已提交
312 313 314 315 316
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
A
Alex Ross 已提交
317 318
						},
						"2": {
A
Alex Ross 已提交
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"3": {
							"name": "comment.block.cpp"
						},
						"4": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
A
Alex Ross 已提交
335 336 337
						}
					},
					"endCaptures": {
A
Alex Ross 已提交
338 339
						"0": {
							"name": "punctuation.section.parens.end.bracket.round.assembly.cpp"
A
Alex Ross 已提交
340 341
						}
					},
342 343
					"patterns": [
						{
A
Alex Ross 已提交
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
							"begin": "(R?)(\")",
							"end": "\"|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"1": {
									"name": "meta.encoding.cpp"
								},
								"2": {
									"name": "punctuation.definition.string.begin.assembly.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.definition.string.end.assembly.cpp"
								}
							},
							"name": "string.quoted.double.cpp",
							"contentName": "meta.embedded.assembly",
							"patterns": [
								{
									"include": "source.asm"
								},
								{
									"include": "source.x86"
								},
								{
									"include": "source.x86_64"
								},
								{
									"include": "source.arm"
								},
								{
									"include": "source.cpp#backslash_escapes"
								},
								{
									"include": "#string_escaped_char"
								}
							]
A
Alex Ross 已提交
381 382
						},
						{
A
Alex Ross 已提交
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
							"begin": "\\(",
							"end": "\\)|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.parens.begin.bracket.round.assembly.inner.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.parens.end.bracket.round.assembly.inner.cpp"
								}
							},
							"patterns": [
								{
									"include": "#evaluation_context"
								}
							]
A
Alex Ross 已提交
400 401
						},
						{
A
Alex Ross 已提交
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457
							"match": "\\[((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))\\]",
							"captures": {
								"1": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"2": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"3": {
									"name": "comment.block.cpp"
								},
								"4": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"5": {
									"name": "variable.other.asm.label.cpp"
								},
								"6": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"7": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"8": {
									"name": "comment.block.cpp"
								},
								"9": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
							}
A
Alex Ross 已提交
458 459
						},
						{
A
Alex Ross 已提交
460 461
							"match": ":",
							"name": "punctuation.separator.delimiter.colon.assembly.cpp"
A
Alex Ross 已提交
462
						},
463
						{
A
Alex Ross 已提交
464
							"include": "#comments"
465 466
						}
					]
A
Alex Ross 已提交
467 468 469 470 471 472 473
				}
			]
		},
		"attributes_context": {
			"patterns": [
				{
					"include": "#cpp_attributes"
474
				},
A
Alex Ross 已提交
475 476
				{
					"include": "#gcc_attributes"
477
				},
A
Alex Ross 已提交
478 479
				{
					"include": "#ms_attributes"
480
				},
A
Alex Ross 已提交
481 482 483 484 485 486
				{
					"include": "#alignas_attribute"
				}
			]
		},
		"block": {
A
Alex Ross 已提交
487 488
			"begin": "{",
			"end": "}|(?=\\s*#\\s*(?:elif|else|endif)\\b)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
489
			"beginCaptures": {
A
Alex Ross 已提交
490
				"0": {
A
Alex Ross 已提交
491 492 493 494
					"name": "punctuation.section.block.begin.bracket.curly.cpp"
				}
			},
			"endCaptures": {
A
Alex Ross 已提交
495
				"0": {
A
Alex Ross 已提交
496 497 498
					"name": "punctuation.section.block.end.bracket.curly.cpp"
				}
			},
A
Alex Ross 已提交
499
			"name": "meta.block.cpp",
A
Alex Ross 已提交
500 501 502 503 504 505 506 507
			"patterns": [
				{
					"include": "#function_body_context"
				}
			]
		},
		"block_comment": {
			"begin": "\\s*+(\\/\\*)",
A
Alex Ross 已提交
508
			"end": "\\*\\/|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
509 510 511 512 513 514
			"beginCaptures": {
				"1": {
					"name": "punctuation.definition.comment.begin.cpp"
				}
			},
			"endCaptures": {
A
Alex Ross 已提交
515
				"0": {
A
Alex Ross 已提交
516 517
					"name": "punctuation.definition.comment.end.cpp"
				}
A
Alex Ross 已提交
518 519
			},
			"name": "comment.block.cpp"
A
Alex Ross 已提交
520 521
		},
		"builtin_storage_type_initilizer": {
A
Alex Ross 已提交
522 523
			"begin": "(?:\\s)*+(?<!\\w)(?:(?:(?:((?:(?:unsigned)|(?:wchar_t)|(?:double)|(?:signed)|(?:short)|(?:float)|(?:auto)|(?:void)|(?:long)|(?:char)|(?:bool)|(?:int)))|((?:(?:uint_least32_t)|(?:uint_least64_t)|(?:uint_least16_t)|(?:uint_fast64_t)|(?:uint_least8_t)|(?:int_least64_t)|(?:int_least32_t)|(?:int_least16_t)|(?:uint_fast16_t)|(?:uint_fast32_t)|(?:int_least8_t)|(?:int_fast16_t)|(?:int_fast32_t)|(?:int_fast64_t)|(?:uint_fast8_t)|(?:int_fast8_t)|(?:suseconds_t)|(?:useconds_t)|(?:uintmax_t)|(?:uintmax_t)|(?:in_port_t)|(?:uintmax_t)|(?:in_addr_t)|(?:blksize_t)|(?:uintptr_t)|(?:intmax_t)|(?:intptr_t)|(?:blkcnt_t)|(?:intmax_t)|(?:u_quad_t)|(?:uint16_t)|(?:uint32_t)|(?:uint64_t)|(?:ssize_t)|(?:fixpt_t)|(?:qaddr_t)|(?:u_short)|(?:int16_t)|(?:int32_t)|(?:int64_t)|(?:uint8_t)|(?:daddr_t)|(?:caddr_t)|(?:swblk_t)|(?:clock_t)|(?:segsz_t)|(?:nlink_t)|(?:time_t)|(?:u_long)|(?:ushort)|(?:quad_t)|(?:mode_t)|(?:size_t)|(?:u_char)|(?:int8_t)|(?:u_int)|(?:uid_t)|(?:off_t)|(?:pid_t)|(?:gid_t)|(?:dev_t)|(?:div_t)|(?:key_t)|(?:ino_t)|(?:id_t)|(?:id_t)|(?:uint))))|((?:(?:pthread_rwlockattr_t)|(?:pthread_mutexattr_t)|(?:pthread_condattr_t)|(?:pthread_rwlock_t)|(?:pthread_mutex_t)|(?:pthread_cond_t)|(?:pthread_attr_t)|(?:pthread_once_t)|(?:pthread_key_t)|(?:pthread_t))))|([a-zA-Z_](?:\\w)*_t))(?!\\w)(?:\\s)*+(?<!\\w)(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
524 525
			"beginCaptures": {
				"1": {
A
Alex Ross 已提交
526
					"name": "storage.type.primitive.cpp storage.type.built-in.primitive.cpp"
A
Alex Ross 已提交
527
				},
A
Alex Ross 已提交
528
				"2": {
A
Alex Ross 已提交
529
					"name": "storage.type.cpp storage.type.built-in.cpp"
A
Alex Ross 已提交
530
				},
A
Alex Ross 已提交
531
				"3": {
A
Alex Ross 已提交
532
					"name": "support.type.posix-reserved.pthread.cpp support.type.built-in.posix-reserved.pthread.cpp"
533
				},
A
Alex Ross 已提交
534
				"4": {
A
Alex Ross 已提交
535
					"name": "support.type.posix-reserved.cpp support.type.built-in.posix-reserved.cpp"
536
				},
A
Alex Ross 已提交
537
				"5": {
A
Alex Ross 已提交
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
					"name": "punctuation.section.arguments.begin.bracket.round.initializer.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.initializer.cpp"
				}
			},
			"patterns": [
				{
					"include": "#evaluation_context"
				}
			]
		},
		"case_statement": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)case(?!\\w))",
			"end": ":|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"patterns": [
558
						{
A
Alex Ross 已提交
559
							"include": "source.cpp#inline_comment"
560 561 562
						}
					]
				},
A
Alex Ross 已提交
563
				"2": {
564 565
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
566
				"3": {
567 568
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
569
				"4": {
570 571 572 573 574 575 576 577 578 579 580
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
581 582 583 584 585 586 587 588 589 590 591 592 593
				"5": {
					"name": "keyword.control.case.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.separator.colon.case.cpp"
				}
			},
			"name": "meta.conditional.case.cpp",
			"patterns": [
				{
					"include": "#evaluation_context"
594
				},
A
Alex Ross 已提交
595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610
				{
					"include": "#c_conditional_context"
				}
			]
		},
		"class_block": {
			"begin": "((?<!\\w)class(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?={)|(?:((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*+)?(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(:(?!:)))?)",
			"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.class.cpp"
				},
				"1": {
					"name": "storage.type.$1.cpp"
				},
				"2": {
611 612
					"patterns": [
						{
A
Alex Ross 已提交
613
							"include": "source.cpp#inline_comment"
614 615 616
						}
					]
				},
A
Alex Ross 已提交
617
				"3": {
618 619
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
620
				"4": {
621 622
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
623
				"5": {
624 625 626 627 628 629 630 631 632 633 634
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
635 636 637 638 639 640 641 642 643
				"6": {
					"patterns": [
						{
							"include": "#attributes_context"
						},
						{
							"include": "source.cpp#number_literal"
						}
					]
644
				},
A
Alex Ross 已提交
645
				"7": {
646 647
					"patterns": [
						{
A
Alex Ross 已提交
648
							"include": "source.cpp#inline_comment"
649 650 651
						}
					]
				},
A
Alex Ross 已提交
652
				"8": {
653 654
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
655
				"9": {
656 657
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
658
				"10": {
659 660 661 662 663 664 665 666 667 668 669
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774
				"11": {
					"patterns": [
						{
							"match": "((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))",
							"captures": {
								"1": {
									"name": "storage.type.modifier.final.cpp"
								},
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
									"name": "comment.block.cpp"
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
							}
						},
						{
							"match": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?(?=:|{|$)",
							"captures": {
								"1": {
									"name": "entity.name.type.class.cpp"
								},
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
									"name": "comment.block.cpp"
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"6": {
									"name": "storage.type.modifier.final.cpp"
								},
								"7": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"8": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"9": {
									"name": "comment.block.cpp"
								},
								"10": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
							}
						},
						{
							"match": "DLLEXPORT",
							"name": "entity.name.other.preprocessor.macro.predefined.DLLEXPORT.cpp"
						},
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.other.preprocessor.macro.predefined.probably.$0.cpp"
						}
					]
775
				},
A
Alex Ross 已提交
776
				"12": {
777 778
					"patterns": [
						{
A
Alex Ross 已提交
779
							"include": "source.cpp#inline_comment"
780 781 782
						}
					]
				},
A
Alex Ross 已提交
783
				"13": {
784 785
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
786
				"14": {
787 788
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
789
				"15": {
790 791 792 793 794 795 796 797 798 799 800
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
801
				"16": {
802 803
					"patterns": [
						{
A
Alex Ross 已提交
804
							"include": "source.cpp#inline_comment"
805 806 807
						}
					]
				},
A
Alex Ross 已提交
808
				"17": {
809 810
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
811
				"18": {
812 813
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
814
				"19": {
815 816 817 818 819 820 821 822 823 824 825
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
826 827
				"20": {
					"name": "punctuation.separator.colon.inheritance.cpp"
A
Alex Ross 已提交
828 829 830
				}
			},
			"endCaptures": {
831
				"1": {
A
Alex Ross 已提交
832 833 834 835
					"name": "punctuation.terminator.statement.cpp"
				},
				"2": {
					"name": "punctuation.terminator.statement.cpp"
A
Alex Ross 已提交
836 837
				}
			},
A
Alex Ross 已提交
838
			"name": "meta.block.class.cpp",
A
Alex Ross 已提交
839 840
			"patterns": [
				{
A
Alex Ross 已提交
841 842 843 844 845 846 847 848 849
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.class.cpp"
						}
					},
					"name": "meta.head.class.cpp",
850 851
					"patterns": [
						{
A
Alex Ross 已提交
852 853 854 855 856 857 858
							"include": "#ever_present_context"
						},
						{
							"include": "#inheritance_context"
						},
						{
							"include": "#template_call_range"
859 860 861
						}
					]
				},
A
Alex Ross 已提交
862 863 864 865 866 867 868 869 870 871
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.class.cpp"
						}
					},
					"name": "meta.body.class.cpp",
872 873
					"patterns": [
						{
A
Alex Ross 已提交
874
							"include": "#function_pointer"
875 876
						},
						{
A
Alex Ross 已提交
877 878 879 880 881 882 883 884 885 886
							"include": "#static_assert"
						},
						{
							"include": "#constructor_inline"
						},
						{
							"include": "#destructor_inline"
						},
						{
							"include": "$self"
887 888 889
						}
					]
				},
A
Alex Ross 已提交
890
				{
A
Alex Ross 已提交
891 892 893 894 895
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.class.cpp",
896 897
					"patterns": [
						{
A
Alex Ross 已提交
898
							"include": "$self"
899 900
						}
					]
A
Alex Ross 已提交
901 902 903 904 905 906 907 908 909 910 911
				}
			]
		},
		"comments": {
			"patterns": [
				{
					"begin": "^(?:(?:\\s)+)?+(\\/\\/[!\\/]+)",
					"end": "(?<=\\n)(?<!\\\\\\n)|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"1": {
							"name": "punctuation.definition.comment.documentation.cpp"
912
						}
A
Alex Ross 已提交
913 914 915
					},
					"endCaptures": {},
					"name": "comment.line.double-slash.documentation.cpp",
916 917
					"patterns": [
						{
A
Alex Ross 已提交
918
							"include": "source.cpp#line_continuation_character"
919 920
						},
						{
A
Alex Ross 已提交
921 922
							"match": "(?<=[\\s*!\\/])[\\\\@](?:callergraph|callgraph|else|endif|f\\$|f\\[|f\\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|\\$|\\#|<|>|%|\"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
923 924
						},
						{
A
Alex Ross 已提交
925 926 927 928 929 930 931 932 933
							"match": "((?<=[\\s*!\\/])[\\\\@](?:a|em|e))(?:\\s)+(\\S+)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"name": "markup.italic.doxygen.cpp"
								}
							}
934 935
						},
						{
A
Alex Ross 已提交
936 937 938 939 940 941 942 943 944
							"match": "((?<=[\\s*!\\/])[\\\\@]b)(?:\\s)+(\\S+)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"name": "markup.bold.doxygen.cpp"
								}
							}
945 946
						},
						{
A
Alex Ross 已提交
947 948 949 950 951 952 953 954 955
							"match": "((?<=[\\s*!\\/])[\\\\@](?:c|p))(?:\\s)+(\\S+)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"name": "markup.inline.raw.string.cpp"
								}
							}
956 957
						},
						{
A
Alex Ross 已提交
958 959
							"match": "(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
A
Alex Ross 已提交
960 961
						},
						{
A
Alex Ross 已提交
962 963
							"match": "(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
964 965
						},
						{
A
Alex Ross 已提交
966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983
							"match": "((?<=[\\s*!\\/])[\\\\@]param)(?:\\s*\\[((?:,?(?:(?:\\s)+)?(?:in|out)(?:(?:\\s)+)?)+)\\])?(?:\\s)+(\\b\\w+\\b)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"patterns": [
										{
											"match": "in|out",
											"name": "keyword.other.parameter.direction.$0.cpp"
										}
									]
								},
								"3": {
									"name": "variable.parameter.cpp"
								}
							}
						},
A
Alex Ross 已提交
984
						{
A
Alex Ross 已提交
985 986 987
							"match": "(?<=[\\s*!\\/])[\\\\@](?:arg|attention|author|authors|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remark|remarks|result|return|returns|retval|sa|see|short|since|test|throw|throws|todo|tparam|version|warning|xrefitem)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
						},
A
Alex Ross 已提交
988
						{
A
Alex Ross 已提交
989 990
							"match": "(?<=[\\s*!\\/])[\\\\@](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|startuml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
A
Alex Ross 已提交
991 992
						},
						{
A
Alex Ross 已提交
993 994
							"match": "(?:\\b[A-Z]+:|@[a-z_]+:)",
							"name": "storage.type.class.gtkdoc.cpp"
A
Alex Ross 已提交
995 996
						}
					]
997
				},
A
Alex Ross 已提交
998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085
				{
					"match": "(\\/\\*[!*]+(?=\\s))(.+)([!*]*\\*\\/)",
					"captures": {
						"1": {
							"name": "punctuation.definition.comment.begin.documentation.cpp"
						},
						"2": {
							"patterns": [
								{
									"match": "(?<=[\\s*!\\/])[\\\\@](?:callergraph|callgraph|else|endif|f\\$|f\\[|f\\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|\\$|\\#|<|>|%|\"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?",
									"name": "storage.type.class.doxygen.cpp"
								},
								{
									"match": "((?<=[\\s*!\\/])[\\\\@](?:a|em|e))(?:\\s)+(\\S+)",
									"captures": {
										"1": {
											"name": "storage.type.class.doxygen.cpp"
										},
										"2": {
											"name": "markup.italic.doxygen.cpp"
										}
									}
								},
								{
									"match": "((?<=[\\s*!\\/])[\\\\@]b)(?:\\s)+(\\S+)",
									"captures": {
										"1": {
											"name": "storage.type.class.doxygen.cpp"
										},
										"2": {
											"name": "markup.bold.doxygen.cpp"
										}
									}
								},
								{
									"match": "((?<=[\\s*!\\/])[\\\\@](?:c|p))(?:\\s)+(\\S+)",
									"captures": {
										"1": {
											"name": "storage.type.class.doxygen.cpp"
										},
										"2": {
											"name": "markup.inline.raw.string.cpp"
										}
									}
								},
								{
									"match": "(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",
									"name": "storage.type.class.doxygen.cpp"
								},
								{
									"match": "(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",
									"name": "storage.type.class.doxygen.cpp"
								},
								{
									"match": "((?<=[\\s*!\\/])[\\\\@]param)(?:\\s*\\[((?:,?(?:(?:\\s)+)?(?:in|out)(?:(?:\\s)+)?)+)\\])?(?:\\s)+(\\b\\w+\\b)",
									"captures": {
										"1": {
											"name": "storage.type.class.doxygen.cpp"
										},
										"2": {
											"patterns": [
												{
													"match": "in|out",
													"name": "keyword.other.parameter.direction.$0.cpp"
												}
											]
										},
										"3": {
											"name": "variable.parameter.cpp"
										}
									}
								},
								{
									"match": "(?<=[\\s*!\\/])[\\\\@](?:arg|attention|author|authors|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remark|remarks|result|return|returns|retval|sa|see|short|since|test|throw|throws|todo|tparam|version|warning|xrefitem)\\b(?:\\{[^}]*\\})?",
									"name": "storage.type.class.doxygen.cpp"
								},
								{
									"match": "(?<=[\\s*!\\/])[\\\\@](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|startuml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\b(?:\\{[^}]*\\})?",
									"name": "storage.type.class.doxygen.cpp"
								},
								{
									"match": "(?:\\b[A-Z]+:|@[a-z_]+:)",
									"name": "storage.type.class.gtkdoc.cpp"
								}
							]
						},
						"3": {
							"name": "punctuation.definition.comment.end.documentation.cpp"
1086
						}
A
Alex Ross 已提交
1087 1088
					},
					"name": "comment.block.documentation.cpp"
1089 1090
				},
				{
A
Alex Ross 已提交
1091 1092 1093 1094 1095 1096 1097
					"begin": "(?:(?:\\s)+)?+\\/\\*[!*]+(?:(?:(?:\\n)|$)|(?=\\s))",
					"end": "[!*]*\\*\\/|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.comment.begin.documentation.cpp"
						}
					},
A
Alex Ross 已提交
1098
					"endCaptures": {
A
Alex Ross 已提交
1099 1100
						"0": {
							"name": "punctuation.definition.comment.end.documentation.cpp"
A
Alex Ross 已提交
1101 1102
						}
					},
A
Alex Ross 已提交
1103
					"name": "comment.block.documentation.cpp",
A
Alex Ross 已提交
1104 1105
					"patterns": [
						{
A
Alex Ross 已提交
1106 1107
							"match": "(?<=[\\s*!\\/])[\\\\@](?:callergraph|callgraph|else|endif|f\\$|f\\[|f\\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|\\$|\\#|<|>|%|\"|\\.|=|::|\\||\\-\\-|\\-\\-\\-)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
A
Alex Ross 已提交
1108 1109
						},
						{
A
Alex Ross 已提交
1110 1111 1112 1113 1114 1115 1116 1117 1118
							"match": "((?<=[\\s*!\\/])[\\\\@](?:a|em|e))(?:\\s)+(\\S+)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"name": "markup.italic.doxygen.cpp"
								}
							}
A
Alex Ross 已提交
1119 1120
						},
						{
A
Alex Ross 已提交
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
							"match": "((?<=[\\s*!\\/])[\\\\@]b)(?:\\s)+(\\S+)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"name": "markup.bold.doxygen.cpp"
								}
							}
						},
A
Alex Ross 已提交
1131
						{
A
Alex Ross 已提交
1132 1133 1134 1135 1136 1137 1138 1139 1140
							"match": "((?<=[\\s*!\\/])[\\\\@](?:c|p))(?:\\s)+(\\S+)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"name": "markup.inline.raw.string.cpp"
								}
							}
A
Alex Ross 已提交
1141 1142
						},
						{
A
Alex Ross 已提交
1143 1144
							"match": "(?<=[\\s*!\\/])[\\\\@](?:a|anchor|b|c|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|e|em|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
A
Alex Ross 已提交
1145 1146
						},
						{
A
Alex Ross 已提交
1147 1148
							"match": "(?<=[\\s*!\\/])[\\\\@](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
A
Alex Ross 已提交
1149 1150
						},
						{
A
Alex Ross 已提交
1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167
							"match": "((?<=[\\s*!\\/])[\\\\@]param)(?:\\s*\\[((?:,?(?:(?:\\s)+)?(?:in|out)(?:(?:\\s)+)?)+)\\])?(?:\\s)+(\\b\\w+\\b)",
							"captures": {
								"1": {
									"name": "storage.type.class.doxygen.cpp"
								},
								"2": {
									"patterns": [
										{
											"match": "in|out",
											"name": "keyword.other.parameter.direction.$0.cpp"
										}
									]
								},
								"3": {
									"name": "variable.parameter.cpp"
								}
							}
A
Alex Ross 已提交
1168 1169
						},
						{
A
Alex Ross 已提交
1170 1171 1172 1173 1174 1175 1176 1177 1178 1179
							"match": "(?<=[\\s*!\\/])[\\\\@](?:arg|attention|author|authors|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remark|remarks|result|return|returns|retval|sa|see|short|since|test|throw|throws|todo|tparam|version|warning|xrefitem)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
						},
						{
							"match": "(?<=[\\s*!\\/])[\\\\@](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|startuml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\\b(?:\\{[^}]*\\})?",
							"name": "storage.type.class.doxygen.cpp"
						},
						{
							"match": "(?:\\b[A-Z]+:|@[a-z_]+:)",
							"name": "storage.type.class.gtkdoc.cpp"
A
Alex Ross 已提交
1180 1181
						}
					]
1182 1183
				},
				{
A
Alex Ross 已提交
1184 1185 1186 1187 1188 1189 1190 1191 1192 1193
					"include": "source.cpp#emacs_file_banner"
				},
				{
					"include": "#block_comment"
				},
				{
					"include": "#line_comment"
				},
				{
					"include": "source.cpp#invalid_comment_end"
1194 1195 1196
				}
			]
		},
A
Alex Ross 已提交
1197 1198 1199 1200 1201 1202
		"constructor_inline": {
			"begin": "^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:(?:(?:constexpr)|(?:explicit)|(?:mutable)|(?:virtual)|(?:inline)|(?:friend))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(?=\\())",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.function.definition.special.constructor.cpp"
1203
				},
A
Alex Ross 已提交
1204
				"1": {
1205 1206
					"patterns": [
						{
A
Alex Ross 已提交
1207
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
1208
						}
1209 1210
					]
				},
A
Alex Ross 已提交
1211
				"2": {
1212 1213
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1214
				"3": {
1215 1216
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1217
				"4": {
A
Alex Ross 已提交
1218 1219
					"patterns": [
						{
1220 1221
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
1222
						},
A
Alex Ross 已提交
1223
						{
1224 1225 1226 1227 1228
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
1229
				"5": {
1230 1231
					"patterns": [
						{
A
Alex Ross 已提交
1232
							"include": "source.cpp#functional_specifiers_pre_parameters"
1233 1234 1235
						}
					]
				},
A
Alex Ross 已提交
1236
				"6": {
1237 1238
					"patterns": [
						{
A
Alex Ross 已提交
1239
							"include": "source.cpp#inline_comment"
1240 1241 1242
						}
					]
				},
A
Alex Ross 已提交
1243
				"7": {
1244 1245
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1246
				"8": {
1247 1248
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1249
				"9": {
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
1261
				"10": {
1262 1263
					"patterns": [
						{
A
Alex Ross 已提交
1264
							"include": "source.cpp#inline_comment"
1265 1266 1267
						}
					]
				},
A
Alex Ross 已提交
1268
				"11": {
1269 1270
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1271
				"12": {
1272 1273
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1274
				"13": {
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
1286 1287
				"14": {
					"name": "storage.type.modifier.calling-convention.cpp"
1288
				},
A
Alex Ross 已提交
1289
				"15": {
1290 1291
					"patterns": [
						{
A
Alex Ross 已提交
1292
							"include": "source.cpp#inline_comment"
1293 1294 1295
						}
					]
				},
A
Alex Ross 已提交
1296
				"16": {
1297 1298
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1299
				"17": {
1300 1301
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1302
				"18": {
1303 1304 1305 1306 1307 1308 1309 1310 1311 1312
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
1313 1314 1315
				},
				"19": {
					"name": "entity.name.function.constructor.cpp entity.name.function.definition.special.constructor.cpp"
1316
				}
A
Alex Ross 已提交
1317 1318 1319
			},
			"endCaptures": {},
			"name": "meta.function.definition.special.constructor.cpp",
1320 1321
			"patterns": [
				{
A
Alex Ross 已提交
1322 1323 1324 1325 1326 1327
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.function.definition.special.constructor.cpp"
1328 1329
						}
					},
A
Alex Ross 已提交
1330
					"name": "meta.head.function.definition.special.constructor.cpp",
1331
					"patterns": [
A
Alex Ross 已提交
1332
						{
A
Alex Ross 已提交
1333
							"include": "#ever_present_context"
1334 1335
						},
						{
A
Alex Ross 已提交
1336
							"match": "(\\=)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(default)|(delete))",
A
Alex Ross 已提交
1337 1338
							"captures": {
								"1": {
A
Alex Ross 已提交
1339
									"name": "keyword.operator.assignment.cpp"
1340
								},
A
Alex Ross 已提交
1341
								"2": {
A
Alex Ross 已提交
1342 1343 1344 1345 1346
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
1347
								},
A
Alex Ross 已提交
1348 1349
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
1350
								},
A
Alex Ross 已提交
1351 1352
								"4": {
									"name": "comment.block.cpp"
1353
								},
A
Alex Ross 已提交
1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"6": {
									"name": "keyword.other.default.constructor.cpp"
								},
								"7": {
									"name": "keyword.other.delete.constructor.cpp"
1371
								}
A
Alex Ross 已提交
1372 1373 1374
							}
						},
						{
A
Alex Ross 已提交
1375
							"include": "source.cpp#functional_specifiers_pre_parameters"
A
Alex Ross 已提交
1376 1377
						},
						{
A
Alex Ross 已提交
1378 1379 1380 1381 1382 1383 1384 1385
							"begin": ":",
							"end": "(?=\\{)|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.separator.initializers.cpp"
								}
							},
							"endCaptures": {},
1386 1387
							"patterns": [
								{
A
Alex Ross 已提交
1388 1389 1390
									"begin": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<3>?)+>)(?:\\s)*+)?(\\()",
									"end": "\\)|(?=(?<!\\\\)\n)",
									"beginCaptures": {
1391
										"1": {
A
Alex Ross 已提交
1392
											"name": "entity.name.function.call.initializer.cpp"
1393 1394
										},
										"2": {
A
Alex Ross 已提交
1395 1396 1397 1398 1399 1400
											"name": "meta.template.call.cpp",
											"patterns": [
												{
													"include": "#template_call_range"
												}
											]
1401
										},
A
Alex Ross 已提交
1402 1403 1404
										"3": {},
										"4": {
											"name": "punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"
1405
										}
A
Alex Ross 已提交
1406 1407 1408 1409
									},
									"endCaptures": {
										"0": {
											"name": "punctuation.section.arguments.end.bracket.round.function.call.initializer.cpp"
1410
										}
A
Alex Ross 已提交
1411 1412 1413 1414 1415 1416 1417
									},
									"contentName": "meta.parameter.initialization",
									"patterns": [
										{
											"include": "#evaluation_context"
										}
									]
1418 1419
								},
								{
A
Alex Ross 已提交
1420 1421 1422
									"begin": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))(\\{)",
									"end": "\\}|(?=(?<!\\\\)\n)",
									"beginCaptures": {
1423
										"1": {
A
Alex Ross 已提交
1424
											"name": "entity.name.function.call.initializer.cpp"
1425 1426
										},
										"2": {
A
Alex Ross 已提交
1427
											"name": "punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"
A
Alex Ross 已提交
1428
										}
A
Alex Ross 已提交
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440
									},
									"endCaptures": {
										"0": {
											"name": "punctuation.section.arguments.end.bracket.round.function.call.initializer.cpp"
										}
									},
									"contentName": "meta.parameter.initialization",
									"patterns": [
										{
											"include": "#evaluation_context"
										}
									]
1441 1442
								},
								{
A
Alex Ross 已提交
1443 1444
									"match": ",",
									"name": "punctuation.separator.delimiter.comma.cpp"
1445 1446
								},
								{
A
Alex Ross 已提交
1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467
									"include": "#comments"
								}
							]
						},
						{
							"begin": "\\(",
							"end": "\\)|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.parameters.begin.bracket.round.special.constructor.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.parameters.end.bracket.round.special.constructor.cpp"
								}
							},
							"contentName": "meta.function.definition.parameters.special.constructor",
							"patterns": [
								{
									"include": "#function_parameter_context"
1468 1469
								},
								{
A
Alex Ross 已提交
1470
									"include": "#evaluation_context"
1471 1472 1473
								}
							]
						},
A
Alex Ross 已提交
1474 1475 1476 1477 1478 1479 1480 1481 1482 1483
						{
							"match": "((?:(?:final)|(?:override)))+",
							"captures": {
								"1": {
									"name": "keyword.operator.$1.cpp"
								}
							}
						},
						{
							"include": "$self"
1484
						}
A
Alex Ross 已提交
1485
					]
1486 1487
				},
				{
A
Alex Ross 已提交
1488 1489 1490
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
1491
					"endCaptures": {
A
Alex Ross 已提交
1492 1493
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.function.definition.special.constructor.cpp"
1494 1495
						}
					},
A
Alex Ross 已提交
1496
					"name": "meta.body.function.definition.special.constructor.cpp",
1497 1498
					"patterns": [
						{
A
Alex Ross 已提交
1499
							"include": "#function_body_context"
1500 1501 1502 1503
						}
					]
				},
				{
A
Alex Ross 已提交
1504 1505 1506 1507 1508 1509 1510 1511 1512 1513
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.function.definition.special.constructor.cpp",
					"patterns": [
						{
							"include": "$self"
						}
					]
1514 1515 1516
				}
			]
		},
A
Alex Ross 已提交
1517 1518 1519
		"constructor_root": {
			"begin": "\\s*+((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<12>?)+>)(?:\\s)*+)?::)*+)(((?>(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))::((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))\\14((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=\\())",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
1520
			"beginCaptures": {
A
Alex Ross 已提交
1521
				"0": {
A
Alex Ross 已提交
1522 1523
					"name": "meta.head.function.definition.special.constructor.cpp"
				},
A
Alex Ross 已提交
1524
				"1": {
1525 1526
					"patterns": [
						{
A
Alex Ross 已提交
1527
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
1528 1529 1530
						}
					]
				},
A
Alex Ross 已提交
1531
				"2": {
A
Alex Ross 已提交
1532 1533
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1534
				"3": {
A
Alex Ross 已提交
1535 1536
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1537
				"4": {
A
Alex Ross 已提交
1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
1549 1550 1551
				"5": {
					"name": "storage.type.modifier.calling-convention.cpp"
				},
1552
				"6": {
A
Alex Ross 已提交
1553 1554
					"patterns": [
						{
A
Alex Ross 已提交
1555
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
1556 1557 1558
						}
					]
				},
1559
				"7": {
A
Alex Ross 已提交
1560 1561 1562 1563 1564 1565
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"8": {
					"name": "comment.block.cpp"
				},
				"9": {
A
Alex Ross 已提交
1566 1567
					"patterns": [
						{
A
Alex Ross 已提交
1568 1569 1570 1571 1572 1573
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
A
Alex Ross 已提交
1574 1575 1576
						}
					]
				},
A
Alex Ross 已提交
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624
				"10": {
					"patterns": [
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.constructor.cpp"
						},
						{
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.constructor.cpp"
						},
						{
							"include": "#template_call_range"
						}
					]
				},
				"11": {
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
				"12": {},
				"13": {
					"patterns": [
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?=:)",
							"name": "entity.name.type.constructor.cpp"
						},
						{
							"match": "(?<=:)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.function.definition.special.constructor.cpp"
						},
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.constructor.cpp"
						}
					]
				},
				"14": {},
				"15": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"16": {
A
Alex Ross 已提交
1625 1626
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1627
				"17": {
A
Alex Ross 已提交
1628 1629
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1630
				"18": {
A
Alex Ross 已提交
1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
1642
				"19": {
A
Alex Ross 已提交
1643 1644
					"patterns": [
						{
A
Alex Ross 已提交
1645
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
1646 1647 1648
						}
					]
				},
A
Alex Ross 已提交
1649
				"20": {
A
Alex Ross 已提交
1650 1651
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1652
				"21": {
A
Alex Ross 已提交
1653 1654
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1655
				"22": {
A
Alex Ross 已提交
1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
1667
				"23": {
A
Alex Ross 已提交
1668 1669
					"patterns": [
						{
A
Alex Ross 已提交
1670
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
1671 1672 1673
						}
					]
				},
A
Alex Ross 已提交
1674
				"24": {
A
Alex Ross 已提交
1675 1676
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
1677
				"25": {
A
Alex Ross 已提交
1678 1679
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
1680
				"26": {
A
Alex Ross 已提交
1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				}
			},
A
Alex Ross 已提交
1693 1694
			"endCaptures": {},
			"name": "meta.function.definition.special.constructor.cpp",
A
Alex Ross 已提交
1695 1696 1697
			"patterns": [
				{
					"begin": "\\G ?",
A
Alex Ross 已提交
1698 1699
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
1700
					"endCaptures": {
A
Alex Ross 已提交
1701
						"0": {
A
Alex Ross 已提交
1702 1703 1704
							"name": "punctuation.section.block.begin.bracket.curly.function.definition.special.constructor.cpp"
						}
					},
A
Alex Ross 已提交
1705
					"name": "meta.head.function.definition.special.constructor.cpp",
A
Alex Ross 已提交
1706 1707 1708 1709 1710
					"patterns": [
						{
							"include": "#ever_present_context"
						},
						{
A
Alex Ross 已提交
1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760
							"match": "(\\=)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(default)|(delete))",
							"captures": {
								"1": {
									"name": "keyword.operator.assignment.cpp"
								},
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
									"name": "comment.block.cpp"
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"6": {
									"name": "keyword.other.default.constructor.cpp"
								},
								"7": {
									"name": "keyword.other.delete.constructor.cpp"
								}
							}
						},
						{
							"include": "source.cpp#functional_specifiers_pre_parameters"
						},
						{
							"begin": ":",
							"end": "(?=\\{)|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.separator.initializers.cpp"
								}
							},
							"endCaptures": {},
1761 1762
							"patterns": [
								{
A
Alex Ross 已提交
1763 1764 1765
									"begin": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<3>?)+>)(?:\\s)*+)?(\\()",
									"end": "\\)|(?=(?<!\\\\)\n)",
									"beginCaptures": {
1766
										"1": {
A
Alex Ross 已提交
1767
											"name": "entity.name.function.call.initializer.cpp"
1768
										},
1769
										"2": {
A
Alex Ross 已提交
1770
											"name": "meta.template.call.cpp",
1771 1772
											"patterns": [
												{
A
Alex Ross 已提交
1773
													"include": "#template_call_range"
1774 1775 1776
												}
											]
										},
A
Alex Ross 已提交
1777
										"3": {},
1778
										"4": {
A
Alex Ross 已提交
1779
											"name": "punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"
1780
										}
A
Alex Ross 已提交
1781 1782
									},
									"endCaptures": {
A
Alex Ross 已提交
1783
										"0": {
A
Alex Ross 已提交
1784
											"name": "punctuation.section.arguments.end.bracket.round.function.call.initializer.cpp"
1785
										}
A
Alex Ross 已提交
1786
									},
A
Alex Ross 已提交
1787
									"contentName": "meta.parameter.initialization",
A
Alex Ross 已提交
1788 1789 1790 1791 1792
									"patterns": [
										{
											"include": "#evaluation_context"
										}
									]
1793 1794
								},
								{
A
Alex Ross 已提交
1795
									"begin": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))(\\{)",
A
Alex Ross 已提交
1796
									"end": "\\}|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
1797
									"beginCaptures": {
1798
										"1": {
A
Alex Ross 已提交
1799
											"name": "entity.name.function.call.initializer.cpp"
1800 1801
										},
										"2": {
A
Alex Ross 已提交
1802
											"name": "punctuation.section.arguments.begin.bracket.round.function.call.initializer.cpp"
1803
										}
A
Alex Ross 已提交
1804 1805
									},
									"endCaptures": {
A
Alex Ross 已提交
1806
										"0": {
A
Alex Ross 已提交
1807 1808 1809
											"name": "punctuation.section.arguments.end.bracket.round.function.call.initializer.cpp"
										}
									},
A
Alex Ross 已提交
1810
									"contentName": "meta.parameter.initialization",
A
Alex Ross 已提交
1811 1812 1813 1814 1815
									"patterns": [
										{
											"include": "#evaluation_context"
										}
									]
1816 1817
								},
								{
A
Alex Ross 已提交
1818 1819
									"match": ",",
									"name": "punctuation.separator.delimiter.comma.cpp"
1820 1821
								},
								{
A
Alex Ross 已提交
1822 1823 1824 1825 1826
									"include": "#comments"
								}
							]
						},
						{
A
Alex Ross 已提交
1827 1828
							"begin": "\\(",
							"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
1829
							"beginCaptures": {
A
Alex Ross 已提交
1830
								"0": {
A
Alex Ross 已提交
1831 1832 1833 1834
									"name": "punctuation.section.parameters.begin.bracket.round.special.constructor.cpp"
								}
							},
							"endCaptures": {
A
Alex Ross 已提交
1835
								"0": {
A
Alex Ross 已提交
1836 1837 1838
									"name": "punctuation.section.parameters.end.bracket.round.special.constructor.cpp"
								}
							},
A
Alex Ross 已提交
1839
							"contentName": "meta.function.definition.parameters.special.constructor",
A
Alex Ross 已提交
1840 1841 1842 1843 1844 1845
							"patterns": [
								{
									"include": "#function_parameter_context"
								},
								{
									"include": "#evaluation_context"
1846 1847
								}
							]
A
Alex Ross 已提交
1848
						},
A
Alex Ross 已提交
1849 1850 1851 1852 1853 1854 1855 1856
						{
							"match": "((?:(?:final)|(?:override)))+",
							"captures": {
								"1": {
									"name": "keyword.operator.$1.cpp"
								}
							}
						},
A
Alex Ross 已提交
1857 1858
						{
							"include": "$self"
1859 1860
						}
					]
A
Alex Ross 已提交
1861 1862 1863
				},
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
A
Alex Ross 已提交
1864 1865
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
1866
					"endCaptures": {
A
Alex Ross 已提交
1867
						"0": {
A
Alex Ross 已提交
1868 1869 1870
							"name": "punctuation.section.block.end.bracket.curly.function.definition.special.constructor.cpp"
						}
					},
A
Alex Ross 已提交
1871
					"name": "meta.body.function.definition.special.constructor.cpp",
1872 1873
					"patterns": [
						{
A
Alex Ross 已提交
1874
							"include": "#function_body_context"
1875 1876 1877
						}
					]
				},
A
Alex Ross 已提交
1878
				{
A
Alex Ross 已提交
1879 1880 1881 1882
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
A
Alex Ross 已提交
1883
					"name": "meta.tail.function.definition.special.constructor.cpp",
1884 1885
					"patterns": [
						{
A
Alex Ross 已提交
1886
							"include": "$self"
1887 1888 1889
						}
					]
				}
A
Alex Ross 已提交
1890
			]
1891
		},
A
Alex Ross 已提交
1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958
		"cpp_attributes": {
			"begin": "\\[\\[",
			"end": "\\]\\]|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "punctuation.section.attribute.begin.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.attribute.end.cpp"
				}
			},
			"name": "support.other.attribute.cpp",
			"patterns": [
				{
					"include": "#attributes_context"
				},
				{
					"begin": "\\(",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"patterns": [
						{
							"include": "#attributes_context"
						},
						{
							"include": "#string_context"
						}
					]
				},
				{
					"match": "(using)(?:\\s)+((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
					"captures": {
						"1": {
							"name": "keyword.other.using.directive.cpp"
						},
						"2": {
							"name": "entity.name.namespace.cpp"
						}
					}
				},
				{
					"match": ",",
					"name": "punctuation.separator.attribute.cpp"
				},
				{
					"match": ":",
					"name": "punctuation.accessor.attribute.cpp"
				},
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(?=::)",
					"name": "entity.name.namespace.cpp"
				},
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
					"name": "entity.other.attribute.$0.cpp"
				},
				{
					"include": "source.cpp#number_literal"
				}
			]
		},
		"curly_initializer": {
			"begin": "(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)(?:\\s)*+)?::)*+)?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)?(?![\\w<:.]))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\{)",
			"end": "\\}|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
1959
			"beginCaptures": {
1960
				"1": {
A
Alex Ross 已提交
1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013
					"name": "meta.qualified_type.cpp",
					"patterns": [
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
						},
						{
							"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
							"name": "storage.type.$0.cpp"
						},
						{
							"include": "#attributes_context"
						},
						{
							"include": "#storage_types"
						},
						{
							"include": "source.cpp#number_literal"
						},
						{
							"include": "#string_context"
						},
						{
							"include": "source.cpp#comma"
						},
						{
							"include": "source.cpp#scope_resolution_inner_generated"
						},
						{
							"begin": "<",
							"end": ">|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.end.template.call.cpp"
								}
							},
							"name": "meta.template.call.cpp",
							"patterns": [
								{
									"include": "#template_call_context"
								}
							]
						},
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.type.cpp"
						}
					]
A
Alex Ross 已提交
2014
				},
2015
				"2": {
2016 2017
					"patterns": [
						{
A
Alex Ross 已提交
2018 2019 2020 2021
							"include": "#attributes_context"
						},
						{
							"include": "source.cpp#number_literal"
2022 2023 2024
						}
					]
				},
2025
				"3": {
A
Alex Ross 已提交
2026 2027 2028 2029 2030
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
2031
				},
2032
				"4": {
A
Alex Ross 已提交
2033
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
2034
				},
2035
				"5": {
A
Alex Ross 已提交
2036 2037 2038
					"name": "comment.block.cpp"
				},
				"6": {
2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
2050
				"7": {
2051 2052
					"patterns": [
						{
A
Alex Ross 已提交
2053
							"include": "source.cpp#inline_comment"
2054 2055 2056
						}
					]
				},
2057
				"8": {
2058 2059
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
2060
				"9": {
2061 2062
					"name": "comment.block.cpp"
				},
2063
				"10": {
2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
2075
				"11": {
2076 2077
					"patterns": [
						{
A
Alex Ross 已提交
2078
							"match": "::",
A
Alex Ross 已提交
2079
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
2080 2081
						},
						{
A
Alex Ross 已提交
2082
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
A
Alex Ross 已提交
2083
							"name": "entity.name.scope-resolution.type.cpp"
2084 2085
						},
						{
A
Alex Ross 已提交
2086
							"include": "#template_call_range"
2087 2088 2089
						}
					]
				},
A
Alex Ross 已提交
2090
				"12": {
2091 2092
					"patterns": [
						{
A
Alex Ross 已提交
2093
							"include": "#template_call_range"
2094 2095 2096
						}
					]
				},
A
Alex Ross 已提交
2097 2098
				"13": {},
				"14": {
2099 2100
					"patterns": [
						{
A
Alex Ross 已提交
2101
							"include": "source.cpp#inline_comment"
2102 2103 2104
						}
					]
				},
A
Alex Ross 已提交
2105
				"15": {
2106 2107
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2108
				"16": {
2109 2110
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2111
				"17": {
2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
2123 2124
				"18": {},
				"19": {
2125 2126
					"patterns": [
						{
A
Alex Ross 已提交
2127
							"include": "source.cpp#inline_comment"
2128 2129 2130
						}
					]
				},
A
Alex Ross 已提交
2131
				"20": {
2132 2133
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2134
				"21": {
2135 2136
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2137
				"22": {
2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175
				"23": {
					"name": "punctuation.section.arguments.begin.bracket.curly.initializer.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.curly.initializer.cpp"
				}
			},
			"name": "meta.initialization.cpp",
			"patterns": [
				{
					"include": "#evaluation_context"
				},
				{
					"include": "source.cpp#comma"
				}
			]
		},
		"decltype": {
			"begin": "((?<!\\w)decltype(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.operator.functionlike.cpp keyword.other.decltype.cpp storage.type.decltype.cpp"
				},
				"2": {
2176 2177
					"patterns": [
						{
A
Alex Ross 已提交
2178
							"include": "source.cpp#inline_comment"
2179 2180 2181
						}
					]
				},
A
Alex Ross 已提交
2182
				"3": {
2183 2184
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2185
				"4": {
2186 2187
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2188
				"5": {
2189 2190 2191 2192 2193 2194 2195 2196 2197 2198
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
2199 2200 2201
				},
				"6": {
					"name": "punctuation.section.arguments.begin.bracket.round.decltype.cpp"
2202
				}
A
Alex Ross 已提交
2203
			},
A
Alex Ross 已提交
2204 2205 2206 2207 2208 2209
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.decltype.cpp"
				}
			},
			"contentName": "meta.arguments.decltype",
A
Alex Ross 已提交
2210 2211
			"patterns": [
				{
A
Alex Ross 已提交
2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223
					"include": "#evaluation_context"
				}
			]
		},
		"decltype_specifier": {
			"begin": "((?<!\\w)decltype(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.operator.functionlike.cpp keyword.other.decltype.cpp storage.type.decltype.cpp"
				},
				"2": {
2224 2225
					"patterns": [
						{
A
Alex Ross 已提交
2226
							"include": "source.cpp#inline_comment"
2227 2228 2229
						}
					]
				},
A
Alex Ross 已提交
2230 2231 2232 2233 2234 2235 2236
				"3": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"4": {
					"name": "comment.block.cpp"
				},
				"5": {
2237 2238
					"patterns": [
						{
A
Alex Ross 已提交
2239 2240 2241 2242 2243 2244
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
2245 2246 2247
						}
					]
				},
A
Alex Ross 已提交
2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258
				"6": {
					"name": "punctuation.section.arguments.begin.bracket.round.decltype.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.decltype.cpp"
				}
			},
			"contentName": "meta.arguments.decltype",
			"patterns": [
A
Alex Ross 已提交
2259
				{
A
Alex Ross 已提交
2260
					"include": "#evaluation_context"
2261
				}
A
Alex Ross 已提交
2262
			]
2263
		},
A
Alex Ross 已提交
2264 2265 2266 2267
		"default_statement": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)default(?!\\w))",
			"end": ":|(?=(?<!\\\\)\n)",
			"beginCaptures": {
2268 2269 2270
				"1": {
					"patterns": [
						{
A
Alex Ross 已提交
2271
							"include": "source.cpp#inline_comment"
2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293
						}
					]
				},
				"2": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"3": {
					"name": "comment.block.cpp"
				},
				"4": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"5": {
A
Alex Ross 已提交
2294
					"name": "keyword.control.default.cpp"
A
Alex Ross 已提交
2295 2296 2297
				}
			},
			"endCaptures": {
A
Alex Ross 已提交
2298 2299
				"0": {
					"name": "punctuation.separator.colon.case.default.cpp"
A
Alex Ross 已提交
2300 2301
				}
			},
A
Alex Ross 已提交
2302
			"name": "meta.conditional.case.cpp",
A
Alex Ross 已提交
2303 2304
			"patterns": [
				{
A
Alex Ross 已提交
2305
					"include": "#evaluation_context"
2306
				},
A
Alex Ross 已提交
2307
				{
A
Alex Ross 已提交
2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319
					"include": "#c_conditional_context"
				}
			]
		},
		"destructor_inline": {
			"begin": "^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:(?:(?:constexpr)|(?:explicit)|(?:mutable)|(?:virtual)|(?:inline)|(?:friend))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*)(~(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(?=\\())",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.function.definition.special.member.destructor.cpp"
				},
				"1": {
2320 2321
					"patterns": [
						{
A
Alex Ross 已提交
2322
							"include": "source.cpp#inline_comment"
2323 2324 2325
						}
					]
				},
A
Alex Ross 已提交
2326 2327
				"2": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
A
Alex Ross 已提交
2328
				},
A
Alex Ross 已提交
2329 2330
				"3": {
					"name": "comment.block.cpp"
A
Alex Ross 已提交
2331
				},
A
Alex Ross 已提交
2332
				"4": {
A
Alex Ross 已提交
2333
					"patterns": [
A
Alex Ross 已提交
2334
						{
A
Alex Ross 已提交
2335 2336
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
A
Alex Ross 已提交
2337 2338
						},
						{
A
Alex Ross 已提交
2339 2340
							"match": "\\*",
							"name": "comment.block.cpp"
2341 2342 2343
						}
					]
				},
A
Alex Ross 已提交
2344
				"5": {
A
Alex Ross 已提交
2345 2346
					"patterns": [
						{
A
Alex Ross 已提交
2347
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
2348 2349
						}
					]
2350
				},
A
Alex Ross 已提交
2351
				"6": {
A
Alex Ross 已提交
2352
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
2353
				},
A
Alex Ross 已提交
2354
				"7": {
A
Alex Ross 已提交
2355 2356
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2357
				"8": {
2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
2369 2370 2371 2372
				"9": {
					"name": "storage.type.modifier.calling-convention.cpp"
				},
				"10": {
2373 2374
					"patterns": [
						{
A
Alex Ross 已提交
2375
							"include": "source.cpp#inline_comment"
2376 2377 2378
						}
					]
				},
A
Alex Ross 已提交
2379
				"11": {
2380 2381
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2382
				"12": {
2383 2384
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2385
				"13": {
2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
2397
				"14": {
A
Alex Ross 已提交
2398 2399
					"patterns": [
						{
A
Alex Ross 已提交
2400
							"include": "source.cpp#functional_specifiers_pre_parameters"
A
Alex Ross 已提交
2401 2402 2403
						}
					]
				},
2404 2405 2406
				"15": {
					"patterns": [
						{
A
Alex Ross 已提交
2407
							"include": "source.cpp#inline_comment"
2408 2409 2410
						}
					]
				},
A
Alex Ross 已提交
2411
				"16": {
2412 2413
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2414
				"17": {
2415 2416
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2417
				"18": {
2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445
				"19": {
					"name": "entity.name.function.destructor.cpp entity.name.function.definition.special.member.destructor.cpp"
				}
			},
			"endCaptures": {},
			"name": "meta.function.definition.special.member.destructor.cpp",
			"patterns": [
				{
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.function.definition.special.member.destructor.cpp"
						}
					},
					"name": "meta.head.function.definition.special.member.destructor.cpp",
2446 2447
					"patterns": [
						{
A
Alex Ross 已提交
2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514
							"include": "#ever_present_context"
						},
						{
							"match": "(\\=)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(default)|(delete))",
							"captures": {
								"1": {
									"name": "keyword.operator.assignment.cpp"
								},
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
									"name": "comment.block.cpp"
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"6": {
									"name": "keyword.other.default.constructor.cpp"
								},
								"7": {
									"name": "keyword.other.delete.constructor.cpp"
								}
							}
						},
						{
							"begin": "\\(",
							"end": "\\)|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.parameters.begin.bracket.round.special.member.destructor.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.parameters.end.bracket.round.special.member.destructor.cpp"
								}
							},
							"contentName": "meta.function.definition.parameters.special.member.destructor",
							"patterns": []
						},
						{
							"match": "((?:(?:final)|(?:override)))+",
							"captures": {
								"1": {
									"name": "keyword.operator.wordlike.cpp keyword.operator.$1.cpp"
								}
							}
						},
						{
							"include": "$self"
2515 2516 2517
						}
					]
				},
A
Alex Ross 已提交
2518 2519 2520 2521 2522 2523 2524 2525 2526 2527
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.function.definition.special.member.destructor.cpp"
						}
					},
					"name": "meta.body.function.definition.special.member.destructor.cpp",
2528 2529
					"patterns": [
						{
A
Alex Ross 已提交
2530
							"include": "#function_body_context"
2531 2532 2533
						}
					]
				},
A
Alex Ross 已提交
2534 2535 2536 2537 2538 2539
				{
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.function.definition.special.member.destructor.cpp",
2540 2541
					"patterns": [
						{
A
Alex Ross 已提交
2542
							"include": "$self"
2543 2544 2545 2546 2547
						}
					]
				}
			]
		},
A
Alex Ross 已提交
2548 2549 2550
		"destructor_root": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<12>?)+>)(?:\\s)*+)?::)*+)(((?>(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))::((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))~\\14((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=\\())",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
2551
			"beginCaptures": {
A
Alex Ross 已提交
2552 2553
				"0": {
					"name": "meta.head.function.definition.special.member.destructor.cpp"
A
Alex Ross 已提交
2554
				},
A
Alex Ross 已提交
2555
				"1": {
2556 2557
					"patterns": [
						{
A
Alex Ross 已提交
2558
							"include": "source.cpp#inline_comment"
2559 2560 2561
						}
					]
				},
A
Alex Ross 已提交
2562
				"2": {
2563 2564
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2565
				"3": {
2566 2567
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2568
				"4": {
2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
2580 2581
				"5": {
					"name": "storage.type.modifier.calling-convention.cpp"
A
Alex Ross 已提交
2582
				},
A
Alex Ross 已提交
2583
				"6": {
2584 2585
					"patterns": [
						{
A
Alex Ross 已提交
2586
							"include": "source.cpp#inline_comment"
2587 2588 2589
						}
					]
				},
A
Alex Ross 已提交
2590
				"7": {
2591 2592
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2593
				"8": {
2594 2595
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2596
				"9": {
2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
2608
				"10": {
2609 2610
					"patterns": [
						{
A
Alex Ross 已提交
2611 2612 2613
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.destructor.cpp"
						},
2614
						{
A
Alex Ross 已提交
2615 2616
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.destructor.cpp"
2617 2618
						},
						{
A
Alex Ross 已提交
2619
							"include": "#template_call_range"
2620 2621 2622
						}
					]
				},
A
Alex Ross 已提交
2623
				"11": {
2624 2625
					"patterns": [
						{
A
Alex Ross 已提交
2626
							"include": "#template_call_range"
2627 2628 2629
						}
					]
				},
A
Alex Ross 已提交
2630 2631
				"12": {},
				"13": {
2632 2633
					"patterns": [
						{
A
Alex Ross 已提交
2634 2635
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?=:)",
							"name": "entity.name.type.destructor.cpp"
2636 2637
						},
						{
A
Alex Ross 已提交
2638 2639 2640 2641 2642 2643
							"match": "(?<=:)~(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.function.definition.special.member.destructor.cpp"
						},
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.destructor.cpp"
2644 2645 2646
						}
					]
				},
A
Alex Ross 已提交
2647 2648
				"14": {},
				"15": {
2649 2650
					"patterns": [
						{
A
Alex Ross 已提交
2651
							"include": "source.cpp#inline_comment"
2652 2653 2654
						}
					]
				},
A
Alex Ross 已提交
2655
				"16": {
A
Alex Ross 已提交
2656 2657
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
2658
				"17": {
A
Alex Ross 已提交
2659 2660
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
2661
				"18": {
2662 2663
					"patterns": [
						{
A
Alex Ross 已提交
2664 2665
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
2666 2667
						},
						{
A
Alex Ross 已提交
2668 2669
							"match": "\\*",
							"name": "comment.block.cpp"
2670 2671 2672
						}
					]
				},
A
Alex Ross 已提交
2673
				"19": {
A
Alex Ross 已提交
2674 2675
					"patterns": [
						{
A
Alex Ross 已提交
2676
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
2677 2678
						}
					]
2679
				},
A
Alex Ross 已提交
2680
				"20": {
A
Alex Ross 已提交
2681
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
2682
				},
A
Alex Ross 已提交
2683
				"21": {
A
Alex Ross 已提交
2684
					"name": "comment.block.cpp"
2685
				},
A
Alex Ross 已提交
2686
				"22": {
2687 2688
					"patterns": [
						{
A
Alex Ross 已提交
2689 2690
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
2691 2692
						},
						{
A
Alex Ross 已提交
2693 2694
							"match": "\\*",
							"name": "comment.block.cpp"
2695 2696 2697
						}
					]
				},
A
Alex Ross 已提交
2698
				"23": {
A
Alex Ross 已提交
2699 2700
					"patterns": [
						{
A
Alex Ross 已提交
2701
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
2702 2703
						}
					]
2704
				},
A
Alex Ross 已提交
2705
				"24": {
A
Alex Ross 已提交
2706
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
2707
				},
A
Alex Ross 已提交
2708
				"25": {
A
Alex Ross 已提交
2709
					"name": "comment.block.cpp"
2710
				},
A
Alex Ross 已提交
2711
				"26": {
2712 2713
					"patterns": [
						{
A
Alex Ross 已提交
2714 2715
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
2716 2717
						},
						{
A
Alex Ross 已提交
2718 2719
							"match": "\\*",
							"name": "comment.block.cpp"
2720 2721
						}
					]
A
Alex Ross 已提交
2722 2723
				}
			},
A
Alex Ross 已提交
2724 2725
			"endCaptures": {},
			"name": "meta.function.definition.special.member.destructor.cpp",
A
Alex Ross 已提交
2726
			"patterns": [
2727
				{
A
Alex Ross 已提交
2728
					"begin": "\\G ?",
A
Alex Ross 已提交
2729 2730
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
2731
					"endCaptures": {
A
Alex Ross 已提交
2732
						"0": {
A
Alex Ross 已提交
2733
							"name": "punctuation.section.block.begin.bracket.curly.function.definition.special.member.destructor.cpp"
2734
						}
A
Alex Ross 已提交
2735
					},
A
Alex Ross 已提交
2736
					"name": "meta.head.function.definition.special.member.destructor.cpp",
2737 2738
					"patterns": [
						{
A
Alex Ross 已提交
2739
							"include": "#ever_present_context"
2740 2741
						},
						{
A
Alex Ross 已提交
2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764
							"match": "(\\=)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(default)|(delete))",
							"captures": {
								"1": {
									"name": "keyword.operator.assignment.cpp"
								},
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
									"name": "comment.block.cpp"
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
2765
										},
A
Alex Ross 已提交
2766 2767
										{
											"match": "\\*",
A
Alex Ross 已提交
2768 2769
											"name": "comment.block.cpp"
										}
A
Alex Ross 已提交
2770 2771 2772 2773 2774 2775 2776
									]
								},
								"6": {
									"name": "keyword.other.default.constructor.cpp"
								},
								"7": {
									"name": "keyword.other.delete.constructor.cpp"
A
Alex Ross 已提交
2777
								}
A
Alex Ross 已提交
2778
							}
A
Alex Ross 已提交
2779 2780
						},
						{
A
Alex Ross 已提交
2781 2782
							"begin": "\\(",
							"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
2783
							"beginCaptures": {
A
Alex Ross 已提交
2784
								"0": {
A
Alex Ross 已提交
2785 2786 2787 2788
									"name": "punctuation.section.parameters.begin.bracket.round.special.member.destructor.cpp"
								}
							},
							"endCaptures": {
A
Alex Ross 已提交
2789
								"0": {
A
Alex Ross 已提交
2790 2791
									"name": "punctuation.section.parameters.end.bracket.round.special.member.destructor.cpp"
								}
A
Alex Ross 已提交
2792 2793 2794 2795 2796 2797 2798 2799 2800 2801
							},
							"contentName": "meta.function.definition.parameters.special.member.destructor",
							"patterns": []
						},
						{
							"match": "((?:(?:final)|(?:override)))+",
							"captures": {
								"1": {
									"name": "keyword.operator.wordlike.cpp keyword.operator.$1.cpp"
								}
2802
							}
A
Alex Ross 已提交
2803 2804 2805
						},
						{
							"include": "$self"
2806 2807 2808 2809
						}
					]
				},
				{
A
Alex Ross 已提交
2810
					"begin": "(?<=\\{|<%|\\?\\?<)",
A
Alex Ross 已提交
2811 2812
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
2813
					"endCaptures": {
A
Alex Ross 已提交
2814
						"0": {
A
Alex Ross 已提交
2815
							"name": "punctuation.section.block.end.bracket.curly.function.definition.special.member.destructor.cpp"
2816
						}
A
Alex Ross 已提交
2817
					},
A
Alex Ross 已提交
2818
					"name": "meta.body.function.definition.special.member.destructor.cpp",
A
Alex Ross 已提交
2819 2820 2821 2822 2823
					"patterns": [
						{
							"include": "#function_body_context"
						}
					]
2824 2825
				},
				{
A
Alex Ross 已提交
2826 2827 2828 2829
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
A
Alex Ross 已提交
2830
					"name": "meta.tail.function.definition.special.member.destructor.cpp",
2831 2832
					"patterns": [
						{
A
Alex Ross 已提交
2833
							"include": "$self"
2834 2835 2836 2837 2838
						}
					]
				}
			]
		},
A
Alex Ross 已提交
2839 2840 2841
		"diagnostic": {
			"begin": "(^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(#)(?:(?:\\s)+)?((?:error|warning)))\\b(?:(?:\\s)+)?",
			"end": "(?<!\\\\)(?=\\n)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
2842
			"beginCaptures": {
2843
				"1": {
A
Alex Ross 已提交
2844
					"name": "keyword.control.directive.diagnostic.$7.cpp"
2845
				},
2846
				"2": {
2847 2848
					"patterns": [
						{
A
Alex Ross 已提交
2849
							"include": "source.cpp#inline_comment"
2850 2851 2852
						}
					]
				},
2853
				"3": {
A
Alex Ross 已提交
2854 2855
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
2856
				"4": {
A
Alex Ross 已提交
2857
					"name": "comment.block.cpp"
2858
				},
2859
				"5": {
A
Alex Ross 已提交
2860 2861 2862 2863 2864 2865 2866 2867
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
2868
						}
A
Alex Ross 已提交
2869 2870
					]
				},
2871
				"6": {
A
Alex Ross 已提交
2872
					"name": "punctuation.definition.directive.cpp"
A
Alex Ross 已提交
2873
				},
A
Alex Ross 已提交
2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892
				"7": {}
			},
			"endCaptures": {},
			"name": "meta.preprocessor.diagnostic.$reference(directive).cpp",
			"patterns": [
				{
					"begin": "\"",
					"end": "(?:(\")|(?<!\\\\)(?=\\n))|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin.cpp"
						}
					},
					"endCaptures": {
						"1": {
							"name": "punctuation.definition.string.end.cpp"
						}
					},
					"name": "string.quoted.double.cpp",
2893 2894
					"patterns": [
						{
A
Alex Ross 已提交
2895
							"include": "source.cpp#line_continuation_character"
2896 2897 2898
						}
					]
				},
A
Alex Ross 已提交
2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912
				{
					"begin": "'",
					"end": "(?:(')|(?<!\\\\)(?=\\n))|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin.cpp"
						}
					},
					"endCaptures": {
						"1": {
							"name": "punctuation.definition.string.end.cpp"
						}
					},
					"name": "string.quoted.single.cpp",
2913 2914
					"patterns": [
						{
A
Alex Ross 已提交
2915
							"include": "source.cpp#line_continuation_character"
2916 2917 2918
						}
					]
				},
A
Alex Ross 已提交
2919 2920 2921 2922 2923 2924
				{
					"begin": "[^'\"]",
					"end": "(?<!\\\\)(?=\\n)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "string.unquoted.cpp",
2925 2926
					"patterns": [
						{
A
Alex Ross 已提交
2927
							"include": "source.cpp#line_continuation_character"
A
Alex Ross 已提交
2928
						},
2929
						{
A
Alex Ross 已提交
2930
							"include": "#comments"
2931 2932
						}
					]
A
Alex Ross 已提交
2933 2934 2935 2936 2937 2938 2939 2940 2941
				}
			]
		},
		"enum_block": {
			"begin": "((?<!\\w)enum(?!\\w))(?:(?:\\s)+(class|struct))?(?:(?:(?:\\s)+|((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\))))|(?={))(?:(?:\\s)+)?((?:(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))?)(?:(?:(?:\\s)+)?(:)(?:(?:\\s)+)?(?:((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<12>?)+>)(?:\\s)*+)?::)*\\s*+)((?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<12>?)+>)(?:\\s)*+)?(::))?(?:(?:\\s)+)?((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)))?",
			"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.enum.cpp"
2942
				},
A
Alex Ross 已提交
2943 2944
				"1": {
					"name": "storage.type.enum.cpp"
2945
				},
A
Alex Ross 已提交
2946 2947 2948 2949
				"2": {
					"name": "storage.type.enum.enum-key.$2.cpp"
				},
				"3": {
2950 2951
					"patterns": [
						{
A
Alex Ross 已提交
2952
							"include": "#attributes_context"
A
Alex Ross 已提交
2953
						},
2954
						{
A
Alex Ross 已提交
2955
							"include": "source.cpp#number_literal"
2956 2957 2958
						}
					]
				},
A
Alex Ross 已提交
2959 2960
				"4": {
					"name": "entity.name.type.enum.cpp"
A
Alex Ross 已提交
2961
				},
A
Alex Ross 已提交
2962 2963
				"5": {
					"name": "punctuation.separator.colon.type-specifier.cpp"
2964
				},
A
Alex Ross 已提交
2965
				"6": {
2966 2967
					"patterns": [
						{
A
Alex Ross 已提交
2968
							"include": "source.cpp#scope_resolution_inner_generated"
2969 2970 2971
						}
					]
				},
A
Alex Ross 已提交
2972 2973
				"7": {
					"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
A
Alex Ross 已提交
2974
				},
A
Alex Ross 已提交
2975
				"8": {
2976 2977
					"patterns": [
						{
A
Alex Ross 已提交
2978
							"include": "#template_call_range"
2979 2980 2981
						}
					]
				},
A
Alex Ross 已提交
2982 2983 2984 2985 2986 2987
				"9": {},
				"10": {
					"name": "entity.name.scope-resolution.cpp"
				},
				"11": {
					"name": "meta.template.call.cpp",
2988 2989
					"patterns": [
						{
A
Alex Ross 已提交
2990
							"include": "#template_call_range"
2991 2992 2993
						}
					]
				},
A
Alex Ross 已提交
2994 2995 2996
				"12": {},
				"13": {
					"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
2997
				},
A
Alex Ross 已提交
2998 2999 3000 3001 3002 3003 3004
				"14": {
					"name": "storage.type.integral.$14.cpp"
				}
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.terminator.statement.cpp"
A
Alex Ross 已提交
3005
				},
A
Alex Ross 已提交
3006 3007
				"2": {
					"name": "punctuation.terminator.statement.cpp"
3008
				}
A
Alex Ross 已提交
3009
			},
A
Alex Ross 已提交
3010
			"name": "meta.block.enum.cpp",
A
Alex Ross 已提交
3011 3012 3013
			"patterns": [
				{
					"begin": "\\G ?",
A
Alex Ross 已提交
3014 3015
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
3016
					"endCaptures": {
A
Alex Ross 已提交
3017 3018
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.enum.cpp"
A
Alex Ross 已提交
3019 3020
						}
					},
A
Alex Ross 已提交
3021
					"name": "meta.head.enum.cpp",
3022
					"patterns": [
A
Alex Ross 已提交
3023 3024
						{
							"include": "$self"
3025 3026 3027
						}
					]
				},
A
Alex Ross 已提交
3028 3029
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
A
Alex Ross 已提交
3030 3031
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
3032
					"endCaptures": {
A
Alex Ross 已提交
3033 3034
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.enum.cpp"
A
Alex Ross 已提交
3035 3036
						}
					},
A
Alex Ross 已提交
3037
					"name": "meta.body.enum.cpp",
A
Alex Ross 已提交
3038 3039
					"patterns": [
						{
A
Alex Ross 已提交
3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052
							"include": "#ever_present_context"
						},
						{
							"include": "source.cpp#enumerator_list"
						},
						{
							"include": "#comments"
						},
						{
							"include": "source.cpp#comma"
						},
						{
							"include": "source.cpp#semicolon"
A
Alex Ross 已提交
3053 3054
						}
					]
3055
				},
A
Alex Ross 已提交
3056
				{
A
Alex Ross 已提交
3057 3058 3059 3060 3061
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.enum.cpp",
3062 3063
					"patterns": [
						{
A
Alex Ross 已提交
3064
							"include": "$self"
3065 3066 3067
						}
					]
				}
A
Alex Ross 已提交
3068
			]
3069
		},
A
Alex Ross 已提交
3070 3071 3072 3073
		"evaluation_context": {
			"patterns": [
				{
					"include": "#ever_present_context"
A
Alex Ross 已提交
3074
				},
A
Alex Ross 已提交
3075 3076
				{
					"include": "#string_context"
3077
				},
A
Alex Ross 已提交
3078 3079
				{
					"include": "source.cpp#number_literal"
3080
				},
A
Alex Ross 已提交
3081 3082
				{
					"include": "#method_access"
A
Alex Ross 已提交
3083
				},
A
Alex Ross 已提交
3084 3085
				{
					"include": "source.cpp#member_access"
3086
				},
A
Alex Ross 已提交
3087
				{
A
Alex Ross 已提交
3088
					"include": "source.cpp#predefined_macros"
3089
				},
A
Alex Ross 已提交
3090
				{
A
Alex Ross 已提交
3091
					"include": "#operators"
3092
				},
A
Alex Ross 已提交
3093
				{
A
Alex Ross 已提交
3094
					"include": "source.cpp#memory_operators"
3095
				},
A
Alex Ross 已提交
3096 3097
				{
					"include": "source.cpp#wordlike_operators"
3098
				},
A
Alex Ross 已提交
3099 3100
				{
					"include": "source.cpp#type_casting_operators"
3101
				},
A
Alex Ross 已提交
3102 3103
				{
					"include": "source.cpp#control_flow_keywords"
3104
				},
A
Alex Ross 已提交
3105 3106
				{
					"include": "source.cpp#exception_keywords"
3107
				},
A
Alex Ross 已提交
3108 3109
				{
					"include": "source.cpp#the_this_keyword"
3110
				},
A
Alex Ross 已提交
3111 3112
				{
					"include": "source.cpp#language_constants"
3113
				},
A
Alex Ross 已提交
3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148
				{
					"include": "#builtin_storage_type_initilizer"
				},
				{
					"include": "source.cpp#qualifiers_and_specifiers_post_parameters"
				},
				{
					"include": "source.cpp#functional_specifiers_pre_parameters"
				},
				{
					"include": "#storage_types"
				},
				{
					"include": "#lambdas"
				},
				{
					"include": "#attributes_context"
				},
				{
					"include": "#parentheses"
				},
				{
					"include": "#function_call"
				},
				{
					"include": "source.cpp#scope_resolution_inner_generated"
				},
				{
					"include": "#square_brackets"
				},
				{
					"include": "source.cpp#semicolon"
				},
				{
					"include": "source.cpp#comma"
3149
				}
A
Alex Ross 已提交
3150
			]
3151
		},
A
Alex Ross 已提交
3152 3153 3154 3155
		"ever_present_context": {
			"patterns": [
				{
					"include": "source.cpp#pragma_mark"
3156
				},
A
Alex Ross 已提交
3157 3158
				{
					"include": "#pragma"
A
Alex Ross 已提交
3159
				},
A
Alex Ross 已提交
3160 3161
				{
					"include": "source.cpp#include"
3162
				},
A
Alex Ross 已提交
3163 3164
				{
					"include": "#line"
A
Alex Ross 已提交
3165
				},
A
Alex Ross 已提交
3166 3167
				{
					"include": "#diagnostic"
A
Alex Ross 已提交
3168
				},
A
Alex Ross 已提交
3169 3170
				{
					"include": "source.cpp#undef"
A
Alex Ross 已提交
3171
				},
A
Alex Ross 已提交
3172 3173
				{
					"include": "#preprocessor_conditional_range"
3174
				},
A
Alex Ross 已提交
3175 3176
				{
					"include": "source.cpp#single_line_macro"
3177
				},
A
Alex Ross 已提交
3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202
				{
					"include": "#macro"
				},
				{
					"include": "source.cpp#preprocessor_conditional_standalone"
				},
				{
					"include": "source.cpp#macro_argument"
				},
				{
					"include": "#comments"
				},
				{
					"include": "source.cpp#line_continuation_character"
				}
			]
		},
		"extern_block": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(extern)(?=\\s*\\\")",
			"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.extern.cpp"
				},
				"1": {
3203 3204
					"patterns": [
						{
A
Alex Ross 已提交
3205
							"include": "source.cpp#inline_comment"
3206 3207 3208
						}
					]
				},
A
Alex Ross 已提交
3209 3210
				"2": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
3211
				},
A
Alex Ross 已提交
3212 3213 3214 3215
				"3": {
					"name": "comment.block.cpp"
				},
				"4": {
3216 3217
					"patterns": [
						{
A
Alex Ross 已提交
3218 3219 3220 3221 3222 3223
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
3224 3225 3226
						}
					]
				},
A
Alex Ross 已提交
3227 3228
				"5": {
					"name": "storage.type.extern.cpp"
3229
				}
A
Alex Ross 已提交
3230 3231 3232 3233 3234 3235 3236 3237 3238
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.terminator.statement.cpp"
				},
				"2": {
					"name": "punctuation.terminator.statement.cpp"
				}
			},
A
Alex Ross 已提交
3239
			"name": "meta.block.extern.cpp",
A
Alex Ross 已提交
3240 3241 3242
			"patterns": [
				{
					"begin": "\\G ?",
A
Alex Ross 已提交
3243 3244
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
3245
					"endCaptures": {
A
Alex Ross 已提交
3246 3247
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.extern.cpp"
A
Alex Ross 已提交
3248 3249
						}
					},
A
Alex Ross 已提交
3250
					"name": "meta.head.extern.cpp",
3251 3252
					"patterns": [
						{
A
Alex Ross 已提交
3253
							"include": "$self"
3254 3255 3256
						}
					]
				},
A
Alex Ross 已提交
3257 3258
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
A
Alex Ross 已提交
3259 3260
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
A
Alex Ross 已提交
3261
					"endCaptures": {
A
Alex Ross 已提交
3262 3263
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.extern.cpp"
A
Alex Ross 已提交
3264 3265
						}
					},
A
Alex Ross 已提交
3266
					"name": "meta.body.extern.cpp",
A
Alex Ross 已提交
3267 3268
					"patterns": [
						{
A
Alex Ross 已提交
3269
							"include": "$self"
A
Alex Ross 已提交
3270 3271
						}
					]
3272
				},
A
Alex Ross 已提交
3273
				{
A
Alex Ross 已提交
3274 3275 3276 3277 3278
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.extern.cpp",
3279 3280
					"patterns": [
						{
A
Alex Ross 已提交
3281
							"include": "$self"
3282 3283
						}
					]
A
Alex Ross 已提交
3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359
				},
				{
					"include": "$self"
				}
			]
		},
		"function_body_context": {
			"patterns": [
				{
					"include": "#ever_present_context"
				},
				{
					"include": "#using_namespace"
				},
				{
					"include": "source.cpp#type_alias"
				},
				{
					"include": "source.cpp#using_name"
				},
				{
					"include": "source.cpp#namespace_alias"
				},
				{
					"include": "#typedef_class"
				},
				{
					"include": "#typedef_struct"
				},
				{
					"include": "#typedef_union"
				},
				{
					"include": "source.cpp#misc_keywords"
				},
				{
					"include": "source.cpp#standard_declares"
				},
				{
					"include": "#class_block"
				},
				{
					"include": "#struct_block"
				},
				{
					"include": "#union_block"
				},
				{
					"include": "#enum_block"
				},
				{
					"include": "source.cpp#access_control_keywords"
				},
				{
					"include": "#block"
				},
				{
					"include": "#static_assert"
				},
				{
					"include": "#assembly"
				},
				{
					"include": "#function_pointer"
				},
				{
					"include": "#switch_statement"
				},
				{
					"include": "source.cpp#goto_statement"
				},
				{
					"include": "#evaluation_context"
				},
				{
					"include": "source.cpp#label"
3360
				}
A
Alex Ross 已提交
3361
			]
3362
		},
A
Alex Ross 已提交
3363 3364 3365 3366
		"function_call": {
			"begin": "((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<11>?)+>)(?:\\s)*+)?::)*\\s*+)((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)\\b(?<!\\Wreinterpret_cast|^reinterpret_cast|\\Watomic_noexcept|^atomic_noexcept|\\Wuint_least16_t|^uint_least16_t|\\Wuint_least32_t|^uint_least32_t|\\Wuint_least64_t|^uint_least64_t|\\Wuint_fast16_t|^uint_fast16_t|\\Wint_least16_t|^int_least16_t|\\Watomic_commit|^atomic_commit|\\Watomic_cancel|^atomic_cancel|\\Wuint_fast64_t|^uint_fast64_t|\\Wuint_least8_t|^uint_least8_t|\\Wint_least64_t|^int_least64_t|\\Wint_least32_t|^int_least32_t|\\Wuint_fast32_t|^uint_fast32_t|\\Wdynamic_cast|^dynamic_cast|\\Wthread_local|^thread_local|\\Wuint_fast8_t|^uint_fast8_t|\\Wint_fast64_t|^int_fast64_t|\\Wint_fast32_t|^int_fast32_t|\\Wint_fast16_t|^int_fast16_t|\\Wsynchronized|^synchronized|\\Wint_least8_t|^int_least8_t|\\Wsuseconds_t|^suseconds_t|\\Wint_fast8_t|^int_fast8_t|\\Wstatic_cast|^static_cast|\\Wconst_cast|^const_cast|\\Wuseconds_t|^useconds_t|\\Wnamespace|^namespace|\\Wco_return|^co_return|\\Wblksize_t|^blksize_t|\\Win_addr_t|^in_addr_t|\\Win_port_t|^in_port_t|\\Wuintptr_t|^uintptr_t|\\Wuintmax_t|^uintmax_t|\\Wuintmax_t|^uintmax_t|\\Wuintmax_t|^uintmax_t|\\Wconstexpr|^constexpr|\\Wconstexpr|^constexpr|\\Wconstexpr|^constexpr|\\Wconsteval|^consteval|\\Wprotected|^protected|\\Wco_return|^co_return|\\Wco_await|^co_await|\\Wnoexcept|^noexcept|\\Wrestrict|^restrict|\\Wnoexcept|^noexcept|\\Wdecltype|^decltype|\\Wintmax_t|^intmax_t|\\Wuint64_t|^uint64_t|\\Wintmax_t|^intmax_t|\\Wcontinue|^continue|\\Wreflexpr|^reflexpr|\\Wintptr_t|^intptr_t|\\Wuint32_t|^uint32_t|\\Wuint16_t|^uint16_t|\\Wexplicit|^explicit|\\Wtypename|^typename|\\Wu_quad_t|^u_quad_t|\\Wvolatile|^volatile|\\Wtemplate|^template|\\Wnoexcept|^noexcept|\\Wco_yield|^co_yield|\\Wco_await|^co_await|\\Wvolatile|^volatile|\\Woperator|^operator|\\Wunsigned|^unsigned|\\Wregister|^register|\\Wblkcnt_t|^blkcnt_t|\\Wrequires|^requires|\\Wco_yield|^co_yield|\\Wnullptr|^nullptr|\\Wqaddr_t|^qaddr_t|\\Wcaddr_t|^caddr_t|\\Wmutable|^mutable|\\Wvirtual|^virtual|\\Wmutable|^mutable|\\Wdaddr_t|^daddr_t|\\Wfixpt_t|^fixpt_t|\\Wconcept|^concept|\\Wnlink_t|^nlink_t|\\Wdefault|^default|\\Wwchar_t|^wchar_t|\\Wsegsz_t|^segsz_t|\\Wswblk_t|^swblk_t|\\Wclock_t|^clock_t|\\Wssize_t|^ssize_t|\\W__asm__|^__asm__|\\Wint16_t|^int16_t|\\Wint32_t|^int32_t|\\Wint64_t|^int64_t|\\Wuint8_t|^uint8_t|\\Wu_short|^u_short|\\Walignas|^alignas|\\Walignof|^alignof|\\Wtypedef|^typedef|\\Wprivate|^private|\\Wu_char|^u_char|\\Wmode_t|^mode_t|\\Wstatic|^static|\\Wdouble|^double|\\Wnot_eq|^not_eq|\\Wtypeid|^typeid|\\Wmodule|^module|\\Wstruct|^struct|\\Wexport|^export|\\Wxor_eq|^xor_eq|\\Wand_eq|^and_eq|\\Wu_long|^u_long|\\Wquad_t|^quad_t|\\Wsigned|^signed|\\Wushort|^ushort|\\Wimport|^import|\\Wbitand|^bitand|\\Wfriend|^friend|\\Wtime_t|^time_t|\\Wdelete|^delete|\\Wsize_t|^size_t|\\Wint8_t|^int8_t|\\Winline|^inline|\\Wextern|^extern|\\Wpublic|^public|\\Wsizeof|^sizeof|\\Wswitch|^switch|\\Wreturn|^return|\\Wconst|^const|\\Wshort|^short|\\Wfloat|^float|\\Wu_int|^u_int|\\Wdiv_t|^div_t|\\Wdev_t|^dev_t|\\Wgid_t|^gid_t|\\Wino_t|^ino_t|\\Wkey_t|^key_t|\\Wpid_t|^pid_t|\\Woff_t|^off_t|\\Wuid_t|^uid_t|\\Wwhile|^while|\\Wor_eq|^or_eq|\\Wthrow|^throw|\\Wbitor|^bitor|\\Wfalse|^false|\\Wclass|^class|\\Wunion|^union|\\Wconst|^const|\\Wcompl|^compl|\\Wusing|^using|\\Wcatch|^catch|\\Wbreak|^break|\\Wtrue|^true|\\Wid_t|^id_t|\\Wchar|^char|\\Wid_t|^id_t|\\Wauto|^auto|\\Wcase|^case|\\Wuint|^uint|\\Wbool|^bool|\\Wlong|^long|\\Wvoid|^void|\\Wenum|^enum|\\WNULL|^NULL|\\Wthis|^this|\\Welse|^else|\\Wgoto|^goto|\\Wnew|^new|\\Wtry|^try|\\Wxor|^xor|\\Wnot|^not|\\Wint|^int|\\Wand|^and|\\Wfor|^for|\\Wasm|^asm|\\Wdo|^do|\\Wor|^or|\\Wif|^if)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<11>?)+>)(?:\\s)*+)?(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
A
Alex Ross 已提交
3367
				"1": {
A
Alex Ross 已提交
3368 3369 3370 3371 3372
					"patterns": [
						{
							"include": "source.cpp#scope_resolution_function_call_inner_generated"
						}
					]
3373 3374
				},
				"2": {
A
Alex Ross 已提交
3375 3376 3377
					"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.call.cpp"
				},
				"3": {
3378 3379
					"patterns": [
						{
A
Alex Ross 已提交
3380
							"include": "#template_call_range"
3381 3382 3383
						}
					]
				},
A
Alex Ross 已提交
3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395
				"4": {},
				"5": {
					"name": "entity.name.function.call.cpp"
				},
				"6": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"7": {
3396 3397
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
3398
				"8": {
3399 3400
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457
				"9": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"10": {
					"name": "meta.template.call.cpp",
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
				"11": {},
				"12": {
					"name": "punctuation.section.arguments.begin.bracket.round.function.call.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.function.call.cpp"
				}
			},
			"patterns": [
				{
					"include": "#evaluation_context"
				}
			]
		},
		"function_definition": {
			"begin": "(?:(?:^|\\G|(?<=;|\\}))|(?<=>))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:((?<!\\w)template(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:((?<!\\w)(?:(?:(?:constexpr)|(?:explicit)|(?:mutable)|(?:virtual)|(?:inline)|(?:friend))|(?:(?:volatile)|(?:register)|(?:restrict)|(?:static)|(?:extern)|(?:const)))(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*)(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<60>?)+>)(?:\\s)*+)?::)*+)?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<60>?)+>)?(?![\\w<:.]))(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<60>?)+>)(?:\\s)*+)?::)*\\s*+)((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)\\b(?<!\\Wreinterpret_cast|^reinterpret_cast|\\Watomic_noexcept|^atomic_noexcept|\\Wuint_least16_t|^uint_least16_t|\\Wuint_least32_t|^uint_least32_t|\\Wuint_least64_t|^uint_least64_t|\\Wuint_fast16_t|^uint_fast16_t|\\Wint_least16_t|^int_least16_t|\\Watomic_commit|^atomic_commit|\\Watomic_cancel|^atomic_cancel|\\Wuint_fast64_t|^uint_fast64_t|\\Wuint_least8_t|^uint_least8_t|\\Wint_least64_t|^int_least64_t|\\Wint_least32_t|^int_least32_t|\\Wuint_fast32_t|^uint_fast32_t|\\Wdynamic_cast|^dynamic_cast|\\Wthread_local|^thread_local|\\Wuint_fast8_t|^uint_fast8_t|\\Wint_fast64_t|^int_fast64_t|\\Wint_fast32_t|^int_fast32_t|\\Wint_fast16_t|^int_fast16_t|\\Wsynchronized|^synchronized|\\Wint_least8_t|^int_least8_t|\\Wsuseconds_t|^suseconds_t|\\Wint_fast8_t|^int_fast8_t|\\Wstatic_cast|^static_cast|\\Wconst_cast|^const_cast|\\Wuseconds_t|^useconds_t|\\Wnamespace|^namespace|\\Wco_return|^co_return|\\Wblksize_t|^blksize_t|\\Win_addr_t|^in_addr_t|\\Win_port_t|^in_port_t|\\Wuintptr_t|^uintptr_t|\\Wuintmax_t|^uintmax_t|\\Wuintmax_t|^uintmax_t|\\Wuintmax_t|^uintmax_t|\\Wconstexpr|^constexpr|\\Wconstexpr|^constexpr|\\Wconstexpr|^constexpr|\\Wconsteval|^consteval|\\Wprotected|^protected|\\Wco_return|^co_return|\\Wco_await|^co_await|\\Wnoexcept|^noexcept|\\Wrestrict|^restrict|\\Wnoexcept|^noexcept|\\Wdecltype|^decltype|\\Wintmax_t|^intmax_t|\\Wuint64_t|^uint64_t|\\Wintmax_t|^intmax_t|\\Wcontinue|^continue|\\Wreflexpr|^reflexpr|\\Wintptr_t|^intptr_t|\\Wuint32_t|^uint32_t|\\Wuint16_t|^uint16_t|\\Wexplicit|^explicit|\\Wtypename|^typename|\\Wu_quad_t|^u_quad_t|\\Wvolatile|^volatile|\\Wtemplate|^template|\\Wnoexcept|^noexcept|\\Wco_yield|^co_yield|\\Wco_await|^co_await|\\Wvolatile|^volatile|\\Woperator|^operator|\\Wunsigned|^unsigned|\\Wregister|^register|\\Wblkcnt_t|^blkcnt_t|\\Wrequires|^requires|\\Wco_yield|^co_yield|\\Wnullptr|^nullptr|\\Wqaddr_t|^qaddr_t|\\Wcaddr_t|^caddr_t|\\Wmutable|^mutable|\\Wvirtual|^virtual|\\Wmutable|^mutable|\\Wdaddr_t|^daddr_t|\\Wfixpt_t|^fixpt_t|\\Wconcept|^concept|\\Wnlink_t|^nlink_t|\\Wdefault|^default|\\Wwchar_t|^wchar_t|\\Wsegsz_t|^segsz_t|\\Wswblk_t|^swblk_t|\\Wclock_t|^clock_t|\\Wssize_t|^ssize_t|\\W__asm__|^__asm__|\\Wint16_t|^int16_t|\\Wint32_t|^int32_t|\\Wint64_t|^int64_t|\\Wuint8_t|^uint8_t|\\Wu_short|^u_short|\\Walignas|^alignas|\\Walignof|^alignof|\\Wtypedef|^typedef|\\Wprivate|^private|\\Wu_char|^u_char|\\Wmode_t|^mode_t|\\Wstatic|^static|\\Wdouble|^double|\\Wnot_eq|^not_eq|\\Wtypeid|^typeid|\\Wmodule|^module|\\Wstruct|^struct|\\Wexport|^export|\\Wxor_eq|^xor_eq|\\Wand_eq|^and_eq|\\Wu_long|^u_long|\\Wquad_t|^quad_t|\\Wsigned|^signed|\\Wushort|^ushort|\\Wimport|^import|\\Wbitand|^bitand|\\Wfriend|^friend|\\Wtime_t|^time_t|\\Wdelete|^delete|\\Wsize_t|^size_t|\\Wint8_t|^int8_t|\\Winline|^inline|\\Wextern|^extern|\\Wpublic|^public|\\Wsizeof|^sizeof|\\Wswitch|^switch|\\Wreturn|^return|\\Wconst|^const|\\Wshort|^short|\\Wfloat|^float|\\Wu_int|^u_int|\\Wdiv_t|^div_t|\\Wdev_t|^dev_t|\\Wgid_t|^gid_t|\\Wino_t|^ino_t|\\Wkey_t|^key_t|\\Wpid_t|^pid_t|\\Woff_t|^off_t|\\Wuid_t|^uid_t|\\Wwhile|^while|\\Wor_eq|^or_eq|\\Wthrow|^throw|\\Wbitor|^bitor|\\Wfalse|^false|\\Wclass|^class|\\Wunion|^union|\\Wconst|^const|\\Wcompl|^compl|\\Wusing|^using|\\Wcatch|^catch|\\Wbreak|^break|\\Wtrue|^true|\\Wid_t|^id_t|\\Wchar|^char|\\Wid_t|^id_t|\\Wauto|^auto|\\Wcase|^case|\\Wuint|^uint|\\Wbool|^bool|\\Wlong|^long|\\Wvoid|^void|\\Wenum|^enum|\\WNULL|^NULL|\\Wthis|^this|\\Welse|^else|\\Wgoto|^goto|\\Wnew|^new|\\Wtry|^try|\\Wxor|^xor|\\Wnot|^not|\\Wint|^int|\\Wand|^and|\\Wfor|^for|\\Wasm|^asm|\\Wdo|^do|\\Wor|^or|\\Wif|^if)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=\\()",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.function.definition.cpp"
				},
				"1": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"2": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"3": {
					"name": "comment.block.cpp"
				},
				"4": {
3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
3469 3470 3471
				"5": {
					"name": "storage.type.template.cpp"
				},
3472
				"6": {
A
Alex Ross 已提交
3473 3474 3475 3476 3477
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
A
Alex Ross 已提交
3478
				},
3479
				"7": {
A
Alex Ross 已提交
3480 3481 3482 3483 3484 3485
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"8": {
					"name": "comment.block.cpp"
				},
				"9": {
3486
					"patterns": [
A
Alex Ross 已提交
3487 3488 3489 3490
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
3491
						{
3492
							"match": "\\*",
A
Alex Ross 已提交
3493 3494 3495 3496 3497 3498 3499 3500
							"name": "comment.block.cpp"
						}
					]
				},
				"10": {
					"patterns": [
						{
							"include": "#attributes_context"
3501
						},
3502
						{
A
Alex Ross 已提交
3503 3504 3505 3506 3507 3508 3509 3510
							"include": "source.cpp#number_literal"
						}
					]
				},
				"11": {
					"patterns": [
						{
							"match": "((?<!\\w)(?:(?:(?:constexpr)|(?:explicit)|(?:mutable)|(?:virtual)|(?:inline)|(?:friend))|(?:(?:volatile)|(?:register)|(?:restrict)|(?:static)|(?:extern)|(?:const)))(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))",
3511 3512
							"captures": {
								"1": {
A
Alex Ross 已提交
3513 3514 3515
									"name": "storage.modifier.$1.cpp"
								},
								"2": {
3516 3517
									"patterns": [
										{
A
Alex Ross 已提交
3518
											"include": "source.cpp#inline_comment"
3519 3520 3521
										}
									]
								},
A
Alex Ross 已提交
3522
								"3": {
3523 3524
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
A
Alex Ross 已提交
3525
								"4": {
3526 3527
									"name": "comment.block.cpp"
								},
A
Alex Ross 已提交
3528
								"5": {
3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
A
Alex Ross 已提交
3540
							}
3541 3542 3543
						}
					]
				},
A
Alex Ross 已提交
3544 3545 3546 3547
				"12": {
					"name": "storage.modifier.$12.cpp"
				},
				"13": {
3548 3549
					"patterns": [
						{
A
Alex Ross 已提交
3550
							"include": "source.cpp#inline_comment"
3551 3552 3553
						}
					]
				},
A
Alex Ross 已提交
3554
				"14": {
3555
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
A
Alex Ross 已提交
3556
				},
A
Alex Ross 已提交
3557
				"15": {
3558
					"name": "comment.block.cpp"
A
Alex Ross 已提交
3559
				},
A
Alex Ross 已提交
3560
				"16": {
A
Alex Ross 已提交
3561 3562
					"patterns": [
						{
3563 3564 3565
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
A
Alex Ross 已提交
3566
						{
3567 3568
							"match": "\\*",
							"name": "comment.block.cpp"
A
Alex Ross 已提交
3569 3570 3571
						}
					]
				},
A
Alex Ross 已提交
3572 3573
				"17": {
					"name": "meta.qualified_type.cpp",
A
Alex Ross 已提交
3574 3575
					"patterns": [
						{
A
Alex Ross 已提交
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
						},
						{
							"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
							"name": "storage.type.$0.cpp"
						},
						{
							"include": "#attributes_context"
						},
						{
							"include": "#storage_types"
						},
						{
							"include": "source.cpp#number_literal"
						},
						{
							"include": "#string_context"
						},
						{
							"include": "source.cpp#comma"
						},
						{
							"include": "source.cpp#scope_resolution_inner_generated"
						},
						{
							"begin": "<",
							"end": ">|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.end.template.call.cpp"
								}
							},
							"name": "meta.template.call.cpp",
							"patterns": [
								{
									"include": "#template_call_context"
								}
							]
						},
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.type.cpp"
A
Alex Ross 已提交
3624 3625 3626
						}
					]
				},
A
Alex Ross 已提交
3627
				"18": {
A
Alex Ross 已提交
3628 3629
					"patterns": [
						{
A
Alex Ross 已提交
3630
							"include": "#attributes_context"
3631 3632
						},
						{
A
Alex Ross 已提交
3633
							"include": "source.cpp#number_literal"
3634 3635 3636
						}
					]
				},
A
Alex Ross 已提交
3637
				"19": {
A
Alex Ross 已提交
3638 3639
					"patterns": [
						{
A
Alex Ross 已提交
3640
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
3641 3642 3643
						}
					]
				},
A
Alex Ross 已提交
3644
				"20": {
A
Alex Ross 已提交
3645 3646
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
3647
				"21": {
A
Alex Ross 已提交
3648 3649
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
3650
				"22": {
3651
					"patterns": [
A
Alex Ross 已提交
3652 3653 3654 3655
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
3656 3657
						{
							"match": "\\*",
A
Alex Ross 已提交
3658 3659 3660 3661
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
3662
				"23": {
A
Alex Ross 已提交
3663 3664
					"patterns": [
						{
A
Alex Ross 已提交
3665
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
3666 3667 3668
						}
					]
				},
A
Alex Ross 已提交
3669
				"24": {
A
Alex Ross 已提交
3670 3671
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
3672
				"25": {
A
Alex Ross 已提交
3673 3674
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
3675
				"26": {
A
Alex Ross 已提交
3676 3677 3678 3679
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
3680 3681
						},
						{
A
Alex Ross 已提交
3682 3683 3684 3685 3686
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
3687
				"27": {
A
Alex Ross 已提交
3688 3689
					"patterns": [
						{
A
Alex Ross 已提交
3690 3691 3692 3693 3694 3695
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
						},
						{
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.type.cpp"
A
Alex Ross 已提交
3696 3697
						},
						{
A
Alex Ross 已提交
3698
							"include": "#template_call_range"
A
Alex Ross 已提交
3699 3700 3701
						}
					]
				},
A
Alex Ross 已提交
3702
				"28": {
A
Alex Ross 已提交
3703 3704
					"patterns": [
						{
A
Alex Ross 已提交
3705
							"include": "#template_call_range"
3706 3707 3708
						}
					]
				},
A
Alex Ross 已提交
3709 3710
				"29": {},
				"30": {
3711 3712
					"patterns": [
						{
A
Alex Ross 已提交
3713
							"include": "source.cpp#inline_comment"
3714 3715 3716
						}
					]
				},
A
Alex Ross 已提交
3717 3718
				"31": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
3719
				},
A
Alex Ross 已提交
3720 3721
				"32": {
					"name": "comment.block.cpp"
3722
				},
A
Alex Ross 已提交
3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733
				"33": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
3734
				},
A
Alex Ross 已提交
3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777
				"34": {},
				"35": {
					"patterns": [
						{
							"match": "\\*",
							"name": "storage.modifier.pointer.cpp"
						},
						{
							"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
							"captures": {
								"1": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"2": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"3": {
									"name": "comment.block.cpp"
								},
								"4": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
							},
							"name": "invalid.illegal.reference-type.cpp"
						},
						{
							"match": "\\&",
							"name": "storage.modifier.reference.cpp"
						}
					]
3778
				},
A
Alex Ross 已提交
3779 3780 3781 3782 3783 3784
				"36": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
3785
				},
A
Alex Ross 已提交
3786 3787
				"37": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
3788
				},
A
Alex Ross 已提交
3789 3790
				"38": {
					"name": "comment.block.cpp"
3791
				},
A
Alex Ross 已提交
3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802
				"39": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
3803
				},
A
Alex Ross 已提交
3804 3805 3806 3807 3808 3809
				"40": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
3810
				},
A
Alex Ross 已提交
3811 3812
				"41": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
3813
				},
A
Alex Ross 已提交
3814 3815
				"42": {
					"name": "comment.block.cpp"
3816
				},
A
Alex Ross 已提交
3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827
				"43": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
3828
				},
A
Alex Ross 已提交
3829 3830 3831 3832 3833 3834
				"44": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
3835
				},
A
Alex Ross 已提交
3836 3837
				"45": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
3838
				},
A
Alex Ross 已提交
3839 3840
				"46": {
					"name": "comment.block.cpp"
3841
				},
A
Alex Ross 已提交
3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852
				"47": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
3853
				},
A
Alex Ross 已提交
3854
				"48": {
3855 3856
					"patterns": [
						{
A
Alex Ross 已提交
3857
							"include": "source.cpp#inline_comment"
3858 3859 3860
						}
					]
				},
A
Alex Ross 已提交
3861
				"49": {
3862 3863
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
3864
				"50": {
3865 3866
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
3867
				"51": {
3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
3879 3880
				"52": {
					"name": "storage.type.modifier.calling-convention.cpp"
3881
				},
A
Alex Ross 已提交
3882
				"53": {
3883 3884
					"patterns": [
						{
A
Alex Ross 已提交
3885
							"include": "source.cpp#inline_comment"
3886 3887 3888
						}
					]
				},
A
Alex Ross 已提交
3889
				"54": {
3890 3891
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
3892
				"55": {
3893 3894
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
3895
				"56": {
3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
3907
				"57": {
3908 3909
					"patterns": [
						{
A
Alex Ross 已提交
3910
							"include": "source.cpp#scope_resolution_function_definition_inner_generated"
3911 3912 3913
						}
					]
				},
A
Alex Ross 已提交
3914 3915 3916 3917
				"58": {
					"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.function.definition.cpp"
				},
				"59": {
3918 3919
					"patterns": [
						{
A
Alex Ross 已提交
3920
							"include": "#template_call_range"
3921 3922 3923
						}
					]
				},
A
Alex Ross 已提交
3924 3925 3926 3927 3928
				"60": {},
				"61": {
					"name": "entity.name.function.definition.cpp"
				},
				"62": {
3929 3930
					"patterns": [
						{
A
Alex Ross 已提交
3931
							"include": "source.cpp#inline_comment"
3932 3933 3934
						}
					]
				},
A
Alex Ross 已提交
3935
				"63": {
3936 3937
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
3938
				"64": {
3939 3940
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
3941
				"65": {
3942 3943 3944 3945 3946 3947 3948 3949 3950 3951
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
3952 3953
				}
			},
A
Alex Ross 已提交
3954 3955
			"endCaptures": {},
			"name": "meta.function.definition.cpp",
3956 3957
			"patterns": [
				{
A
Alex Ross 已提交
3958 3959 3960 3961 3962 3963
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.function.definition.cpp"
3964
						}
A
Alex Ross 已提交
3965 3966
					},
					"name": "meta.head.function.definition.cpp",
3967 3968
					"patterns": [
						{
A
Alex Ross 已提交
3969
							"include": "#ever_present_context"
3970 3971
						},
						{
A
Alex Ross 已提交
3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998
							"begin": "\\(",
							"end": "\\)|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.parameters.begin.bracket.round.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.parameters.end.bracket.round.cpp"
								}
							},
							"contentName": "meta.function.definition.parameters",
							"patterns": [
								{
									"include": "#ever_present_context"
								},
								{
									"include": "#parameter_or_maybe_value"
								},
								{
									"include": "source.cpp#comma"
								},
								{
									"include": "#evaluation_context"
								}
							]
3999 4000
						},
						{
A
Alex Ross 已提交
4001
							"match": "(?<=^|\\))(?:(?:\\s)+)?(->)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<23>?)+>)(?:\\s)*+)?::)*+)?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<23>?)+>)?(?![\\w<:.]))",
4002 4003
							"captures": {
								"1": {
A
Alex Ross 已提交
4004
									"name": "punctuation.definition.function.return-type.cpp"
4005 4006 4007 4008
								},
								"2": {
									"patterns": [
										{
A
Alex Ross 已提交
4009
											"include": "source.cpp#inline_comment"
4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
									"name": "comment.block.cpp"
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
A
Alex Ross 已提交
4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297
								},
								"6": {
									"name": "meta.qualified_type.cpp",
									"patterns": [
										{
											"match": "::",
											"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
										},
										{
											"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
											"name": "storage.type.$0.cpp"
										},
										{
											"include": "#attributes_context"
										},
										{
											"include": "#storage_types"
										},
										{
											"include": "source.cpp#number_literal"
										},
										{
											"include": "#string_context"
										},
										{
											"include": "source.cpp#comma"
										},
										{
											"include": "source.cpp#scope_resolution_inner_generated"
										},
										{
											"begin": "<",
											"end": ">|(?=(?<!\\\\)\n)",
											"beginCaptures": {
												"0": {
													"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
												}
											},
											"endCaptures": {
												"0": {
													"name": "punctuation.section.angle-brackets.end.template.call.cpp"
												}
											},
											"name": "meta.template.call.cpp",
											"patterns": [
												{
													"include": "#template_call_context"
												}
											]
										},
										{
											"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
											"name": "entity.name.type.cpp"
										}
									]
								},
								"7": {
									"patterns": [
										{
											"include": "#attributes_context"
										},
										{
											"include": "source.cpp#number_literal"
										}
									]
								},
								"8": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"9": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"10": {
									"name": "comment.block.cpp"
								},
								"11": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"12": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"13": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"14": {
									"name": "comment.block.cpp"
								},
								"15": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"16": {
									"patterns": [
										{
											"match": "::",
											"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
										},
										{
											"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
											"name": "entity.name.scope-resolution.type.cpp"
										},
										{
											"include": "#template_call_range"
										}
									]
								},
								"17": {
									"patterns": [
										{
											"include": "#template_call_range"
										}
									]
								},
								"18": {},
								"19": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"20": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"21": {
									"name": "comment.block.cpp"
								},
								"22": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"23": {}
							}
						},
						{
							"include": "$self"
						}
					]
				},
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.function.definition.cpp"
						}
					},
					"name": "meta.body.function.definition.cpp",
					"patterns": [
						{
							"include": "#function_body_context"
						}
					]
				},
				{
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.function.definition.cpp",
					"patterns": [
						{
							"include": "$self"
						}
					]
				}
			]
		},
		"function_parameter_context": {
			"patterns": [
				{
					"include": "#ever_present_context"
				},
				{
					"include": "#parameter"
				},
				{
					"include": "source.cpp#comma"
				}
			]
		},
		"function_pointer": {
			"begin": "(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)(?:\\s)*+)?::)*+)?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)?(?![\\w<:.]))(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()(\\*)(?:(?:\\s)+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:(?:\\s)+)?(?:(\\[)(\\w*)(\\])(?:(?:\\s)+)?)*(\\))(?:(?:\\s)+)?(\\()",
			"end": "(\\))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=[{=,);>]|\\n)(?!\\()|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "meta.qualified_type.cpp",
					"patterns": [
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
						},
						{
							"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
							"name": "storage.type.$0.cpp"
						},
						{
							"include": "#attributes_context"
						},
						{
							"include": "#storage_types"
						},
						{
							"include": "source.cpp#number_literal"
						},
						{
							"include": "#string_context"
						},
						{
							"include": "source.cpp#comma"
						},
						{
							"include": "source.cpp#scope_resolution_inner_generated"
						},
						{
							"begin": "<",
							"end": ">|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.end.template.call.cpp"
								}
							},
							"name": "meta.template.call.cpp",
							"patterns": [
								{
									"include": "#template_call_context"
								}
							]
						},
4298 4299 4300 4301 4302 4303
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.type.cpp"
						}
					]
				},
A
Alex Ross 已提交
4304
				"2": {
4305 4306 4307 4308 4309
					"patterns": [
						{
							"include": "#attributes_context"
						},
						{
A
Alex Ross 已提交
4310
							"include": "source.cpp#number_literal"
4311 4312 4313
						}
					]
				},
A
Alex Ross 已提交
4314
				"3": {
4315 4316
					"patterns": [
						{
A
Alex Ross 已提交
4317
							"include": "source.cpp#inline_comment"
4318 4319 4320
						}
					]
				},
A
Alex Ross 已提交
4321
				"4": {
4322 4323
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4324
				"5": {
4325 4326
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4327
				"6": {
4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4339
				"7": {
4340 4341
					"patterns": [
						{
A
Alex Ross 已提交
4342
							"include": "source.cpp#inline_comment"
4343 4344 4345
						}
					]
				},
A
Alex Ross 已提交
4346
				"8": {
4347 4348
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4349
				"9": {
4350 4351
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4352
				"10": {
4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4364
				"11": {
4365 4366
					"patterns": [
						{
A
Alex Ross 已提交
4367 4368 4369 4370 4371 4372 4373
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
						},
						{
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.type.cpp"
						},
4374 4375 4376 4377 4378
						{
							"include": "#template_call_range"
						}
					]
				},
A
Alex Ross 已提交
4379
				"12": {
4380 4381 4382 4383 4384 4385
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
A
Alex Ross 已提交
4386 4387
				"13": {},
				"14": {
4388 4389
					"patterns": [
						{
A
Alex Ross 已提交
4390
							"include": "source.cpp#inline_comment"
4391 4392 4393
						}
					]
				},
A
Alex Ross 已提交
4394
				"15": {
4395 4396
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4397
				"16": {
4398 4399
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4400
				"17": {
4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4412 4413
				"18": {},
				"19": {
A
Alex Ross 已提交
4414 4415 4416 4417 4418 4419
					"patterns": [
						{
							"match": "\\*",
							"name": "storage.modifier.pointer.cpp"
						},
						{
A
Alex Ross 已提交
4420
							"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
A
Alex Ross 已提交
4421 4422 4423 4424
							"captures": {
								"1": {
									"patterns": [
										{
A
Alex Ross 已提交
4425
											"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454
										}
									]
								},
								"2": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"3": {
									"name": "comment.block.cpp"
								},
								"4": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
							},
							"name": "invalid.illegal.reference-type.cpp"
						},
						{
							"match": "\\&",
							"name": "storage.modifier.reference.cpp"
						}
					]
4455
				},
A
Alex Ross 已提交
4456
				"20": {
4457 4458
					"patterns": [
						{
A
Alex Ross 已提交
4459
							"include": "source.cpp#inline_comment"
4460 4461 4462
						}
					]
				},
A
Alex Ross 已提交
4463
				"21": {
4464 4465
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4466
				"22": {
4467 4468
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4469
				"23": {
4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4481
				"24": {
4482 4483
					"patterns": [
						{
A
Alex Ross 已提交
4484
							"include": "source.cpp#inline_comment"
4485 4486 4487
						}
					]
				},
A
Alex Ross 已提交
4488
				"25": {
4489 4490
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4491
				"26": {
4492 4493
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4494
				"27": {
4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4506
				"28": {
A
Alex Ross 已提交
4507 4508
					"patterns": [
						{
A
Alex Ross 已提交
4509
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
4510 4511 4512
						}
					]
				},
A
Alex Ross 已提交
4513
				"29": {
4514
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
A
Alex Ross 已提交
4515
				},
A
Alex Ross 已提交
4516
				"30": {
4517
					"name": "comment.block.cpp"
A
Alex Ross 已提交
4518
				},
A
Alex Ross 已提交
4519
				"31": {
A
Alex Ross 已提交
4520 4521
					"patterns": [
						{
4522 4523 4524 4525 4526 4527 4528 4529
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
4530
				},
A
Alex Ross 已提交
4531 4532
				"32": {
					"name": "punctuation.section.parens.begin.bracket.round.function.pointer.cpp"
4533
				},
A
Alex Ross 已提交
4534 4535
				"33": {
					"name": "punctuation.definition.function.pointer.dereference.cpp"
A
Alex Ross 已提交
4536
				},
A
Alex Ross 已提交
4537 4538
				"34": {
					"name": "variable.other.definition.pointer.function.cpp"
A
Alex Ross 已提交
4539
				},
A
Alex Ross 已提交
4540 4541
				"35": {
					"name": "punctuation.definition.begin.bracket.square.cpp"
4542
				},
A
Alex Ross 已提交
4543
				"36": {
4544 4545
					"patterns": [
						{
A
Alex Ross 已提交
4546
							"include": "#evaluation_context"
4547 4548 4549
						}
					]
				},
A
Alex Ross 已提交
4550 4551
				"37": {
					"name": "punctuation.definition.end.bracket.square.cpp"
4552
				},
A
Alex Ross 已提交
4553 4554
				"38": {
					"name": "punctuation.section.parens.end.bracket.round.function.pointer.cpp"
4555
				},
A
Alex Ross 已提交
4556 4557 4558 4559 4560 4561 4562
				"39": {
					"name": "punctuation.section.parameters.begin.bracket.round.function.pointer.cpp"
				}
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.section.parameters.end.bracket.round.function.pointer.cpp"
4563
				},
A
Alex Ross 已提交
4564
				"2": {
4565 4566
					"patterns": [
						{
A
Alex Ross 已提交
4567
							"include": "source.cpp#inline_comment"
4568 4569 4570
						}
					]
				},
A
Alex Ross 已提交
4571
				"3": {
4572 4573
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4574
				"4": {
4575 4576
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4577
				"5": {
A
Alex Ross 已提交
4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				}
			},
4590 4591
			"patterns": [
				{
A
Alex Ross 已提交
4592
					"include": "#function_parameter_context"
4593 4594 4595
				}
			]
		},
A
Alex Ross 已提交
4596 4597 4598
		"function_pointer_parameter": {
			"begin": "(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)(?:\\s)*+)?::)*+)?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)?(?![\\w<:.]))(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()(\\*)(?:(?:\\s)+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:(?:\\s)+)?(?:(\\[)(\\w*)(\\])(?:(?:\\s)+)?)*(\\))(?:(?:\\s)+)?(\\()",
			"end": "(\\))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=[{=,);>]|\\n)(?!\\()|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
4599 4600
			"beginCaptures": {
				"1": {
4601 4602
					"name": "meta.qualified_type.cpp",
					"patterns": [
A
Alex Ross 已提交
4603
						{
A
Alex Ross 已提交
4604 4605
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
4606 4607
						},
						{
A
Alex Ross 已提交
4608 4609
							"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
							"name": "storage.type.$0.cpp"
4610 4611
						},
						{
A
Alex Ross 已提交
4612
							"include": "#attributes_context"
4613 4614 4615 4616 4617
						},
						{
							"include": "#storage_types"
						},
						{
A
Alex Ross 已提交
4618
							"include": "source.cpp#number_literal"
4619 4620 4621 4622 4623
						},
						{
							"include": "#string_context"
						},
						{
A
Alex Ross 已提交
4624
							"include": "source.cpp#comma"
4625 4626
						},
						{
A
Alex Ross 已提交
4627
							"include": "source.cpp#scope_resolution_inner_generated"
4628 4629
						},
						{
A
Alex Ross 已提交
4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647
							"begin": "<",
							"end": ">|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.end.template.call.cpp"
								}
							},
							"name": "meta.template.call.cpp",
							"patterns": [
								{
									"include": "#template_call_context"
								}
							]
4648 4649 4650 4651 4652 4653 4654
						},
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.type.cpp"
						}
					]
				},
A
Alex Ross 已提交
4655
				"2": {
4656 4657 4658 4659 4660
					"patterns": [
						{
							"include": "#attributes_context"
						},
						{
A
Alex Ross 已提交
4661
							"include": "source.cpp#number_literal"
4662 4663 4664
						}
					]
				},
A
Alex Ross 已提交
4665
				"3": {
4666 4667
					"patterns": [
						{
A
Alex Ross 已提交
4668
							"include": "source.cpp#inline_comment"
4669 4670 4671
						}
					]
				},
A
Alex Ross 已提交
4672
				"4": {
4673 4674
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4675
				"5": {
4676 4677
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4678
				"6": {
4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4690
				"7": {
4691 4692
					"patterns": [
						{
A
Alex Ross 已提交
4693
							"include": "source.cpp#inline_comment"
4694 4695 4696
						}
					]
				},
A
Alex Ross 已提交
4697
				"8": {
4698 4699
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4700
				"9": {
4701 4702
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4703
				"10": {
4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4715
				"11": {
4716 4717
					"patterns": [
						{
A
Alex Ross 已提交
4718 4719 4720 4721 4722 4723 4724
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
						},
						{
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.type.cpp"
						},
4725 4726 4727 4728 4729
						{
							"include": "#template_call_range"
						}
					]
				},
A
Alex Ross 已提交
4730
				"12": {
4731 4732 4733 4734 4735 4736
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
A
Alex Ross 已提交
4737 4738
				"13": {},
				"14": {
4739 4740
					"patterns": [
						{
A
Alex Ross 已提交
4741
							"include": "source.cpp#inline_comment"
4742 4743 4744
						}
					]
				},
A
Alex Ross 已提交
4745
				"15": {
4746 4747
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4748
				"16": {
4749 4750
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4751
				"17": {
4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4763 4764
				"18": {},
				"19": {
4765 4766 4767 4768 4769 4770
					"patterns": [
						{
							"match": "\\*",
							"name": "storage.modifier.pointer.cpp"
						},
						{
A
Alex Ross 已提交
4771
							"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
4772 4773 4774 4775
							"captures": {
								"1": {
									"patterns": [
										{
A
Alex Ross 已提交
4776
											"include": "source.cpp#inline_comment"
4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806
										}
									]
								},
								"2": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"3": {
									"name": "comment.block.cpp"
								},
								"4": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
							},
							"name": "invalid.illegal.reference-type.cpp"
						},
						{
							"match": "\\&",
							"name": "storage.modifier.reference.cpp"
						}
					]
				},
A
Alex Ross 已提交
4807
				"20": {
4808 4809
					"patterns": [
						{
A
Alex Ross 已提交
4810
							"include": "source.cpp#inline_comment"
4811 4812 4813
						}
					]
				},
A
Alex Ross 已提交
4814
				"21": {
4815 4816
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4817
				"22": {
4818 4819
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4820
				"23": {
4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4832
				"24": {
4833 4834
					"patterns": [
						{
A
Alex Ross 已提交
4835
							"include": "source.cpp#inline_comment"
4836 4837 4838
						}
					]
				},
A
Alex Ross 已提交
4839
				"25": {
4840 4841
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4842
				"26": {
4843 4844
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4845
				"27": {
4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4857
				"28": {
4858 4859
					"patterns": [
						{
A
Alex Ross 已提交
4860
							"include": "source.cpp#inline_comment"
4861 4862 4863
						}
					]
				},
A
Alex Ross 已提交
4864
				"29": {
4865 4866
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4867
				"30": {
4868 4869
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4870
				"31": {
4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
4882
				"32": {
A
Alex Ross 已提交
4883
					"name": "punctuation.section.parens.begin.bracket.round.function.pointer.cpp"
4884
				},
A
Alex Ross 已提交
4885
				"33": {
A
Alex Ross 已提交
4886
					"name": "punctuation.definition.function.pointer.dereference.cpp"
4887
				},
A
Alex Ross 已提交
4888 4889
				"34": {
					"name": "variable.parameter.pointer.function.cpp"
4890
				},
A
Alex Ross 已提交
4891
				"35": {
A
Alex Ross 已提交
4892
					"name": "punctuation.definition.begin.bracket.square.cpp"
4893
				},
A
Alex Ross 已提交
4894
				"36": {
4895 4896
					"patterns": [
						{
A
Alex Ross 已提交
4897
							"include": "#evaluation_context"
4898 4899 4900
						}
					]
				},
A
Alex Ross 已提交
4901
				"37": {
A
Alex Ross 已提交
4902
					"name": "punctuation.definition.end.bracket.square.cpp"
4903
				},
A
Alex Ross 已提交
4904
				"38": {
A
Alex Ross 已提交
4905
					"name": "punctuation.section.parens.end.bracket.round.function.pointer.cpp"
4906
				},
A
Alex Ross 已提交
4907
				"39": {
A
Alex Ross 已提交
4908 4909 4910 4911 4912 4913
					"name": "punctuation.section.parameters.begin.bracket.round.function.pointer.cpp"
				}
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.section.parameters.end.bracket.round.function.pointer.cpp"
4914
				},
A
Alex Ross 已提交
4915
				"2": {
4916 4917
					"patterns": [
						{
A
Alex Ross 已提交
4918
							"include": "source.cpp#inline_comment"
4919 4920 4921
						}
					]
				},
A
Alex Ross 已提交
4922
				"3": {
4923 4924
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
4925
				"4": {
4926 4927
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
4928
				"5": {
4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				}
			},
			"patterns": [
				{
A
Alex Ross 已提交
4943 4944 4945 4946
					"include": "#function_parameter_context"
				}
			]
		},
A
Alex Ross 已提交
4947 4948 4949
		"gcc_attributes": {
			"begin": "__attribute(?:__)?\\s*\\(\\s*\\(",
			"end": "\\)\\s*\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
4950
			"beginCaptures": {
A
Alex Ross 已提交
4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963
				"0": {
					"name": "punctuation.section.attribute.begin.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.attribute.end.cpp"
				}
			},
			"name": "support.other.attribute.cpp",
			"patterns": [
				{
					"include": "#attributes_context"
4964
				},
A
Alex Ross 已提交
4965 4966 4967 4968 4969
				{
					"begin": "\\(",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
4970 4971 4972
					"patterns": [
						{
							"include": "#attributes_context"
A
Alex Ross 已提交
4973
						},
4974
						{
A
Alex Ross 已提交
4975
							"include": "#string_context"
4976 4977
						}
					]
4978
				},
A
Alex Ross 已提交
4979 4980 4981 4982 4983
				{
					"match": "(using)(?:\\s)+((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
					"captures": {
						"1": {
							"name": "keyword.other.using.directive.cpp"
4984
						},
A
Alex Ross 已提交
4985 4986
						"2": {
							"name": "entity.name.namespace.cpp"
4987
						}
A
Alex Ross 已提交
4988
					}
4989
				},
A
Alex Ross 已提交
4990 4991 4992
				{
					"match": ",",
					"name": "punctuation.separator.attribute.cpp"
4993
				},
A
Alex Ross 已提交
4994 4995 4996
				{
					"match": ":",
					"name": "punctuation.accessor.attribute.cpp"
4997
				},
A
Alex Ross 已提交
4998 4999 5000
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(?=::)",
					"name": "entity.name.namespace.cpp"
5001
				},
A
Alex Ross 已提交
5002 5003 5004
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
					"name": "entity.other.attribute.$0.cpp"
5005
				},
A
Alex Ross 已提交
5006 5007 5008 5009 5010 5011 5012 5013 5014
				{
					"include": "source.cpp#number_literal"
				}
			]
		},
		"inheritance_context": {
			"patterns": [
				{
					"include": "#ever_present_context"
5015
				},
A
Alex Ross 已提交
5016 5017 5018
				{
					"match": ",",
					"name": "punctuation.separator.delimiter.comma.inheritance.cpp"
5019
				},
A
Alex Ross 已提交
5020 5021 5022
				{
					"match": "(?<!\\w)(?:(?:protected)|(?:private)|(?:public))(?!\\w)",
					"name": "storage.type.modifier.access.$0.cpp"
5023
				},
A
Alex Ross 已提交
5024 5025 5026
				{
					"match": "(?<!\\w)virtual(?!\\w)",
					"name": "storage.type.modifier.virtual.cpp"
5027
				},
A
Alex Ross 已提交
5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253
				{
					"match": "(?<=protected|virtual|private|public|,|:)(?:(?:\\s)+)?(?!(?:(?:(?:protected)|(?:private)|(?:public))|virtual))(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:((?:(?>(?:\\s)+)|\\/\\*(?:[^\\*]|(?:\\*)++[^\\/])*+(?:\\*)++\\/)+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:((?:(?>(?:\\s)+)|\\/\\*(?:[^\\*]|(?:\\*)++[^\\/])*+(?:\\*)++\\/)+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<12>?)+>)(?:\\s)*+)?::)*+)?((?:((?:(?>(?:\\s)+)|\\/\\*(?:[^\\*]|(?:\\*)++[^\\/])*+(?:\\*)++\\/)+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<12>?)+>)?(?![\\w<:.]))",
					"captures": {
						"1": {
							"name": "meta.qualified_type.cpp",
							"patterns": [
								{
									"match": "::",
									"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
								},
								{
									"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
									"name": "storage.type.$0.cpp"
								},
								{
									"include": "#attributes_context"
								},
								{
									"include": "#storage_types"
								},
								{
									"include": "source.cpp#number_literal"
								},
								{
									"include": "#string_context"
								},
								{
									"include": "source.cpp#comma"
								},
								{
									"include": "source.cpp#scope_resolution_inner_generated"
								},
								{
									"begin": "<",
									"end": ">|(?=(?<!\\\\)\n)",
									"beginCaptures": {
										"0": {
											"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
										}
									},
									"endCaptures": {
										"0": {
											"name": "punctuation.section.angle-brackets.end.template.call.cpp"
										}
									},
									"name": "meta.template.call.cpp",
									"patterns": [
										{
											"include": "#template_call_context"
										}
									]
								},
								{
									"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
									"name": "entity.name.type.cpp"
								}
							]
						},
						"2": {
							"patterns": [
								{
									"include": "#attributes_context"
								},
								{
									"include": "source.cpp#number_literal"
								}
							]
						},
						"3": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"4": {
							"patterns": [
								{
									"match": "(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))",
									"captures": {
										"1": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"2": {
											"name": "comment.block.cpp"
										},
										"3": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								}
							]
						},
						"5": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"6": {
							"patterns": [
								{
									"match": "(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))",
									"captures": {
										"1": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"2": {
											"name": "comment.block.cpp"
										},
										"3": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								}
							]
						},
						"7": {
							"patterns": [
								{
									"match": "::",
									"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
								},
								{
									"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
									"name": "entity.name.scope-resolution.type.cpp"
								},
								{
									"include": "#template_call_range"
								}
							]
						},
						"8": {
							"patterns": [
								{
									"include": "#template_call_range"
								}
							]
						},
						"9": {},
						"10": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"11": {
							"patterns": [
								{
									"match": "(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))",
									"captures": {
										"1": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"2": {
											"name": "comment.block.cpp"
										},
										"3": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								}
							]
						},
						"12": {}
					}
				}
			]
		},
		"lambdas": {
			"begin": "(?:(?<=[^\\s]|^)(?<![\\w\\]\\)\\[\\*&\">])|(?<=\\Wreturn|^return))(?:(?:\\s)+)?(\\[(?!\\[| *+\"| *+\\d))((?:[^\\[\\]]|((?<!\\[)\\[(?!\\[)(?:[^\\[\\]]*+\\g<3>?)++\\]))*+)(\\](?!((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))[\\[\\];]))",
			"end": "(?<=[;}])|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "punctuation.definition.capture.begin.lambda.cpp"
				},
				"2": {
					"name": "meta.lambda.capture.cpp",
					"patterns": [
						{
							"include": "source.cpp#the_this_keyword"
						},
						{
							"match": "((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?=\\]|\\z|$)|(,))|(\\=))",
							"captures": {
								"1": {
									"name": "variable.parameter.capture.cpp"
								},
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
A
Alex Ross 已提交
5254
								},
5255
								"4": {
A
Alex Ross 已提交
5256 5257 5258
									"name": "comment.block.cpp"
								},
								"5": {
A
Alex Ross 已提交
5259 5260
									"patterns": [
										{
5261 5262 5263 5264 5265 5266
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
A
Alex Ross 已提交
5267 5268
										}
									]
A
Alex Ross 已提交
5269 5270 5271 5272 5273 5274
								},
								"6": {
									"name": "punctuation.separator.delimiter.comma.cpp"
								},
								"7": {
									"name": "keyword.operator.assignment.cpp"
A
Alex Ross 已提交
5275
								}
A
Alex Ross 已提交
5276
							}
A
Alex Ross 已提交
5277 5278
						},
						{
A
Alex Ross 已提交
5279
							"include": "#evaluation_context"
5280 5281 5282
						}
					]
				},
A
Alex Ross 已提交
5283 5284 5285 5286 5287
				"3": {},
				"4": {
					"name": "punctuation.definition.capture.end.lambda.cpp"
				},
				"5": {
A
Alex Ross 已提交
5288 5289
					"patterns": [
						{
A
Alex Ross 已提交
5290
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
5291 5292 5293
						}
					]
				},
A
Alex Ross 已提交
5294
				"6": {
A
Alex Ross 已提交
5295 5296
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
5297
				"7": {
A
Alex Ross 已提交
5298 5299
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
5300
				"8": {
A
Alex Ross 已提交
5301 5302 5303 5304 5305 5306 5307 5308 5309 5310
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328
				}
			},
			"endCaptures": {},
			"patterns": [
				{
					"begin": "\\(",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.parameters.begin.lambda.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.parameters.end.lambda.cpp"
						}
					},
					"name": "meta.function.definition.parameters.lambda.cpp",
5329 5330
					"patterns": [
						{
A
Alex Ross 已提交
5331
							"include": "#function_parameter_context"
A
Alex Ross 已提交
5332 5333 5334
						}
					]
				},
A
Alex Ross 已提交
5335 5336 5337
				{
					"match": "(?<!\\w)(?:(?:constexpr)|(?:consteval)|(?:mutable))(?!\\w)",
					"name": "storage.modifier.lambda.$0.cpp"
A
Alex Ross 已提交
5338
				},
A
Alex Ross 已提交
5339 5340 5341 5342 5343 5344 5345 5346
				{
					"match": "(->)((?:.+?(?=\\{|$))?)",
					"captures": {
						"1": {
							"name": "punctuation.definition.lambda.return-type.cpp"
						},
						"2": {
							"name": "storage.type.return-type.lambda.cpp"
5347
						}
A
Alex Ross 已提交
5348
					}
5349
				},
A
Alex Ross 已提交
5350 5351 5352 5353 5354 5355
				{
					"begin": "\\{",
					"end": "\\}|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.lambda.cpp"
5356
						}
A
Alex Ross 已提交
5357 5358 5359 5360
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.lambda.cpp"
5361
						}
A
Alex Ross 已提交
5362 5363
					},
					"name": "meta.function.definition.body.lambda.cpp",
5364 5365
					"patterns": [
						{
A
Alex Ross 已提交
5366
							"include": "$self"
5367 5368
						}
					]
A
Alex Ross 已提交
5369
				}
A
Alex Ross 已提交
5370 5371 5372 5373 5374 5375 5376 5377
			]
		},
		"line": {
			"begin": "^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(#)(?:(?:\\s)+)?line\\b",
			"end": "(?<!\\\\)(?=\\n)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "keyword.control.directive.line.cpp"
5378
				},
A
Alex Ross 已提交
5379
				"1": {
5380 5381
					"patterns": [
						{
A
Alex Ross 已提交
5382
							"include": "source.cpp#inline_comment"
5383 5384 5385
						}
					]
				},
A
Alex Ross 已提交
5386
				"2": {
A
Alex Ross 已提交
5387
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
5388
				},
A
Alex Ross 已提交
5389
				"3": {
A
Alex Ross 已提交
5390
					"name": "comment.block.cpp"
5391
				},
A
Alex Ross 已提交
5392
				"4": {
5393
					"patterns": [
A
Alex Ross 已提交
5394 5395 5396 5397
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
5398 5399
						{
							"match": "\\*",
A
Alex Ross 已提交
5400 5401 5402
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
5403 5404 5405
				},
				"5": {
					"name": "punctuation.definition.directive.cpp"
A
Alex Ross 已提交
5406 5407
				}
			},
A
Alex Ross 已提交
5408 5409
			"endCaptures": {},
			"name": "meta.preprocessor.line.cpp",
A
Alex Ross 已提交
5410 5411
			"patterns": [
				{
A
Alex Ross 已提交
5412 5413 5414 5415 5416 5417 5418
					"include": "#string_context"
				},
				{
					"include": "#preprocessor_number_literal"
				},
				{
					"include": "source.cpp#line_continuation_character"
A
Alex Ross 已提交
5419
				}
A
Alex Ross 已提交
5420
			]
A
Alex Ross 已提交
5421
		},
A
Alex Ross 已提交
5422 5423 5424
		"line_comment": {
			"begin": "\\s*+(\\/\\/)",
			"end": "(?<=\\n)(?<!\\\\\\n)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
5425
			"beginCaptures": {
5426
				"1": {
A
Alex Ross 已提交
5427
					"name": "punctuation.definition.comment.cpp"
A
Alex Ross 已提交
5428 5429
				}
			},
A
Alex Ross 已提交
5430 5431
			"endCaptures": {},
			"name": "comment.line.double-slash.cpp",
A
Alex Ross 已提交
5432 5433
			"patterns": [
				{
A
Alex Ross 已提交
5434
					"include": "source.cpp#line_continuation_character"
A
Alex Ross 已提交
5435
				}
A
Alex Ross 已提交
5436
			]
A
Alex Ross 已提交
5437
		},
A
Alex Ross 已提交
5438 5439 5440 5441
		"macro": {
			"begin": "(^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(#)(?:(?:\\s)+)?define\\b)(?:(?:\\s)+)?((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
			"end": "(?<!\\\\)(?=\\n)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
A
Alex Ross 已提交
5442
				"1": {
A
Alex Ross 已提交
5443
					"name": "keyword.control.directive.define.cpp"
A
Alex Ross 已提交
5444 5445
				},
				"2": {
5446 5447
					"patterns": [
						{
A
Alex Ross 已提交
5448
							"include": "source.cpp#inline_comment"
5449 5450 5451
						}
					]
				},
A
Alex Ross 已提交
5452
				"3": {
5453 5454
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
5455
				"4": {
5456 5457
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
5458
				"5": {
5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
5470
				"6": {
A
Alex Ross 已提交
5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515
					"name": "punctuation.definition.directive.cpp"
				},
				"7": {
					"name": "entity.name.function.preprocessor.cpp"
				}
			},
			"endCaptures": {},
			"name": "meta.preprocessor.macro.cpp",
			"patterns": [
				{
					"match": "\\G(?:(?:\\s)+)?(\\()([^\\(]*)(\\))",
					"captures": {
						"1": {
							"name": "punctuation.definition.parameters.begin.preprocessor.cpp"
						},
						"2": {
							"patterns": [
								{
									"match": "(?<=[(,])(?:(?:\\s)+)?((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)(?:(?:\\s)+)?",
									"captures": {
										"1": {
											"name": "variable.parameter.preprocessor.cpp"
										}
									}
								},
								{
									"match": ",",
									"name": "punctuation.separator.parameters.cpp"
								},
								{
									"match": "\\.\\.\\.",
									"name": "punctuation.vararg-ellipses.variable.parameter.preprocessor.cpp"
								}
							]
						},
						"3": {
							"name": "punctuation.definition.parameters.end.preprocessor.cpp"
						}
					}
				},
				{
					"include": "#macro_context"
				},
				{
					"include": "source.cpp#macro_argument"
A
Alex Ross 已提交
5516
				}
A
Alex Ross 已提交
5517 5518 5519 5520 5521 5522 5523 5524
			]
		},
		"macro_context": {
			"patterns": [
				{
					"include": "source.cpp.embedded.macro"
				}
			]
A
Alex Ross 已提交
5525
		},
A
Alex Ross 已提交
5526 5527 5528 5529
		"method_access": {
			"begin": "(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)this(?!\\w))|((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*|(?<=\\]|\\)))(?:(?:\\s)+)?))(?:((?:\\.\\*|\\.))|((?:->\\*|->)))((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?:(?:\\s)+)?(?:(?:\\.\\*|\\.)|(?:->\\*|->))(?:(?:\\s)+)?)*)(?:(?:\\s)+)?(~?(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)(?:(?:\\s)+)?(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
A
Alex Ross 已提交
5530 5531
				"1": {
					"patterns": [
A
Alex Ross 已提交
5532
						{
A
Alex Ross 已提交
5533
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
5534 5535
						}
					]
A
Alex Ross 已提交
5536
				},
A
Alex Ross 已提交
5537
				"2": {
5538 5539 5540 5541 5542 5543
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"3": {
					"name": "comment.block.cpp"
				},
				"4": {
A
Alex Ross 已提交
5544 5545
					"patterns": [
						{
5546 5547
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
A
Alex Ross 已提交
5548 5549
						},
						{
5550 5551
							"match": "\\*",
							"name": "comment.block.cpp"
A
Alex Ross 已提交
5552 5553
						}
					]
A
Alex Ross 已提交
5554
				},
5555
				"5": {
A
Alex Ross 已提交
5556
					"name": "variable.language.this.cpp"
5557 5558
				},
				"6": {
A
Alex Ross 已提交
5559 5560 5561 5562
					"name": "variable.other.object.access.cpp"
				},
				"7": {
					"name": "punctuation.separator.dot-access.cpp"
5563 5564
				},
				"8": {
A
Alex Ross 已提交
5565
					"name": "punctuation.separator.pointer-access.cpp"
5566 5567
				},
				"9": {
5568 5569
					"patterns": [
						{
A
Alex Ross 已提交
5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609
							"match": "(?<=(?:\\.\\*|\\.|->|->\\*))(?:(?:\\s)+)?(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)this(?!\\w))|((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*|(?<=\\]|\\)))(?:(?:\\s)+)?))(?:((?:\\.\\*|\\.))|((?:->\\*|->)))",
							"captures": {
								"1": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"2": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"3": {
									"name": "comment.block.cpp"
								},
								"4": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"5": {
									"name": "variable.language.this.cpp"
								},
								"6": {
									"name": "variable.other.object.property.cpp"
								},
								"7": {
									"name": "punctuation.separator.dot-access.cpp"
								},
								"8": {
									"name": "punctuation.separator.pointer-access.cpp"
								}
							}
5610 5611
						},
						{
A
Alex Ross 已提交
5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657
							"match": "(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)this(?!\\w))|((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*|(?<=\\]|\\)))(?:(?:\\s)+)?))(?:((?:\\.\\*|\\.))|((?:->\\*|->)))",
							"captures": {
								"1": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"2": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"3": {
									"name": "comment.block.cpp"
								},
								"4": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"5": {
									"name": "variable.language.this.cpp"
								},
								"6": {
									"name": "variable.other.object.access.cpp"
								},
								"7": {
									"name": "punctuation.separator.dot-access.cpp"
								},
								"8": {
									"name": "punctuation.separator.pointer-access.cpp"
								}
							}
						},
						{
							"include": "source.cpp#member_access"
						},
						{
							"include": "#method_access"
5658 5659 5660
						}
					]
				},
A
Alex Ross 已提交
5661 5662
				"10": {
					"name": "entity.name.function.member.cpp"
5663
				},
A
Alex Ross 已提交
5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701
				"11": {
					"name": "punctuation.section.arguments.begin.bracket.round.function.member.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.function.member.cpp"
				}
			},
			"patterns": [
				{
					"include": "#evaluation_context"
				}
			]
		},
		"ms_attributes": {
			"begin": "__declspec\\(",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "punctuation.section.attribute.begin.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.attribute.end.cpp"
				}
			},
			"name": "support.other.attribute.cpp",
			"patterns": [
				{
					"include": "#attributes_context"
				},
				{
					"begin": "\\(",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
5702 5703
					"patterns": [
						{
A
Alex Ross 已提交
5704 5705 5706 5707
							"include": "#attributes_context"
						},
						{
							"include": "#string_context"
5708 5709 5710
						}
					]
				},
A
Alex Ross 已提交
5711 5712 5713 5714 5715 5716 5717 5718 5719 5720
				{
					"match": "(using)(?:\\s)+((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
					"captures": {
						"1": {
							"name": "keyword.other.using.directive.cpp"
						},
						"2": {
							"name": "entity.name.namespace.cpp"
						}
					}
5721
				},
A
Alex Ross 已提交
5722 5723 5724
				{
					"match": ",",
					"name": "punctuation.separator.attribute.cpp"
5725
				},
A
Alex Ross 已提交
5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766
				{
					"match": ":",
					"name": "punctuation.accessor.attribute.cpp"
				},
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(?=::)",
					"name": "entity.name.namespace.cpp"
				},
				{
					"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
					"name": "entity.other.attribute.$0.cpp"
				},
				{
					"include": "source.cpp#number_literal"
				}
			]
		},
		"namespace_block": {
			"begin": "((?<!\\w)namespace(?!\\w))",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.namespace.cpp"
				},
				"1": {
					"name": "keyword.other.namespace.definition.cpp storage.type.namespace.definition.cpp"
				}
			},
			"endCaptures": {},
			"name": "meta.block.namespace.cpp",
			"patterns": [
				{
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.namespace.cpp"
						}
					},
					"name": "meta.head.namespace.cpp",
5767 5768
					"patterns": [
						{
A
Alex Ross 已提交
5769
							"include": "#ever_present_context"
5770 5771
						},
						{
A
Alex Ross 已提交
5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804
							"include": "#attributes_context"
						},
						{
							"match": "((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<4>?)+>)(?:\\s)*+)?::)*\\s*+)(?:(?:\\s)+)?((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))(?:(?:\\s)+)?(?:(::)(?:(?:\\s)+)?(inline))?",
							"captures": {
								"1": {
									"patterns": [
										{
											"include": "source.cpp#scope_resolution_namespace_block_inner_generated"
										}
									]
								},
								"2": {
									"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.block.cpp"
								},
								"3": {
									"patterns": [
										{
											"include": "#template_call_range"
										}
									]
								},
								"4": {},
								"5": {
									"name": "entity.name.namespace.cpp"
								},
								"6": {
									"name": "punctuation.separator.scope-resolution.namespace.block.cpp"
								},
								"7": {
									"name": "storage.modifier.inline.cpp"
								}
							}
5805 5806 5807
						}
					]
				},
A
Alex Ross 已提交
5808 5809 5810 5811 5812 5813 5814 5815 5816 5817
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.namespace.cpp"
						}
					},
					"name": "meta.body.namespace.cpp",
5818 5819
					"patterns": [
						{
A
Alex Ross 已提交
5820
							"include": "$self"
5821 5822 5823
						}
					]
				},
A
Alex Ross 已提交
5824 5825 5826 5827 5828 5829
				{
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.namespace.cpp",
5830 5831
					"patterns": [
						{
A
Alex Ross 已提交
5832
							"include": "$self"
5833 5834
						}
					]
A
Alex Ross 已提交
5835 5836 5837 5838 5839 5840 5841 5842 5843
				}
			]
		},
		"noexcept_operator": {
			"begin": "((?<!\\w)noexcept(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.operator.functionlike.cpp keyword.operator.noexcept.cpp"
5844
				},
A
Alex Ross 已提交
5845
				"2": {
5846 5847
					"patterns": [
						{
A
Alex Ross 已提交
5848
							"include": "source.cpp#inline_comment"
5849 5850 5851
						}
					]
				},
A
Alex Ross 已提交
5852
				"3": {
5853 5854
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
5855
				"4": {
5856 5857
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
5858
				"5": {
5859 5860 5861 5862 5863 5864 5865 5866 5867 5868
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
5869 5870 5871 5872
				},
				"6": {
					"name": "punctuation.section.arguments.begin.bracket.round.operator.noexcept.cpp"
				}
5873
			},
A
Alex Ross 已提交
5874 5875 5876 5877 5878 5879
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.operator.noexcept.cpp"
				}
			},
			"contentName": "meta.arguments.operator.noexcept",
5880 5881
			"patterns": [
				{
A
Alex Ross 已提交
5882 5883 5884 5885 5886 5887 5888 5889 5890 5891
					"include": "#evaluation_context"
				}
			]
		},
		"operator_overload": {
			"begin": "(?:(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<55>?)+>)(?:\\s)*+)?::)*+)?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<55>?)+>)?(?![\\w<:.]))(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:__cdecl|__clrcall|__stdcall|__fastcall|__thiscall|__vectorcall)?)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<55>?)+>)(?:\\s)*+)?::)*+)(operator)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<55>?)+>)(?:\\s)*+)?::)*+)(?:(?:((?:(?:delete\\[\\])|(?:delete)|(?:new\\[\\])|(?:<=>)|(?:<<=)|(?:new)|(?:>>=)|(?:\\->\\*)|(?:\\/=)|(?:%=)|(?:&=)|(?:>=)|(?:\\|=)|(?:\\+\\+)|(?:\\-\\-)|(?:\\(\\))|(?:\\[\\])|(?:\\->)|(?:\\+\\+)|(?:<<)|(?:>>)|(?:\\-\\-)|(?:<=)|(?:\\^=)|(?:==)|(?:!=)|(?:&&)|(?:\\|\\|)|(?:\\+=)|(?:\\-=)|(?:\\*=)|,|(?:\\+)|(?:\\-)|!|~|(?:\\*)|&|(?:\\*)|(?:\\/)|%|(?:\\+)|(?:\\-)|<|>|&|(?:\\^)|(?:\\|)|=))|((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:\\[\\])?)))|(\"\")((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=\\<|\\()",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.function.definition.special.operator-overload.cpp"
5892
				},
A
Alex Ross 已提交
5893 5894 5895 5896 5897 5898
				"1": {
					"name": "meta.qualified_type.cpp",
					"patterns": [
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
5899
						},
A
Alex Ross 已提交
5900 5901 5902
						{
							"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
							"name": "storage.type.$0.cpp"
5903
						},
A
Alex Ross 已提交
5904 5905
						{
							"include": "#attributes_context"
5906
						},
A
Alex Ross 已提交
5907 5908
						{
							"include": "#storage_types"
5909
						},
A
Alex Ross 已提交
5910 5911
						{
							"include": "source.cpp#number_literal"
5912
						},
A
Alex Ross 已提交
5913 5914
						{
							"include": "#string_context"
5915
						},
A
Alex Ross 已提交
5916 5917
						{
							"include": "source.cpp#comma"
5918
						},
A
Alex Ross 已提交
5919 5920
						{
							"include": "source.cpp#scope_resolution_inner_generated"
5921
						},
A
Alex Ross 已提交
5922 5923 5924 5925 5926 5927
						{
							"begin": "<",
							"end": ">|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
5928
								}
A
Alex Ross 已提交
5929 5930 5931 5932
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.angle-brackets.end.template.call.cpp"
5933
								}
A
Alex Ross 已提交
5934
							},
5935 5936 5937
							"name": "meta.template.call.cpp",
							"patterns": [
								{
A
Alex Ross 已提交
5938
									"include": "#template_call_context"
5939 5940 5941
								}
							]
						},
A
Alex Ross 已提交
5942 5943
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
5944
							"name": "entity.name.type.cpp"
5945
						}
A
Alex Ross 已提交
5946
					]
5947
				},
5948
				"2": {
A
Alex Ross 已提交
5949 5950
					"patterns": [
						{
A
Alex Ross 已提交
5951
							"include": "#attributes_context"
A
Alex Ross 已提交
5952 5953
						},
						{
A
Alex Ross 已提交
5954
							"include": "source.cpp#number_literal"
A
Alex Ross 已提交
5955 5956
						}
					]
A
Alex Ross 已提交
5957 5958
				},
				"3": {
5959 5960
					"patterns": [
						{
A
Alex Ross 已提交
5961
							"include": "source.cpp#inline_comment"
5962 5963 5964
						}
					]
				},
A
Alex Ross 已提交
5965
				"4": {
5966 5967
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
5968
				"5": {
5969 5970
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
5971
				"6": {
5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
5983
				"7": {
A
Alex Ross 已提交
5984 5985
					"patterns": [
						{
A
Alex Ross 已提交
5986
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
5987 5988 5989
						}
					]
				},
A
Alex Ross 已提交
5990
				"8": {
A
Alex Ross 已提交
5991 5992
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
5993
				"9": {
A
Alex Ross 已提交
5994 5995
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
5996
				"10": {
5997 5998
					"patterns": [
						{
A
Alex Ross 已提交
5999 6000
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
6001 6002
						},
						{
A
Alex Ross 已提交
6003 6004 6005 6006 6007
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
6008
				"11": {
A
Alex Ross 已提交
6009
					"patterns": [
6010
						{
A
Alex Ross 已提交
6011 6012
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
6013 6014
						},
						{
A
Alex Ross 已提交
6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.type.cpp"
						},
						{
							"include": "#template_call_range"
						}
					]
				},
				"12": {
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
				"13": {},
				"14": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"15": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"16": {
					"name": "comment.block.cpp"
				},
				"17": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"18": {},
				"19": {
					"patterns": [
						{
							"match": "\\*",
							"name": "storage.modifier.pointer.cpp"
						},
						{
							"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
							"captures": {
								"1": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"2": {
A
Alex Ross 已提交
6074 6075
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
A
Alex Ross 已提交
6076
								"3": {
A
Alex Ross 已提交
6077 6078
									"name": "comment.block.cpp"
								},
A
Alex Ross 已提交
6079
								"4": {
A
Alex Ross 已提交
6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
A
Alex Ross 已提交
6091 6092
							},
							"name": "invalid.illegal.reference-type.cpp"
A
Alex Ross 已提交
6093 6094
						},
						{
A
Alex Ross 已提交
6095 6096
							"match": "\\&",
							"name": "storage.modifier.reference.cpp"
6097 6098 6099
						}
					]
				},
A
Alex Ross 已提交
6100
				"20": {
6101 6102
					"patterns": [
						{
A
Alex Ross 已提交
6103
							"include": "source.cpp#inline_comment"
6104 6105 6106
						}
					]
				},
A
Alex Ross 已提交
6107 6108
				"21": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
6109
				},
A
Alex Ross 已提交
6110 6111
				"22": {
					"name": "comment.block.cpp"
6112
				},
A
Alex Ross 已提交
6113
				"23": {
6114 6115
					"patterns": [
						{
A
Alex Ross 已提交
6116 6117 6118 6119 6120 6121
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
6122 6123 6124
						}
					]
				},
A
Alex Ross 已提交
6125
				"24": {
6126 6127
					"patterns": [
						{
A
Alex Ross 已提交
6128
							"include": "source.cpp#inline_comment"
6129 6130 6131
						}
					]
				},
A
Alex Ross 已提交
6132
				"25": {
6133 6134
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
6135
				"26": {
6136 6137
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
6138
				"27": {
6139 6140 6141 6142 6143 6144 6145 6146 6147 6148
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
6149
				},
A
Alex Ross 已提交
6150
				"28": {
A
Alex Ross 已提交
6151 6152
					"patterns": [
						{
A
Alex Ross 已提交
6153
							"include": "source.cpp#inline_comment"
6154
						}
A
Alex Ross 已提交
6155 6156
					]
				},
A
Alex Ross 已提交
6157
				"29": {
A
Alex Ross 已提交
6158 6159
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
6160
				"30": {
A
Alex Ross 已提交
6161 6162
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
6163
				"31": {
6164 6165
					"patterns": [
						{
A
Alex Ross 已提交
6166 6167
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
6168 6169
						},
						{
A
Alex Ross 已提交
6170 6171
							"match": "\\*",
							"name": "comment.block.cpp"
6172 6173 6174
						}
					]
				},
A
Alex Ross 已提交
6175
				"32": {
6176 6177
					"patterns": [
						{
A
Alex Ross 已提交
6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"33": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"34": {
					"name": "comment.block.cpp"
				},
				"35": {
					"patterns": [
6190
						{
A
Alex Ross 已提交
6191 6192
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
6193 6194
						},
						{
A
Alex Ross 已提交
6195 6196
							"match": "\\*",
							"name": "comment.block.cpp"
6197 6198 6199
						}
					]
				},
A
Alex Ross 已提交
6200 6201
				"36": {
					"name": "storage.type.modifier.calling-convention.cpp"
6202
				},
A
Alex Ross 已提交
6203
				"37": {
6204 6205
					"patterns": [
						{
A
Alex Ross 已提交
6206
							"include": "source.cpp#inline_comment"
6207 6208 6209
						}
					]
				},
A
Alex Ross 已提交
6210
				"38": {
6211 6212
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
6213
				"39": {
6214 6215
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
6216
				"40": {
6217 6218 6219 6220 6221 6222 6223 6224 6225 6226
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
6227
				},
A
Alex Ross 已提交
6228 6229 6230 6231 6232 6233
				"41": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
6234
				},
A
Alex Ross 已提交
6235 6236
				"42": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
6237
				},
A
Alex Ross 已提交
6238 6239
				"43": {
					"name": "comment.block.cpp"
6240
				},
A
Alex Ross 已提交
6241
				"44": {
6242 6243
					"patterns": [
						{
A
Alex Ross 已提交
6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"45": {
					"patterns": [
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.operator.cpp"
						},
						{
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.operator.cpp"
						},
						{
							"include": "#template_call_range"
						}
					]
				},
				"46": {
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
				"47": {},
				"48": {
					"name": "keyword.other.operator.overload.cpp"
				},
				"49": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"50": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"51": {
					"name": "comment.block.cpp"
				},
				"52": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"53": {
					"patterns": [
						{
							"match": "::",
							"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.operator-overload.cpp"
						},
						{
							"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
							"name": "entity.name.scope-resolution.operator-overload.cpp"
						},
						{
							"include": "#template_call_range"
						}
					]
				},
				"54": {
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
				"55": {},
				"56": {
					"name": "entity.name.operator.cpp"
				},
				"57": {
					"name": "entity.name.operator.type.cpp"
				},
				"58": {
					"patterns": [
						{
							"match": "\\*",
							"name": "entity.name.operator.type.pointer.cpp"
A
Alex Ross 已提交
6338
						},
6339
						{
A
Alex Ross 已提交
6340
							"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
6341 6342 6343 6344
							"captures": {
								"1": {
									"patterns": [
										{
A
Alex Ross 已提交
6345
											"include": "source.cpp#inline_comment"
6346 6347
										}
									]
A
Alex Ross 已提交
6348
								},
6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365
								"2": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"3": {
									"name": "comment.block.cpp"
								},
								"4": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
A
Alex Ross 已提交
6366
								}
A
Alex Ross 已提交
6367 6368
							},
							"name": "invalid.illegal.reference-type.cpp"
6369 6370
						},
						{
A
Alex Ross 已提交
6371 6372
							"match": "\\&",
							"name": "entity.name.operator.type.reference.cpp"
6373 6374 6375
						}
					]
				},
A
Alex Ross 已提交
6376
				"59": {
6377 6378
					"patterns": [
						{
A
Alex Ross 已提交
6379
							"include": "source.cpp#inline_comment"
6380 6381 6382
						}
					]
				},
A
Alex Ross 已提交
6383
				"60": {
6384 6385
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
6386
				"61": {
6387 6388
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
6389
				"62": {
6390 6391
					"patterns": [
						{
6392 6393
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
6394 6395
						},
						{
6396 6397
							"match": "\\*",
							"name": "comment.block.cpp"
6398 6399 6400
						}
					]
				},
A
Alex Ross 已提交
6401 6402 6403 6404 6405 6406
				"63": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
6407
				},
A
Alex Ross 已提交
6408 6409
				"64": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
6410
				},
A
Alex Ross 已提交
6411 6412
				"65": {
					"name": "comment.block.cpp"
6413
				},
A
Alex Ross 已提交
6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424
				"66": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
6425
				},
A
Alex Ross 已提交
6426
				"67": {
6427 6428
					"patterns": [
						{
A
Alex Ross 已提交
6429
							"include": "source.cpp#inline_comment"
6430 6431 6432
						}
					]
				},
A
Alex Ross 已提交
6433
				"68": {
6434 6435
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
6436
				"69": {
6437 6438
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
6439
				"70": {
6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
6451 6452
				"71": {
					"name": "entity.name.operator.type.array.cpp"
6453
				},
A
Alex Ross 已提交
6454 6455
				"72": {
					"name": "entity.name.operator.custom-literal.cpp"
6456
				},
A
Alex Ross 已提交
6457 6458 6459 6460 6461 6462
				"73": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
6463
				},
A
Alex Ross 已提交
6464 6465
				"74": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
6466
				},
A
Alex Ross 已提交
6467 6468 6469 6470
				"75": {
					"name": "comment.block.cpp"
				},
				"76": {
6471 6472 6473 6474 6475 6476 6477 6478
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
6479
						}
6480 6481
					]
				},
A
Alex Ross 已提交
6482 6483
				"77": {
					"name": "entity.name.operator.custom-literal.cpp"
6484
				},
A
Alex Ross 已提交
6485
				"78": {
6486 6487
					"patterns": [
						{
A
Alex Ross 已提交
6488
							"include": "source.cpp#inline_comment"
6489 6490 6491
						}
					]
				},
A
Alex Ross 已提交
6492
				"79": {
6493
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
6494
				},
A
Alex Ross 已提交
6495
				"80": {
6496 6497
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
6498
				"81": {
6499 6500 6501 6502
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
A
Alex Ross 已提交
6503
						},
6504 6505
						{
							"match": "\\*",
A
Alex Ross 已提交
6506 6507
							"name": "comment.block.cpp"
						}
6508
					]
A
Alex Ross 已提交
6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520
				}
			},
			"endCaptures": {},
			"name": "meta.function.definition.special.operator-overload.cpp",
			"patterns": [
				{
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.function.definition.special.operator-overload.cpp"
A
Alex Ross 已提交
6521
						}
A
Alex Ross 已提交
6522 6523
					},
					"name": "meta.head.function.definition.special.operator-overload.cpp",
6524 6525
					"patterns": [
						{
A
Alex Ross 已提交
6526
							"include": "#ever_present_context"
6527 6528
						},
						{
A
Alex Ross 已提交
6529
							"include": "#template_call_range"
A
Alex Ross 已提交
6530
						},
6531
						{
A
Alex Ross 已提交
6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553
							"begin": "\\(",
							"end": "\\)|(?=(?<!\\\\)\n)",
							"beginCaptures": {
								"0": {
									"name": "punctuation.section.parameters.begin.bracket.round.special.operator-overload.cpp"
								}
							},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.parameters.end.bracket.round.special.operator-overload.cpp"
								}
							},
							"contentName": "meta.function.definition.parameters.special.operator-overload",
							"patterns": [
								{
									"include": "#function_parameter_context"
								},
								{
									"include": "#evaluation_context"
								}
							]
						},
6554
						{
A
Alex Ross 已提交
6555
							"include": "source.cpp#qualifiers_and_specifiers_post_parameters"
A
Alex Ross 已提交
6556
						},
6557
						{
A
Alex Ross 已提交
6558
							"include": "$self"
A
Alex Ross 已提交
6559
						}
6560 6561
					]
				},
A
Alex Ross 已提交
6562 6563 6564 6565 6566 6567 6568 6569 6570 6571
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.function.definition.special.operator-overload.cpp"
						}
					},
					"name": "meta.body.function.definition.special.operator-overload.cpp",
A
Alex Ross 已提交
6572 6573
					"patterns": [
						{
A
Alex Ross 已提交
6574
							"include": "#function_body_context"
A
Alex Ross 已提交
6575 6576 6577
						}
					]
				},
A
Alex Ross 已提交
6578 6579 6580 6581 6582 6583
				{
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.function.definition.special.operator-overload.cpp",
A
Alex Ross 已提交
6584 6585
					"patterns": [
						{
A
Alex Ross 已提交
6586
							"include": "$self"
A
Alex Ross 已提交
6587 6588
						}
					]
6589
				}
A
Alex Ross 已提交
6590
			]
6591
		},
A
Alex Ross 已提交
6592
		"operators": {
A
Alex Ross 已提交
6593 6594
			"patterns": [
				{
A
Alex Ross 已提交
6595
					"begin": "((?<!\\w)sizeof(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
6596
					"end": "\\)|(?=(?<!\\\\)\n)",
A
Alex Ross 已提交
6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624
					"beginCaptures": {
						"1": {
							"name": "keyword.operator.functionlike.cpp keyword.operator.sizeof.cpp"
						},
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
							"name": "comment.block.cpp"
						},
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
6625
						},
A
Alex Ross 已提交
6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636
						"6": {
							"name": "punctuation.section.arguments.begin.bracket.round.operator.sizeof.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.arguments.end.bracket.round.operator.sizeof.cpp"
						}
					},
					"contentName": "meta.arguments.operator.sizeof",
					"patterns": [
6637
						{
A
Alex Ross 已提交
6638
							"include": "#evaluation_context"
6639 6640
						}
					]
A
Alex Ross 已提交
6641 6642
				},
				{
A
Alex Ross 已提交
6643 6644 6645
					"begin": "((?<!\\w)alignof(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {
A
Alex Ross 已提交
6646
						"1": {
A
Alex Ross 已提交
6647
							"name": "keyword.operator.functionlike.cpp keyword.operator.alignof.cpp"
A
Alex Ross 已提交
6648
						},
A
Alex Ross 已提交
6649
						"2": {
A
Alex Ross 已提交
6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
							"name": "comment.block.cpp"
						},
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"6": {
							"name": "punctuation.section.arguments.begin.bracket.round.operator.alignof.cpp"
6676
						}
A
Alex Ross 已提交
6677 6678 6679 6680
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.arguments.end.bracket.round.operator.alignof.cpp"
A
Alex Ross 已提交
6681
						}
A
Alex Ross 已提交
6682 6683
					},
					"contentName": "meta.arguments.operator.alignof",
A
Alex Ross 已提交
6684 6685
					"patterns": [
						{
A
Alex Ross 已提交
6686
							"include": "#evaluation_context"
A
Alex Ross 已提交
6687 6688
						}
					]
A
Alex Ross 已提交
6689 6690
				},
				{
A
Alex Ross 已提交
6691 6692 6693
					"begin": "((?<!\\w)alignas(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {
A
Alex Ross 已提交
6694
						"1": {
A
Alex Ross 已提交
6695
							"name": "keyword.operator.functionlike.cpp keyword.operator.alignas.cpp"
A
Alex Ross 已提交
6696
						},
A
Alex Ross 已提交
6697 6698 6699 6700 6701 6702
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
A
Alex Ross 已提交
6703
						},
A
Alex Ross 已提交
6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
							"name": "comment.block.cpp"
						},
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
6715
								},
A
Alex Ross 已提交
6716 6717 6718
								{
									"match": "\\*",
									"name": "comment.block.cpp"
A
Alex Ross 已提交
6719
								}
A
Alex Ross 已提交
6720 6721 6722 6723
							]
						},
						"6": {
							"name": "punctuation.section.arguments.begin.bracket.round.operator.alignas.cpp"
6724
						}
A
Alex Ross 已提交
6725
					},
6726
					"endCaptures": {
A
Alex Ross 已提交
6727 6728
						"0": {
							"name": "punctuation.section.arguments.end.bracket.round.operator.alignas.cpp"
6729 6730
						}
					},
A
Alex Ross 已提交
6731
					"contentName": "meta.arguments.operator.alignas",
6732 6733
					"patterns": [
						{
A
Alex Ross 已提交
6734
							"include": "#evaluation_context"
6735 6736
						}
					]
A
Alex Ross 已提交
6737 6738
				},
				{
A
Alex Ross 已提交
6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779
					"begin": "((?<!\\w)typeid(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"1": {
							"name": "keyword.operator.functionlike.cpp keyword.operator.typeid.cpp"
						},
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
							"name": "comment.block.cpp"
						},
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"6": {
							"name": "punctuation.section.arguments.begin.bracket.round.operator.typeid.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.arguments.end.bracket.round.operator.typeid.cpp"
						}
					},
					"contentName": "meta.arguments.operator.typeid",
6780 6781
					"patterns": [
						{
A
Alex Ross 已提交
6782
							"include": "#evaluation_context"
6783 6784 6785
						}
					]
				},
A
Alex Ross 已提交
6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827
				{
					"begin": "((?<!\\w)noexcept(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"1": {
							"name": "keyword.operator.functionlike.cpp keyword.operator.noexcept.cpp"
						},
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
							"name": "comment.block.cpp"
						},
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"6": {
							"name": "punctuation.section.arguments.begin.bracket.round.operator.noexcept.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.arguments.end.bracket.round.operator.noexcept.cpp"
						}
					},
					"contentName": "meta.arguments.operator.noexcept",
A
Alex Ross 已提交
6828
					"patterns": [
6829
						{
A
Alex Ross 已提交
6830
							"include": "#evaluation_context"
A
Alex Ross 已提交
6831 6832 6833
						}
					]
				},
A
Alex Ross 已提交
6834 6835 6836 6837 6838 6839
				{
					"begin": "(\\bsizeof\\.\\.\\.)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
					"end": "\\)|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"1": {
							"name": "keyword.operator.functionlike.cpp keyword.operator.sizeof.variadic.cpp"
6840
						},
A
Alex Ross 已提交
6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
A
Alex Ross 已提交
6852
							"name": "comment.block.cpp"
A
Alex Ross 已提交
6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878
						},
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"6": {
							"name": "punctuation.section.arguments.begin.bracket.round.operator.sizeof.variadic.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.arguments.end.bracket.round.operator.sizeof.variadic.cpp"
						}
					},
					"contentName": "meta.arguments.operator.sizeof.variadic",
					"patterns": [
						{
							"include": "#evaluation_context"
A
Alex Ross 已提交
6879 6880 6881 6882
						}
					]
				},
				{
A
Alex Ross 已提交
6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922
					"match": "--",
					"name": "keyword.operator.decrement.cpp"
				},
				{
					"match": "\\+\\+",
					"name": "keyword.operator.increment.cpp"
				},
				{
					"match": "%=|\\+=|-=|\\*=|(?<!\\()\\/=",
					"name": "keyword.operator.assignment.compound.cpp"
				},
				{
					"match": "&=|\\^=|<<=|>>=|\\|=",
					"name": "keyword.operator.assignment.compound.bitwise.cpp"
				},
				{
					"match": "<<|>>",
					"name": "keyword.operator.bitwise.shift.cpp"
				},
				{
					"match": "!=|<=|>=|==|<|>",
					"name": "keyword.operator.comparison.cpp"
				},
				{
					"match": "&&|!|\\|\\|",
					"name": "keyword.operator.logical.cpp"
				},
				{
					"match": "&|\\||\\^|~",
					"name": "keyword.operator.cpp"
				},
				{
					"include": "source.cpp#assignment_operator"
				},
				{
					"match": "%|\\*|\\/|-|\\+",
					"name": "keyword.operator.cpp"
				},
				{
					"include": "#ternary_operator"
A
Alex Ross 已提交
6923 6924 6925
				}
			]
		},
A
Alex Ross 已提交
6926 6927 6928 6929
		"parameter": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=\\w)",
			"end": "(?:(?=\\))|(,))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
A
Alex Ross 已提交
6930 6931 6932
				"1": {
					"patterns": [
						{
A
Alex Ross 已提交
6933
							"include": "source.cpp#inline_comment"
A
Alex Ross 已提交
6934 6935
						}
					]
A
Alex Ross 已提交
6936
				},
A
Alex Ross 已提交
6937 6938
				"2": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
A
Alex Ross 已提交
6939
				},
A
Alex Ross 已提交
6940 6941
				"3": {
					"name": "comment.block.cpp"
A
Alex Ross 已提交
6942
				},
A
Alex Ross 已提交
6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953
				"4": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
6954
				}
A
Alex Ross 已提交
6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.separator.delimiter.comma.cpp"
				}
			},
			"name": "meta.parameter.cpp",
			"patterns": [
				{
					"include": "#ever_present_context"
				},
				{
					"include": "#function_pointer_parameter"
				},
				{
					"include": "#decltype"
				},
				{
					"include": "source.cpp#vararg_ellipses"
				},
				{
					"match": "((?:((?:(?:volatile)|(?:register)|(?:restrict)|(?:static)|(?:extern)|(?:const)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))+)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:\\s)*+(?<!\\w)(?:(?:(?:((?:(?:unsigned)|(?:wchar_t)|(?:double)|(?:signed)|(?:short)|(?:float)|(?:auto)|(?:void)|(?:long)|(?:char)|(?:bool)|(?:int)))|((?:(?:uint_least32_t)|(?:uint_least64_t)|(?:uint_least16_t)|(?:uint_fast64_t)|(?:uint_least8_t)|(?:int_least64_t)|(?:int_least32_t)|(?:int_least16_t)|(?:uint_fast16_t)|(?:uint_fast32_t)|(?:int_least8_t)|(?:int_fast16_t)|(?:int_fast32_t)|(?:int_fast64_t)|(?:uint_fast8_t)|(?:int_fast8_t)|(?:suseconds_t)|(?:useconds_t)|(?:uintmax_t)|(?:uintmax_t)|(?:in_port_t)|(?:uintmax_t)|(?:in_addr_t)|(?:blksize_t)|(?:uintptr_t)|(?:intmax_t)|(?:intptr_t)|(?:blkcnt_t)|(?:intmax_t)|(?:u_quad_t)|(?:uint16_t)|(?:uint32_t)|(?:uint64_t)|(?:ssize_t)|(?:fixpt_t)|(?:qaddr_t)|(?:u_short)|(?:int16_t)|(?:int32_t)|(?:int64_t)|(?:uint8_t)|(?:daddr_t)|(?:caddr_t)|(?:swblk_t)|(?:clock_t)|(?:segsz_t)|(?:nlink_t)|(?:time_t)|(?:u_long)|(?:ushort)|(?:quad_t)|(?:mode_t)|(?:size_t)|(?:u_char)|(?:int8_t)|(?:u_int)|(?:uid_t)|(?:off_t)|(?:pid_t)|(?:gid_t)|(?:dev_t)|(?:div_t)|(?:key_t)|(?:ino_t)|(?:id_t)|(?:id_t)|(?:uint))))|((?:(?:pthread_rwlockattr_t)|(?:pthread_mutexattr_t)|(?:pthread_condattr_t)|(?:pthread_rwlock_t)|(?:pthread_mutex_t)|(?:pthread_cond_t)|(?:pthread_attr_t)|(?:pthread_once_t)|(?:pthread_key_t)|(?:pthread_t))))|([a-zA-Z_](?:\\w)*_t))(?!\\w)|((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\b\\b(?<!\\Wvolatile|^volatile|\\Wregister|^register|\\Wrestrict|^restrict|\\Wstatic|^static|\\Wextern|^extern|\\Wconst|^const)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=,|\\)|=)",
					"captures": {
						"1": {
6979 6980
							"patterns": [
								{
A
Alex Ross 已提交
6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005
									"include": "#storage_types"
								}
							]
						},
						"2": {
							"name": "storage.modifier.specifier.parameter.cpp"
						},
						"3": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"4": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"5": {
							"name": "comment.block.cpp"
						},
						"6": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
7006 7007
								},
								{
A
Alex Ross 已提交
7008 7009 7010 7011 7012 7013 7014
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"7": {
							"patterns": [
7015
								{
A
Alex Ross 已提交
7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"8": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"9": {
							"name": "comment.block.cpp"
						},
						"10": {
							"patterns": [
7028
								{
A
Alex Ross 已提交
7029 7030
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
7031 7032
								},
								{
A
Alex Ross 已提交
7033 7034
									"match": "\\*",
									"name": "comment.block.cpp"
7035 7036 7037
								}
							]
						},
A
Alex Ross 已提交
7038 7039
						"11": {
							"name": "storage.type.primitive.cpp storage.type.built-in.primitive.cpp"
7040
						},
A
Alex Ross 已提交
7041 7042
						"12": {
							"name": "storage.type.cpp storage.type.built-in.cpp"
7043
						},
A
Alex Ross 已提交
7044 7045
						"13": {
							"name": "support.type.posix-reserved.pthread.cpp support.type.built-in.posix-reserved.pthread.cpp"
7046
						},
A
Alex Ross 已提交
7047 7048
						"14": {
							"name": "support.type.posix-reserved.cpp support.type.built-in.posix-reserved.cpp"
7049
						},
A
Alex Ross 已提交
7050 7051
						"15": {
							"name": "entity.name.type.parameter.cpp"
7052
						},
A
Alex Ross 已提交
7053 7054 7055 7056 7057 7058
						"16": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
7059
						},
A
Alex Ross 已提交
7060 7061
						"17": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
7062
						},
A
Alex Ross 已提交
7063 7064
						"18": {
							"name": "comment.block.cpp"
7065
						},
A
Alex Ross 已提交
7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076
						"19": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
7077
						}
A
Alex Ross 已提交
7078
					}
7079
				},
A
Alex Ross 已提交
7080 7081
				{
					"include": "#storage_types"
7082
				},
A
Alex Ross 已提交
7083 7084
				{
					"include": "source.cpp#scope_resolution_parameter_inner_generated"
7085
				},
A
Alex Ross 已提交
7086 7087 7088
				{
					"match": "(?:(?:struct)|(?:class)|(?:union)|(?:enum))",
					"name": "storage.type.$0.cpp"
7089
				},
A
Alex Ross 已提交
7090 7091 7092 7093 7094 7095 7096
				{
					"begin": "(?<==)",
					"end": "(?:(?=\\))|(,))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"1": {
							"name": "punctuation.separator.delimiter.comma.cpp"
7097
						}
A
Alex Ross 已提交
7098
					},
7099 7100
					"patterns": [
						{
A
Alex Ross 已提交
7101
							"include": "#evaluation_context"
7102 7103 7104
						}
					]
				},
A
Alex Ross 已提交
7105 7106 7107
				{
					"match": "\\=",
					"name": "keyword.operator.assignment.cpp"
7108
				},
A
Alex Ross 已提交
7109 7110 7111 7112 7113 7114 7115 7116 7117
				{
					"match": "(?<!\\s|\\(|,|:)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=\\)|,|\\[|=|\\n)",
					"captures": {
						"1": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
7118
						},
A
Alex Ross 已提交
7119 7120 7121 7122
						"2": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"3": {
7123
							"name": "comment.block.cpp"
A
Alex Ross 已提交
7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163
						},
						"4": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"5": {
							"name": "variable.parameter.cpp"
						},
						"6": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"7": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"8": {
							"name": "comment.block.cpp"
						},
						"9": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
7164
						}
A
Alex Ross 已提交
7165
					}
7166
				},
A
Alex Ross 已提交
7167 7168
				{
					"include": "#attributes_context"
7169
				},
A
Alex Ross 已提交
7170 7171 7172 7173 7174 7175
				{
					"begin": "\\[",
					"end": "\\]|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.begin.bracket.square.array.type.cpp"
7176
						}
A
Alex Ross 已提交
7177 7178 7179 7180
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.end.bracket.square.array.type.cpp"
7181
						}
A
Alex Ross 已提交
7182 7183
					},
					"name": "meta.bracket.square.array.cpp",
7184 7185
					"patterns": [
						{
A
Alex Ross 已提交
7186
							"include": "#evaluation_context"
7187 7188 7189
						}
					]
				},
A
Alex Ross 已提交
7190 7191 7192
				{
					"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b(?<!\\Wstruct|^struct|\\Wclass|^class|\\Wunion|^union|\\Wenum|^enum)",
					"name": "entity.name.type.parameter.cpp"
7193
				},
A
Alex Ross 已提交
7194 7195
				{
					"include": "#template_call_range"
7196
				},
A
Alex Ross 已提交
7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241
				{
					"match": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*))",
					"captures": {
						"0": {
							"patterns": [
								{
									"match": "\\*",
									"name": "storage.modifier.pointer.cpp"
								},
								{
									"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
									"captures": {
										"1": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"2": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"3": {
											"name": "comment.block.cpp"
										},
										"4": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									},
									"name": "invalid.illegal.reference-type.cpp"
								},
								{
									"match": "\\&",
									"name": "storage.modifier.reference.cpp"
								}
							]
7242
						},
A
Alex Ross 已提交
7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253
						"1": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"2": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"3": {
7254 7255
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
7256 7257 7258 7259 7260
						"4": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
7261
								},
A
Alex Ross 已提交
7262 7263
								{
									"match": "\\*",
7264 7265
									"name": "comment.block.cpp"
								}
A
Alex Ross 已提交
7266
							]
7267
						},
A
Alex Ross 已提交
7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291
						"5": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"6": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"7": {
							"name": "comment.block.cpp"
						},
						"8": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
7292
						}
A
Alex Ross 已提交
7293 7294 7295 7296 7297 7298 7299 7300 7301
					}
				}
			]
		},
		"parameter_or_maybe_value": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=\\w)",
			"end": "(?:(?=\\))|(,))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
7302 7303
					"patterns": [
						{
A
Alex Ross 已提交
7304
							"include": "source.cpp#inline_comment"
7305 7306 7307
						}
					]
				},
A
Alex Ross 已提交
7308
				"2": {
7309 7310
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
7311
				"3": {
7312 7313
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
7314
				"4": {
7315 7316 7317 7318 7319 7320 7321 7322 7323 7324
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335
				}
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.separator.delimiter.comma.cpp"
				}
			},
			"name": "meta.parameter.cpp",
			"patterns": [
				{
					"include": "#ever_present_context"
7336
				},
A
Alex Ross 已提交
7337 7338
				{
					"include": "#function_pointer_parameter"
7339
				},
A
Alex Ross 已提交
7340 7341
				{
					"include": "source.cpp#memory_operators"
7342
				},
A
Alex Ross 已提交
7343 7344
				{
					"include": "#builtin_storage_type_initilizer"
7345
				},
A
Alex Ross 已提交
7346 7347
				{
					"include": "#curly_initializer"
7348
				},
A
Alex Ross 已提交
7349 7350
				{
					"include": "#decltype"
7351
				},
A
Alex Ross 已提交
7352 7353
				{
					"include": "source.cpp#vararg_ellipses"
7354
				},
A
Alex Ross 已提交
7355 7356 7357 7358 7359 7360 7361 7362 7363
				{
					"match": "((?:((?:(?:volatile)|(?:register)|(?:restrict)|(?:static)|(?:extern)|(?:const)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))+)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:\\s)*+(?<!\\w)(?:(?:(?:((?:(?:unsigned)|(?:wchar_t)|(?:double)|(?:signed)|(?:short)|(?:float)|(?:auto)|(?:void)|(?:long)|(?:char)|(?:bool)|(?:int)))|((?:(?:uint_least32_t)|(?:uint_least64_t)|(?:uint_least16_t)|(?:uint_fast64_t)|(?:uint_least8_t)|(?:int_least64_t)|(?:int_least32_t)|(?:int_least16_t)|(?:uint_fast16_t)|(?:uint_fast32_t)|(?:int_least8_t)|(?:int_fast16_t)|(?:int_fast32_t)|(?:int_fast64_t)|(?:uint_fast8_t)|(?:int_fast8_t)|(?:suseconds_t)|(?:useconds_t)|(?:uintmax_t)|(?:uintmax_t)|(?:in_port_t)|(?:uintmax_t)|(?:in_addr_t)|(?:blksize_t)|(?:uintptr_t)|(?:intmax_t)|(?:intptr_t)|(?:blkcnt_t)|(?:intmax_t)|(?:u_quad_t)|(?:uint16_t)|(?:uint32_t)|(?:uint64_t)|(?:ssize_t)|(?:fixpt_t)|(?:qaddr_t)|(?:u_short)|(?:int16_t)|(?:int32_t)|(?:int64_t)|(?:uint8_t)|(?:daddr_t)|(?:caddr_t)|(?:swblk_t)|(?:clock_t)|(?:segsz_t)|(?:nlink_t)|(?:time_t)|(?:u_long)|(?:ushort)|(?:quad_t)|(?:mode_t)|(?:size_t)|(?:u_char)|(?:int8_t)|(?:u_int)|(?:uid_t)|(?:off_t)|(?:pid_t)|(?:gid_t)|(?:dev_t)|(?:div_t)|(?:key_t)|(?:ino_t)|(?:id_t)|(?:id_t)|(?:uint))))|((?:(?:pthread_rwlockattr_t)|(?:pthread_mutexattr_t)|(?:pthread_condattr_t)|(?:pthread_rwlock_t)|(?:pthread_mutex_t)|(?:pthread_cond_t)|(?:pthread_attr_t)|(?:pthread_once_t)|(?:pthread_key_t)|(?:pthread_t))))|([a-zA-Z_](?:\\w)*_t))(?!\\w)|((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\b\\b(?<!\\Wvolatile|^volatile|\\Wregister|^register|\\Wrestrict|^restrict|\\Wstatic|^static|\\Wextern|^extern|\\Wconst|^const)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=,|\\)|=)",
					"captures": {
						"1": {
							"patterns": [
								{
									"include": "#storage_types"
								}
							]
7364
						},
A
Alex Ross 已提交
7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378
						"2": {
							"name": "storage.modifier.specifier.parameter.cpp"
						},
						"3": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"4": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"5": {
7379 7380
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443
						"6": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"7": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"8": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"9": {
							"name": "comment.block.cpp"
						},
						"10": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"11": {
							"name": "storage.type.primitive.cpp storage.type.built-in.primitive.cpp"
						},
						"12": {
							"name": "storage.type.cpp storage.type.built-in.cpp"
						},
						"13": {
							"name": "support.type.posix-reserved.pthread.cpp support.type.built-in.posix-reserved.pthread.cpp"
						},
						"14": {
							"name": "support.type.posix-reserved.cpp support.type.built-in.posix-reserved.cpp"
						},
						"15": {
							"name": "entity.name.type.parameter.cpp"
						},
						"16": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"17": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"18": {
7444
							"name": "comment.block.cpp"
A
Alex Ross 已提交
7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456
						},
						"19": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
7457
						}
A
Alex Ross 已提交
7458
					}
7459
				},
A
Alex Ross 已提交
7460 7461
				{
					"include": "#storage_types"
7462
				},
A
Alex Ross 已提交
7463 7464
				{
					"include": "#function_call"
7465
				},
A
Alex Ross 已提交
7466 7467
				{
					"include": "source.cpp#scope_resolution_parameter_inner_generated"
7468
				},
A
Alex Ross 已提交
7469 7470 7471
				{
					"match": "(?:(?:struct)|(?:class)|(?:union)|(?:enum))",
					"name": "storage.type.$0.cpp"
7472
				},
A
Alex Ross 已提交
7473 7474 7475 7476 7477 7478 7479
				{
					"begin": "(?<==)",
					"end": "(?:(?=\\))|(,))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"1": {
							"name": "punctuation.separator.delimiter.comma.cpp"
7480
						}
A
Alex Ross 已提交
7481
					},
7482 7483
					"patterns": [
						{
A
Alex Ross 已提交
7484
							"include": "#evaluation_context"
7485 7486 7487
						}
					]
				},
A
Alex Ross 已提交
7488 7489 7490 7491 7492 7493 7494 7495 7496
				{
					"match": "(?<!\\s|\\(|,|:)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=(?:\\)|,|\\[|=|\\/\\/|(?:(?:\\n)|$)))",
					"captures": {
						"1": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
7497
						},
A
Alex Ross 已提交
7498 7499 7500 7501
						"2": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"3": {
7502 7503
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514
						"4": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
7515
						},
A
Alex Ross 已提交
7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542
						"5": {
							"name": "variable.parameter.cpp"
						},
						"6": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"7": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"8": {
							"name": "comment.block.cpp"
						},
						"9": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
7543
						}
A
Alex Ross 已提交
7544
					}
7545
				},
A
Alex Ross 已提交
7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562
				{
					"include": "#attributes_context"
				},
				{
					"begin": "\\[",
					"end": "\\]|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.begin.bracket.square.array.type.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.end.bracket.square.array.type.cpp"
						}
					},
					"name": "meta.bracket.square.array.cpp",
7563 7564
					"patterns": [
						{
A
Alex Ross 已提交
7565
							"include": "#evaluation_context"
7566 7567 7568
						}
					]
				},
A
Alex Ross 已提交
7569 7570 7571
				{
					"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b(?<!\\Wstruct|^struct|\\Wclass|^class|\\Wunion|^union|\\Wenum|^enum)",
					"name": "entity.name.type.parameter.cpp"
7572
				},
A
Alex Ross 已提交
7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713
				{
					"include": "#template_call_range"
				},
				{
					"match": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*))",
					"captures": {
						"0": {
							"patterns": [
								{
									"match": "\\*",
									"name": "storage.modifier.pointer.cpp"
								},
								{
									"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
									"captures": {
										"1": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"2": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"3": {
											"name": "comment.block.cpp"
										},
										"4": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									},
									"name": "invalid.illegal.reference-type.cpp"
								},
								{
									"match": "\\&",
									"name": "storage.modifier.reference.cpp"
								}
							]
						},
						"1": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"2": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"3": {
							"name": "comment.block.cpp"
						},
						"4": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"5": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"6": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"7": {
							"name": "comment.block.cpp"
						},
						"8": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						}
					}
				},
				{
					"include": "#evaluation_context"
				}
			]
		},
		"parentheses": {
			"begin": "\\(",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "punctuation.section.parens.begin.bracket.round.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.parens.end.bracket.round.cpp"
				}
			},
			"name": "meta.parens.cpp",
			"patterns": [
				{
					"include": "source.cpp#over_qualified_types"
				},
				{
					"match": "(?<!:):(?!:)",
					"name": "punctuation.separator.colon.range-based.cpp"
				},
				{
					"include": "#evaluation_context"
				}
			]
		},
		"pragma": {
			"begin": "^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(#)(?:(?:\\s)+)?pragma\\b",
			"end": "(?<!\\\\)(?=\\n)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "keyword.control.directive.pragma.cpp"
				},
				"1": {
7714 7715
					"patterns": [
						{
A
Alex Ross 已提交
7716
							"include": "source.cpp#inline_comment"
7717 7718 7719
						}
					]
				},
A
Alex Ross 已提交
7720
				"2": {
7721 7722
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
7723
				"3": {
7724 7725
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
7726
				"4": {
7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
7738 7739 7740 7741 7742 7743 7744 7745 7746
				"5": {
					"name": "punctuation.definition.directive.cpp"
				}
			},
			"endCaptures": {},
			"name": "meta.preprocessor.pragma.cpp",
			"patterns": [
				{
					"include": "#comments"
7747
				},
A
Alex Ross 已提交
7748 7749
				{
					"include": "#string_context"
7750
				},
A
Alex Ross 已提交
7751 7752 7753
				{
					"match": "[a-zA-Z_$][\\w\\-$]*",
					"name": "entity.other.attribute-name.pragma.preprocessor.cpp"
7754
				},
A
Alex Ross 已提交
7755 7756
				{
					"include": "#preprocessor_number_literal"
7757
				},
A
Alex Ross 已提交
7758 7759 7760 7761 7762 7763 7764 7765 7766
				{
					"include": "source.cpp#line_continuation_character"
				}
			]
		},
		"preprocessor_conditional_context": {
			"patterns": [
				{
					"include": "#preprocessor_conditional_defined"
7767
				},
A
Alex Ross 已提交
7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838
				{
					"include": "#comments"
				},
				{
					"include": "source.cpp#language_constants"
				},
				{
					"include": "#string_context"
				},
				{
					"include": "source.cpp#d9bc4796b0b_preprocessor_number_literal"
				},
				{
					"include": "#operators"
				},
				{
					"include": "source.cpp#predefined_macros"
				},
				{
					"include": "source.cpp#macro_name"
				},
				{
					"include": "source.cpp#line_continuation_character"
				}
			]
		},
		"preprocessor_conditional_defined": {
			"begin": "((?<!\\w)defined(?!\\w))(\\()",
			"end": "(?:\\)|(?<!\\\\)(?=\\n))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.control.directive.conditional.defined.cpp"
				},
				"2": {
					"name": "punctuation.section.parens.control.defined.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.parens.control.defined.cpp"
				}
			},
			"patterns": [
				{
					"include": "source.cpp#macro_name"
				}
			]
		},
		"preprocessor_conditional_parentheses": {
			"begin": "\\(",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "punctuation.section.parens.begin.bracket.round.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.parens.end.bracket.round.cpp"
				}
			},
			"name": "meta.parens.preprocessor.conditional.cpp"
		},
		"preprocessor_conditional_range": {
			"begin": "^((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(#)(?:(?:\\s)+)?((?:(?:ifndef|ifdef)|if))",
			"end": "^(?!\\s*+#\\s*(?:else|endif))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "keyword.control.directive.conditional.$6.cpp"
				},
				"1": {
7839 7840
					"patterns": [
						{
A
Alex Ross 已提交
7841
							"include": "source.cpp#inline_comment"
7842 7843 7844
						}
					]
				},
A
Alex Ross 已提交
7845
				"2": {
7846 7847
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
7848
				"3": {
7849 7850
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
7851
				"4": {
7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875
				"5": {
					"name": "punctuation.definition.directive.cpp"
				},
				"6": {}
			},
			"endCaptures": {},
			"patterns": [
				{
					"begin": "\\G(?<=ifndef|ifdef|if)",
					"end": "(?<!\\\\)(?=\\n)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.preprocessor.conditional.cpp",
7876 7877
					"patterns": [
						{
A
Alex Ross 已提交
7878
							"include": "#preprocessor_conditional_context"
7879 7880 7881
						}
					]
				},
A
Alex Ross 已提交
7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938
				{
					"include": "$self"
				}
			]
		},
		"preprocessor_context": {
			"patterns": [
				{
					"include": "source.cpp#pragma_mark"
				},
				{
					"include": "#pragma"
				},
				{
					"include": "source.cpp#include"
				},
				{
					"include": "#line"
				},
				{
					"include": "#diagnostic"
				},
				{
					"include": "source.cpp#undef"
				},
				{
					"include": "#preprocessor_conditional_range"
				},
				{
					"include": "source.cpp#single_line_macro"
				},
				{
					"include": "#macro"
				},
				{
					"include": "source.cpp#preprocessor_conditional_standalone"
				},
				{
					"include": "source.cpp#macro_argument"
				}
			]
		},
		"sizeof_operator": {
			"begin": "((?<!\\w)sizeof(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.operator.functionlike.cpp keyword.operator.sizeof.cpp"
				},
				"2": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"3": {
7939 7940
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
7941
				"4": {
7942 7943
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
7944
				"5": {
7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979
				"6": {
					"name": "punctuation.section.arguments.begin.bracket.round.operator.sizeof.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.operator.sizeof.cpp"
				}
			},
			"contentName": "meta.arguments.operator.sizeof",
			"patterns": [
				{
					"include": "#evaluation_context"
				}
			]
		},
		"sizeof_variadic_operator": {
			"begin": "(\\bsizeof\\.\\.\\.)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.operator.functionlike.cpp keyword.operator.sizeof.variadic.cpp"
				},
				"2": {
7980 7981
					"patterns": [
						{
A
Alex Ross 已提交
7982
							"include": "source.cpp#inline_comment"
7983 7984 7985
						}
					]
				},
A
Alex Ross 已提交
7986
				"3": {
7987 7988
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
7989
				"4": {
7990 7991
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
7992
				"5": {
7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025
				"6": {
					"name": "punctuation.section.arguments.begin.bracket.round.operator.sizeof.variadic.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.operator.sizeof.variadic.cpp"
				}
			},
			"contentName": "meta.arguments.operator.sizeof.variadic",
			"patterns": [
				{
					"include": "#evaluation_context"
				}
			]
		},
		"square_brackets": {
			"name": "meta.bracket.square.access",
			"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]\\)]))?(\\[)(?!\\])",
			"beginCaptures": {
				"1": {
					"name": "variable.other.object"
8026
				},
A
Alex Ross 已提交
8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047
				"2": {
					"name": "punctuation.definition.begin.bracket.square"
				}
			},
			"end": "\\]|(?=(?<!\\\\)\n)",
			"endCaptures": {
				"0": {
					"name": "punctuation.definition.end.bracket.square"
				}
			},
			"patterns": [
				{
					"include": "#evaluation_context"
				}
			]
		},
		"static_assert": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)static_assert|_Static_assert(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
8048 8049
					"patterns": [
						{
A
Alex Ross 已提交
8050
							"include": "source.cpp#inline_comment"
8051 8052 8053
						}
					]
				},
A
Alex Ross 已提交
8054
				"2": {
8055 8056
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
8057
				"3": {
8058 8059
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
8060
				"4": {
8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
8072 8073
				"5": {
					"name": "keyword.other.static_assert.cpp"
8074
				},
A
Alex Ross 已提交
8075
				"6": {
8076 8077
					"patterns": [
						{
A
Alex Ross 已提交
8078
							"include": "source.cpp#inline_comment"
8079 8080 8081
						}
					]
				},
A
Alex Ross 已提交
8082
				"7": {
8083 8084
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
8085
				"8": {
8086 8087
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
8088
				"9": {
8089 8090 8091 8092 8093 8094 8095 8096 8097 8098
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
A
Alex Ross 已提交
8099 8100 8101 8102 8103 8104 8105 8106
				},
				"10": {
					"name": "punctuation.section.arguments.begin.bracket.round.static_assert.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.static_assert.cpp"
8107 8108 8109 8110
				}
			},
			"patterns": [
				{
A
Alex Ross 已提交
8111 8112 8113
					"begin": "(,)(?:(?:\\s)+)?(?=(?:L|u8|u|U(?:(?:\\s)+)?\\\")?)",
					"end": "(?=\\))|(?=(?<!\\\\)\n)",
					"beginCaptures": {
8114
						"1": {
A
Alex Ross 已提交
8115
							"name": "punctuation.separator.delimiter.comma.cpp"
8116 8117
						}
					},
A
Alex Ross 已提交
8118 8119
					"endCaptures": {},
					"name": "meta.static_assert.message.cpp",
8120 8121
					"patterns": [
						{
A
Alex Ross 已提交
8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181
							"include": "#string_context"
						}
					]
				},
				{
					"include": "#evaluation_context"
				}
			]
		},
		"storage_types": {
			"patterns": [
				{
					"include": "source.cpp#storage_specifiers"
				},
				{
					"include": "source.cpp#inline_builtin_storage_type"
				},
				{
					"include": "#decltype"
				},
				{
					"include": "source.cpp#typename"
				}
			]
		},
		"string_context": {
			"patterns": [
				{
					"begin": "((?:u|u8|U|L)?)\"",
					"end": "\"|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin.cpp"
						},
						"1": {
							"name": "meta.encoding.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.string.end.cpp"
						}
					},
					"name": "string.quoted.double.cpp",
					"patterns": [
						{
							"match": "(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8})",
							"name": "constant.character.escape.cpp"
						},
						{
							"match": "\\\\['\"?\\\\abfnrtv]",
							"name": "constant.character.escape.cpp"
						},
						{
							"match": "\\\\[0-7]{1,3}",
							"name": "constant.character.escape.cpp"
						},
						{
							"match": "(?:(\\\\x0*[0-9a-fA-F]{2}(?![0-9a-fA-F]))|((?:\\\\x[0-9a-fA-F]*|\\\\x)))",
							"captures": {
8182
								"1": {
A
Alex Ross 已提交
8183 8184 8185 8186
									"name": "constant.character.escape.cpp"
								},
								"2": {
									"name": "invalid.illegal.unknown-escape.cpp"
8187
								}
A
Alex Ross 已提交
8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217
							}
						},
						{
							"include": "source.cpp#string_escapes_context_c"
						}
					]
				},
				{
					"begin": "(?<![0-9A-Fa-f])((?:u|u8|U|L)?)'",
					"end": "'|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin.cpp"
						},
						"1": {
							"name": "meta.encoding.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.string.end.cpp"
						}
					},
					"name": "string.quoted.single.cpp",
					"patterns": [
						{
							"match": "(?:(\\\\x0*[0-9a-fA-F]{2}(?![0-9a-fA-F]))|((?:\\\\x[0-9a-fA-F]*|\\\\x)))",
							"captures": {
								"1": {
									"name": "constant.character.escape.cpp"
8218
								},
A
Alex Ross 已提交
8219 8220
								"2": {
									"name": "invalid.illegal.unknown-escape.cpp"
8221
								}
A
Alex Ross 已提交
8222
							}
8223 8224
						},
						{
A
Alex Ross 已提交
8225
							"include": "source.cpp#string_escapes_context_c"
8226 8227
						},
						{
A
Alex Ross 已提交
8228
							"include": "source.cpp#line_continuation_character"
8229 8230 8231 8232
						}
					]
				},
				{
A
Alex Ross 已提交
8233 8234 8235 8236 8237 8238
					"begin": "((?:[uUL]8?)?R)\\\"(?:(?:_r|re)|regex)\\(",
					"end": "\\)(?:(?:_r|re)|regex)\\\"|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin.cpp"
						},
8239
						"1": {
A
Alex Ross 已提交
8240 8241 8242 8243 8244 8245
							"name": "meta.encoding.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.string.end.cpp"
8246 8247
						}
					},
A
Alex Ross 已提交
8248
					"name": "string.quoted.double.raw.regex.cpp",
8249 8250
					"patterns": [
						{
A
Alex Ross 已提交
8251
							"include": "source.regexp.python"
8252 8253 8254 8255
						}
					]
				},
				{
A
Alex Ross 已提交
8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271
					"begin": "((?:[uUL]8?)?R)\\\"(?:glsl|GLSL)\\(",
					"end": "\\)(?:glsl|GLSL)\\\"|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin.cpp"
						},
						"1": {
							"name": "meta.encoding.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.string.end.cpp"
						}
					},
					"name": "meta.string.quoted.double.raw.glsl.cpp",
8272 8273
					"patterns": [
						{
A
Alex Ross 已提交
8274
							"include": "source.glsl"
8275 8276 8277 8278
						}
					]
				},
				{
A
Alex Ross 已提交
8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299
					"begin": "((?:[uUL]8?)?R)\\\"(?:[pP]?(?:sql|SQL)|d[dm]l)\\(",
					"end": "\\)(?:[pP]?(?:sql|SQL)|d[dm]l)\\\"|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin.cpp"
						},
						"1": {
							"name": "meta.encoding.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.string.end.cpp"
						}
					},
					"name": "meta.string.quoted.double.raw.sql.cpp",
					"patterns": [
						{
							"include": "source.sql"
						}
					]
8300 8301
				},
				{
A
Alex Ross 已提交
8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323
					"begin": "((?:u|u8|U|L)?R)\"(?:([^ ()\\\\\\t]{0,16})|([^ ()\\\\\\t]*))\\(",
					"beginCaptures": {
						"0": {
							"name": "punctuation.definition.string.begin"
						},
						"1": {
							"name": "meta.encoding"
						},
						"3": {
							"name": "invalid.illegal.delimiter-too-long"
						}
					},
					"end": "\\)\\2(\\3)\"|(?=(?<!\\\\)\n)",
					"endCaptures": {
						"0": {
							"name": "punctuation.definition.string.end"
						},
						"1": {
							"name": "invalid.illegal.delimiter-too-long"
						}
					},
					"name": "string.quoted.double.raw"
8324 8325 8326
				}
			]
		},
A
Alex Ross 已提交
8327 8328 8329
		"struct_block": {
			"begin": "((?<!\\w)struct(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?={)|(?:((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*+)?(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(:(?!:)))?)",
			"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
8330
			"beginCaptures": {
A
Alex Ross 已提交
8331 8332 8333
				"0": {
					"name": "meta.head.struct.cpp"
				},
8334
				"1": {
A
Alex Ross 已提交
8335 8336 8337
					"name": "storage.type.$1.cpp"
				},
				"2": {
8338 8339
					"patterns": [
						{
A
Alex Ross 已提交
8340
							"include": "source.cpp#inline_comment"
8341 8342 8343
						}
					]
				},
A
Alex Ross 已提交
8344
				"3": {
8345 8346
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
8347
				"4": {
8348 8349
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
8350
				"5": {
8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
8362 8363 8364 8365 8366 8367 8368 8369 8370
				"6": {
					"patterns": [
						{
							"include": "#attributes_context"
						},
						{
							"include": "source.cpp#number_literal"
						}
					]
8371
				},
A
Alex Ross 已提交
8372 8373 8374 8375 8376 8377
				"7": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
8378
				},
A
Alex Ross 已提交
8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389
				"8": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"9": {
					"name": "comment.block.cpp"
				},
				"10": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
8390
						},
A
Alex Ross 已提交
8391 8392
						{
							"match": "\\*",
8393
							"name": "comment.block.cpp"
A
Alex Ross 已提交
8394 8395 8396 8397 8398 8399 8400 8401 8402 8403
						}
					]
				},
				"11": {
					"patterns": [
						{
							"match": "((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))",
							"captures": {
								"1": {
									"name": "storage.type.modifier.final.cpp"
8404
								},
A
Alex Ross 已提交
8405 8406 8407 8408 8409 8410
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
8411
								},
A
Alex Ross 已提交
8412 8413
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
8414
								},
A
Alex Ross 已提交
8415
								"4": {
8416
									"name": "comment.block.cpp"
A
Alex Ross 已提交
8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
8429
								}
A
Alex Ross 已提交
8430
							}
8431
						},
A
Alex Ross 已提交
8432 8433 8434 8435 8436
						{
							"match": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?(?=:|{|$)",
							"captures": {
								"1": {
									"name": "entity.name.type.struct.cpp"
8437
								},
A
Alex Ross 已提交
8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
8449 8450
									"name": "comment.block.cpp"
								},
A
Alex Ross 已提交
8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"6": {
									"name": "storage.type.modifier.final.cpp"
								},
								"7": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"8": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"9": {
8477
									"name": "comment.block.cpp"
A
Alex Ross 已提交
8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489
								},
								"10": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
8490
								}
A
Alex Ross 已提交
8491
							}
8492
						},
A
Alex Ross 已提交
8493 8494 8495
						{
							"match": "DLLEXPORT",
							"name": "entity.name.other.preprocessor.macro.predefined.DLLEXPORT.cpp"
8496
						},
A
Alex Ross 已提交
8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520
						{
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.other.preprocessor.macro.predefined.probably.$0.cpp"
						}
					]
				},
				"12": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"13": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"14": {
					"name": "comment.block.cpp"
				},
				"15": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
8521
						},
A
Alex Ross 已提交
8522 8523
						{
							"match": "\\*",
8524 8525
							"name": "comment.block.cpp"
						}
A
Alex Ross 已提交
8526
					]
8527
				},
A
Alex Ross 已提交
8528 8529 8530 8531 8532 8533
				"16": {
					"patterns": [
						{
							"include": "source.cpp#inline_comment"
						}
					]
8534
				},
A
Alex Ross 已提交
8535 8536
				"17": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
8537
				},
A
Alex Ross 已提交
8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559
				"18": {
					"name": "comment.block.cpp"
				},
				"19": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"20": {
					"name": "punctuation.separator.colon.inheritance.cpp"
				}
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.terminator.statement.cpp"
8560
				},
A
Alex Ross 已提交
8561 8562 8563 8564 8565 8566
				"2": {
					"name": "punctuation.terminator.statement.cpp"
				}
			},
			"name": "meta.block.struct.cpp",
			"patterns": [
8567
				{
A
Alex Ross 已提交
8568 8569 8570
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
8571
					"endCaptures": {
A
Alex Ross 已提交
8572 8573
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.struct.cpp"
8574 8575
						}
					},
A
Alex Ross 已提交
8576
					"name": "meta.head.struct.cpp",
8577 8578
					"patterns": [
						{
A
Alex Ross 已提交
8579 8580 8581 8582 8583 8584 8585
							"include": "#ever_present_context"
						},
						{
							"include": "#inheritance_context"
						},
						{
							"include": "#template_call_range"
8586 8587 8588 8589
						}
					]
				},
				{
A
Alex Ross 已提交
8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.struct.cpp"
						}
					},
					"name": "meta.body.struct.cpp",
					"patterns": [
						{
							"include": "#function_pointer"
8602
						},
A
Alex Ross 已提交
8603 8604
						{
							"include": "#static_assert"
8605
						},
A
Alex Ross 已提交
8606 8607
						{
							"include": "#constructor_inline"
8608
						},
A
Alex Ross 已提交
8609 8610
						{
							"include": "#destructor_inline"
8611
						},
A
Alex Ross 已提交
8612 8613
						{
							"include": "$self"
8614
						}
A
Alex Ross 已提交
8615
					]
8616 8617
				},
				{
A
Alex Ross 已提交
8618 8619 8620 8621 8622 8623 8624 8625
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.struct.cpp",
					"patterns": [
						{
							"include": "$self"
8626
						}
A
Alex Ross 已提交
8627 8628 8629 8630 8631 8632 8633 8634 8635
					]
				}
			]
		},
		"switch_conditional_parentheses": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
8636 8637
					"patterns": [
						{
A
Alex Ross 已提交
8638
							"include": "source.cpp#inline_comment"
8639 8640 8641
						}
					]
				},
A
Alex Ross 已提交
8642 8643
				"2": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
8644
				},
A
Alex Ross 已提交
8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670
				"3": {
					"name": "comment.block.cpp"
				},
				"4": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"5": {
					"name": "punctuation.section.parens.begin.bracket.round.conditional.switch.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.parens.end.bracket.round.conditional.switch.cpp"
				}
			},
			"name": "meta.conditional.switch.cpp",
			"patterns": [
8671
				{
A
Alex Ross 已提交
8672
					"include": "#evaluation_context"
8673 8674
				},
				{
A
Alex Ross 已提交
8675
					"include": "#c_conditional_context"
8676 8677 8678
				}
			]
		},
A
Alex Ross 已提交
8679 8680 8681 8682 8683 8684
		"switch_statement": {
			"begin": "((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)switch(?!\\w))",
			"end": "(?:(?<=\\}|%>|\\?\\?>)|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.switch.cpp"
8685
				},
A
Alex Ross 已提交
8686
				"1": {
8687 8688
					"patterns": [
						{
A
Alex Ross 已提交
8689
							"include": "source.cpp#inline_comment"
8690 8691 8692
						}
					]
				},
A
Alex Ross 已提交
8693
				"2": {
8694 8695
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
A
Alex Ross 已提交
8696
				"3": {
8697 8698
					"name": "comment.block.cpp"
				},
A
Alex Ross 已提交
8699
				"4": {
8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
A
Alex Ross 已提交
8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724
				"5": {
					"name": "keyword.control.switch.cpp"
				}
			},
			"endCaptures": {},
			"name": "meta.block.switch.cpp",
			"patterns": [
				{
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.switch.cpp"
8725
						}
A
Alex Ross 已提交
8726 8727
					},
					"name": "meta.head.switch.cpp",
8728 8729
					"patterns": [
						{
A
Alex Ross 已提交
8730
							"include": "#switch_conditional_parentheses"
8731 8732
						},
						{
A
Alex Ross 已提交
8733
							"include": "$self"
8734 8735 8736
						}
					]
				},
A
Alex Ross 已提交
8737 8738 8739 8740 8741 8742 8743 8744 8745 8746
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.switch.cpp"
						}
					},
					"name": "meta.body.switch.cpp",
8747 8748
					"patterns": [
						{
A
Alex Ross 已提交
8749
							"include": "#default_statement"
8750 8751
						},
						{
A
Alex Ross 已提交
8752
							"include": "#case_statement"
8753 8754
						},
						{
A
Alex Ross 已提交
8755
							"include": "$self"
8756 8757
						},
						{
A
Alex Ross 已提交
8758
							"include": "#block_innards"
8759 8760 8761
						}
					]
				},
A
Alex Ross 已提交
8762 8763 8764 8765 8766 8767
				{
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.switch.cpp",
8768 8769
					"patterns": [
						{
A
Alex Ross 已提交
8770
							"include": "$self"
8771 8772
						}
					]
A
Alex Ross 已提交
8773 8774 8775 8776 8777 8778 8779
				}
			]
		},
		"template_call_context": {
			"patterns": [
				{
					"include": "#ever_present_context"
8780
				},
A
Alex Ross 已提交
8781 8782
				{
					"include": "#template_call_range"
8783
				},
A
Alex Ross 已提交
8784 8785
				{
					"include": "#storage_types"
8786
				},
A
Alex Ross 已提交
8787 8788
				{
					"include": "source.cpp#language_constants"
8789
				},
A
Alex Ross 已提交
8790 8791
				{
					"include": "source.cpp#scope_resolution_template_call_inner_generated"
8792
				},
A
Alex Ross 已提交
8793 8794
				{
					"include": "#operators"
8795
				},
A
Alex Ross 已提交
8796 8797
				{
					"include": "source.cpp#number_literal"
8798
				},
A
Alex Ross 已提交
8799 8800
				{
					"include": "#string_context"
8801
				},
A
Alex Ross 已提交
8802 8803
				{
					"include": "source.cpp#comma_in_template_argument"
8804
				},
A
Alex Ross 已提交
8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860
				{
					"include": "source.cpp#qualified_type"
				}
			]
		},
		"template_call_range": {
			"begin": "<",
			"end": ">|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.angle-brackets.end.template.call.cpp"
				}
			},
			"name": "meta.template.call.cpp",
			"patterns": [
				{
					"include": "#template_call_context"
				}
			]
		},
		"template_definition": {
			"begin": "(?<!\\w)(template)(?:(?:\\s)+)?(<)",
			"end": ">|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "storage.type.template.cpp"
				},
				"2": {
					"name": "punctuation.section.angle-brackets.start.template.definition.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.angle-brackets.end.template.definition.cpp"
				}
			},
			"name": "meta.template.definition.cpp",
			"patterns": [
				{
					"begin": "(?<=\\w)(?:(?:\\s)+)?<",
					"end": ">|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
						}
					},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
						}
					},
8861 8862
					"patterns": [
						{
A
Alex Ross 已提交
8863
							"include": "#template_call_context"
8864 8865 8866
						}
					]
				},
A
Alex Ross 已提交
8867 8868 8869 8870 8871 8872 8873 8874 8875
				{
					"include": "#template_definition_context"
				}
			]
		},
		"template_definition_context": {
			"patterns": [
				{
					"include": "source.cpp#scope_resolution_template_definition_inner_generated"
8876
				},
A
Alex Ross 已提交
8877 8878
				{
					"include": "source.cpp#template_definition_argument"
8879
				},
A
Alex Ross 已提交
8880 8881
				{
					"include": "source.cpp#template_argument_defaulted"
8882
				},
A
Alex Ross 已提交
8883 8884
				{
					"include": "source.cpp#template_call_innards"
8885
				},
A
Alex Ross 已提交
8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906
				{
					"include": "#evaluation_context"
				}
			]
		},
		"ternary_operator": {
			"begin": "\\?",
			"end": ":|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "keyword.operator.ternary.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "keyword.operator.ternary.cpp"
				}
			},
			"patterns": [
				{
					"include": "#ever_present_context"
8907
				},
A
Alex Ross 已提交
8908 8909
				{
					"include": "#string_context"
8910
				},
A
Alex Ross 已提交
8911 8912
				{
					"include": "source.cpp#number_literal"
8913
				},
A
Alex Ross 已提交
8914 8915
				{
					"include": "#method_access"
8916
				},
A
Alex Ross 已提交
8917 8918
				{
					"include": "source.cpp#member_access"
8919
				},
A
Alex Ross 已提交
8920 8921
				{
					"include": "source.cpp#predefined_macros"
8922
				},
A
Alex Ross 已提交
8923 8924
				{
					"include": "#operators"
8925
				},
A
Alex Ross 已提交
8926 8927
				{
					"include": "source.cpp#memory_operators"
8928
				},
A
Alex Ross 已提交
8929 8930
				{
					"include": "source.cpp#wordlike_operators"
8931
				},
A
Alex Ross 已提交
8932 8933
				{
					"include": "source.cpp#type_casting_operators"
8934
				},
A
Alex Ross 已提交
8935 8936
				{
					"include": "source.cpp#control_flow_keywords"
8937
				},
A
Alex Ross 已提交
8938 8939
				{
					"include": "source.cpp#exception_keywords"
8940
				},
A
Alex Ross 已提交
8941 8942
				{
					"include": "source.cpp#the_this_keyword"
8943
				},
A
Alex Ross 已提交
8944 8945
				{
					"include": "source.cpp#language_constants"
8946
				},
A
Alex Ross 已提交
8947 8948
				{
					"include": "#builtin_storage_type_initilizer"
8949
				},
A
Alex Ross 已提交
8950 8951
				{
					"include": "source.cpp#qualifiers_and_specifiers_post_parameters"
8952
				},
A
Alex Ross 已提交
8953 8954
				{
					"include": "source.cpp#functional_specifiers_pre_parameters"
8955
				},
A
Alex Ross 已提交
8956 8957
				{
					"include": "#storage_types"
8958
				},
A
Alex Ross 已提交
8959 8960
				{
					"include": "#lambdas"
8961 8962
				},
				{
A
Alex Ross 已提交
8963
					"include": "#attributes_context"
8964 8965
				},
				{
A
Alex Ross 已提交
8966
					"include": "#parentheses"
8967 8968
				},
				{
A
Alex Ross 已提交
8969
					"include": "#function_call"
8970 8971
				},
				{
A
Alex Ross 已提交
8972
					"include": "source.cpp#scope_resolution_inner_generated"
8973 8974
				},
				{
A
Alex Ross 已提交
8975
					"include": "#square_brackets"
8976 8977
				},
				{
A
Alex Ross 已提交
8978
					"include": "source.cpp#semicolon"
8979 8980
				},
				{
A
Alex Ross 已提交
8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995
					"include": "source.cpp#comma"
				}
			],
			"applyEndPatternLast": 1
		},
		"typedef_class": {
			"begin": "((?<!\\w)typedef(?!\\w))(?:(?:\\s)+)?(?=(?<!\\w)class(?!\\w))",
			"end": "(?<=;)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.other.typedef.cpp"
				}
			},
			"endCaptures": {},
			"patterns": [
8996
				{
A
Alex Ross 已提交
8997 8998 8999 9000 9001 9002
					"begin": "((?<!\\w)class(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?={)|(?:((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*+)?(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(:(?!:)))?)",
					"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "meta.head.class.cpp"
						},
9003
						"1": {
A
Alex Ross 已提交
9004
							"name": "storage.type.$1.cpp"
9005 9006 9007 9008
						},
						"2": {
							"patterns": [
								{
A
Alex Ross 已提交
9009
									"include": "source.cpp#inline_comment"
9010 9011 9012
								}
							]
						},
A
Alex Ross 已提交
9013
						"3": {
9014 9015
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
A
Alex Ross 已提交
9016
						"4": {
9017 9018
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9019
						"5": {
9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
A
Alex Ross 已提交
9031
						"6": {
9032 9033
							"patterns": [
								{
A
Alex Ross 已提交
9034
									"include": "#attributes_context"
9035 9036
								},
								{
A
Alex Ross 已提交
9037
									"include": "source.cpp#number_literal"
9038 9039 9040
								}
							]
						},
A
Alex Ross 已提交
9041
						"7": {
9042 9043
							"patterns": [
								{
A
Alex Ross 已提交
9044
									"include": "source.cpp#inline_comment"
9045 9046 9047
								}
							]
						},
A
Alex Ross 已提交
9048
						"8": {
9049 9050
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
A
Alex Ross 已提交
9051
						"9": {
9052 9053
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9054
						"10": {
9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
A
Alex Ross 已提交
9066
						"11": {
9067 9068
							"patterns": [
								{
A
Alex Ross 已提交
9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099
									"match": "((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))",
									"captures": {
										"1": {
											"name": "storage.type.modifier.final.cpp"
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
9100 9101
								},
								{
A
Alex Ross 已提交
9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161
									"match": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?(?=:|{|$)",
									"captures": {
										"1": {
											"name": "entity.name.type.class.cpp"
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"6": {
											"name": "storage.type.modifier.final.cpp"
										},
										"7": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"8": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"9": {
											"name": "comment.block.cpp"
										},
										"10": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								},
9162
								{
A
Alex Ross 已提交
9163 9164
									"match": "DLLEXPORT",
									"name": "entity.name.other.preprocessor.macro.predefined.DLLEXPORT.cpp"
9165 9166
								},
								{
A
Alex Ross 已提交
9167 9168
									"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
									"name": "entity.name.other.preprocessor.macro.predefined.probably.$0.cpp"
9169 9170 9171
								}
							]
						},
A
Alex Ross 已提交
9172
						"12": {
9173 9174
							"patterns": [
								{
A
Alex Ross 已提交
9175
									"include": "source.cpp#inline_comment"
9176 9177 9178
								}
							]
						},
A
Alex Ross 已提交
9179
						"13": {
9180 9181
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
A
Alex Ross 已提交
9182
						"14": {
9183 9184
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9185
						"15": {
9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
A
Alex Ross 已提交
9197
						"16": {
9198 9199
							"patterns": [
								{
A
Alex Ross 已提交
9200
									"include": "source.cpp#inline_comment"
9201 9202 9203
								}
							]
						},
A
Alex Ross 已提交
9204
						"17": {
9205 9206
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
A
Alex Ross 已提交
9207
						"18": {
9208 9209
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9210
						"19": {
9211 9212 9213 9214 9215 9216 9217 9218 9219 9220
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
A
Alex Ross 已提交
9221 9222 9223
						},
						"20": {
							"name": "punctuation.separator.colon.inheritance.cpp"
9224
						}
A
Alex Ross 已提交
9225
					},
9226 9227
					"endCaptures": {
						"1": {
A
Alex Ross 已提交
9228 9229 9230 9231
							"name": "punctuation.terminator.statement.cpp"
						},
						"2": {
							"name": "punctuation.terminator.statement.cpp"
9232 9233
						}
					},
A
Alex Ross 已提交
9234
					"name": "meta.block.class.cpp",
9235 9236
					"patterns": [
						{
A
Alex Ross 已提交
9237 9238 9239 9240 9241 9242
							"begin": "\\G ?",
							"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.block.begin.bracket.curly.class.cpp"
9243
								}
A
Alex Ross 已提交
9244 9245
							},
							"name": "meta.head.class.cpp",
9246 9247
							"patterns": [
								{
A
Alex Ross 已提交
9248
									"include": "#ever_present_context"
9249 9250
								},
								{
A
Alex Ross 已提交
9251 9252
									"include": "#inheritance_context"
								},
9253
								{
A
Alex Ross 已提交
9254
									"include": "#template_call_range"
9255 9256 9257
								}
							]
						},
A
Alex Ross 已提交
9258 9259 9260 9261 9262 9263 9264 9265 9266 9267
						{
							"begin": "(?<=\\{|<%|\\?\\?<)",
							"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.block.end.bracket.curly.class.cpp"
								}
							},
							"name": "meta.body.class.cpp",
9268 9269
							"patterns": [
								{
A
Alex Ross 已提交
9270
									"include": "#function_pointer"
9271 9272
								},
								{
A
Alex Ross 已提交
9273 9274 9275 9276 9277 9278 9279 9280 9281 9282
									"include": "#static_assert"
								},
								{
									"include": "#constructor_inline"
								},
								{
									"include": "#destructor_inline"
								},
								{
									"include": "$self"
9283 9284
								}
							]
A
Alex Ross 已提交
9285
						},
9286
						{
A
Alex Ross 已提交
9287 9288 9289 9290 9291
							"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
							"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {},
							"name": "meta.tail.class.cpp",
9292 9293
							"patterns": [
								{
A
Alex Ross 已提交
9294
									"match": "(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
9295 9296 9297 9298
									"captures": {
										"1": {
											"patterns": [
												{
A
Alex Ross 已提交
9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335
													"match": "\\*",
													"name": "storage.modifier.pointer.cpp"
												},
												{
													"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
													"captures": {
														"1": {
															"patterns": [
																{
																	"include": "source.cpp#inline_comment"
																}
															]
														},
														"2": {
															"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
														},
														"3": {
															"name": "comment.block.cpp"
														},
														"4": {
															"patterns": [
																{
																	"match": "\\*\\/",
																	"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
																},
																{
																	"match": "\\*",
																	"name": "comment.block.cpp"
																}
															]
														}
													},
													"name": "invalid.illegal.reference-type.cpp"
												},
												{
													"match": "\\&",
													"name": "storage.modifier.reference.cpp"
9336 9337 9338 9339
												}
											]
										},
										"2": {
A
Alex Ross 已提交
9340 9341 9342 9343 9344
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
9345 9346
										},
										"3": {
A
Alex Ross 已提交
9347
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
9348 9349
										},
										"4": {
A
Alex Ross 已提交
9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"6": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"7": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"8": {
											"name": "comment.block.cpp"
										},
										"9": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"10": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"11": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"12": {
											"name": "comment.block.cpp"
										},
										"13": {
9403 9404 9405 9406 9407 9408 9409 9410 9411 9412
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
A
Alex Ross 已提交
9413 9414 9415
										},
										"14": {
											"name": "entity.name.type.alias.cpp"
9416
										}
A
Alex Ross 已提交
9417
									}
9418 9419
								},
								{
A
Alex Ross 已提交
9420
									"match": ","
9421 9422
								}
							]
A
Alex Ross 已提交
9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441
						}
					]
				}
			]
		},
		"typedef_function_pointer": {
			"begin": "((?<!\\w)typedef(?!\\w))(?:(?:\\s)+)?(?=.*\\(\\*\\s*(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\s*\\))",
			"end": "(?<=;)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.other.typedef.cpp"
				}
			},
			"endCaptures": {},
			"patterns": [
				{
					"begin": "(\\s*+((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?:(?:(?:unsigned)|(?:signed)|(?:short)|(?:long))|(?:(?:struct)|(?:class)|(?:union)|(?:enum)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*((?:::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)(?:\\s)*+)?::)*+)?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?!(?:(?:transaction_safe_dynamic)|(?:__has_cpp_attribute)|(?:reinterpret_cast)|(?:transaction_safe)|(?:atomic_noexcept)|(?:atomic_commit)|(?:atomic_cancel)|(?:__has_include)|(?:dynamic_cast)|(?:synchronized)|(?:thread_local)|(?:static_cast)|(?:const_cast)|(?:constexpr)|(?:consteval)|(?:co_return)|(?:co_return)|(?:constexpr)|(?:protected)|(?:constexpr)|(?:namespace)|(?:noexcept)|(?:typename)|(?:decltype)|(?:template)|(?:operator)|(?:noexcept)|(?:co_yield)|(?:co_await)|(?:continue)|(?:co_await)|(?:co_yield)|(?:volatile)|(?:register)|(?:restrict)|(?:explicit)|(?:override)|(?:volatile)|(?:reflexpr)|(?:noexcept)|(?:requires)|(?:alignas)|(?:typedef)|(?:nullptr)|(?:alignof)|(?:mutable)|(?:concept)|(?:virtual)|(?:defined)|(?:__asm__)|(?:include)|(?:_Pragma)|(?:mutable)|(?:default)|(?:warning)|(?:private)|(?:module)|(?:return)|(?:not_eq)|(?:xor_eq)|(?:and_eq)|(?:ifndef)|(?:pragma)|(?:export)|(?:import)|(?:sizeof)|(?:static)|(?:delete)|(?:public)|(?:define)|(?:extern)|(?:inline)|(?:typeid)|(?:switch)|(?:friend)|(?:bitand)|(?:false)|(?:compl)|(?:bitor)|(?:throw)|(?:or_eq)|(?:while)|(?:catch)|(?:break)|(?:const)|(?:final)|(?:const)|(?:endif)|(?:ifdef)|(?:undef)|(?:error)|(?:using)|(?:audit)|(?:axiom)|(?:line)|(?:else)|(?:elif)|(?:true)|(?:NULL)|(?:case)|(?:goto)|(?:else)|(?:this)|(?:new)|(?:asm)|(?:not)|(?:and)|(?:xor)|(?:try)|(?:for)|(?:if)|(?:do)|(?:or)|(?:if))\\b)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*\\b((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<18>?)+>)?(?![\\w<:.]))(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()(\\*)(?:(?:\\s)+)?((?:(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*)?)(?:(?:\\s)+)?(?:(\\[)(\\w*)(\\])(?:(?:\\s)+)?)*(\\))(?:(?:\\s)+)?(\\()",
					"end": "(\\))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?=[{=,);>]|\\n)(?!\\()|(?=(?<!\\\\)\n)",
					"beginCaptures": {
9442
						"1": {
A
Alex Ross 已提交
9443
							"name": "meta.qualified_type.cpp",
9444 9445
							"patterns": [
								{
A
Alex Ross 已提交
9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493
									"match": "::",
									"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.cpp"
								},
								{
									"match": "(?<!\\w)(?:(?:struct)|(?:class)|(?:union)|(?:enum))(?!\\w)",
									"name": "storage.type.$0.cpp"
								},
								{
									"include": "#attributes_context"
								},
								{
									"include": "#storage_types"
								},
								{
									"include": "source.cpp#number_literal"
								},
								{
									"include": "#string_context"
								},
								{
									"include": "source.cpp#comma"
								},
								{
									"include": "source.cpp#scope_resolution_inner_generated"
								},
								{
									"begin": "<",
									"end": ">|(?=(?<!\\\\)\n)",
									"beginCaptures": {
										"0": {
											"name": "punctuation.section.angle-brackets.begin.template.call.cpp"
										}
									},
									"endCaptures": {
										"0": {
											"name": "punctuation.section.angle-brackets.end.template.call.cpp"
										}
									},
									"name": "meta.template.call.cpp",
									"patterns": [
										{
											"include": "#template_call_context"
										}
									]
								},
								{
									"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
									"name": "entity.name.type.cpp"
9494 9495 9496 9497
								}
							]
						},
						"2": {
A
Alex Ross 已提交
9498 9499 9500 9501 9502 9503 9504 9505
							"patterns": [
								{
									"include": "#attributes_context"
								},
								{
									"include": "source.cpp#number_literal"
								}
							]
9506 9507
						},
						"3": {
A
Alex Ross 已提交
9508 9509 9510 9511 9512
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
9513 9514
						},
						"4": {
A
Alex Ross 已提交
9515 9516 9517 9518 9519 9520
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"5": {
							"name": "comment.block.cpp"
						},
						"6": {
9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
A
Alex Ross 已提交
9532
						"7": {
9533 9534
							"patterns": [
								{
A
Alex Ross 已提交
9535
									"include": "source.cpp#inline_comment"
9536 9537 9538
								}
							]
						},
A
Alex Ross 已提交
9539
						"8": {
9540 9541
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
A
Alex Ross 已提交
9542
						"9": {
9543 9544
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9545
						"10": {
9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
A
Alex Ross 已提交
9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570
						"11": {
							"patterns": [
								{
									"match": "::",
									"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.type.cpp"
								},
								{
									"match": "(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",
									"name": "entity.name.scope-resolution.type.cpp"
								},
								{
									"include": "#template_call_range"
								}
							]
9571
						},
A
Alex Ross 已提交
9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590
						"12": {
							"patterns": [
								{
									"include": "#template_call_range"
								}
							]
						},
						"13": {},
						"14": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"15": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"16": {
9591 9592
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9593 9594 9595 9596 9597
						"17": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
9598
								},
A
Alex Ross 已提交
9599 9600
								{
									"match": "\\*",
9601
									"name": "comment.block.cpp"
A
Alex Ross 已提交
9602 9603 9604 9605 9606 9607 9608 9609 9610
								}
							]
						},
						"18": {},
						"19": {
							"patterns": [
								{
									"match": "\\*",
									"name": "storage.modifier.pointer.cpp"
9611
								},
A
Alex Ross 已提交
9612 9613 9614 9615 9616 9617 9618 9619 9620
								{
									"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
									"captures": {
										"1": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
9621
										},
A
Alex Ross 已提交
9622 9623 9624 9625
										"2": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"3": {
9626
											"name": "comment.block.cpp"
A
Alex Ross 已提交
9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638
										},
										"4": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
9639
										}
A
Alex Ross 已提交
9640 9641 9642 9643 9644 9645
									},
									"name": "invalid.illegal.reference-type.cpp"
								},
								{
									"match": "\\&",
									"name": "storage.modifier.reference.cpp"
9646
								}
A
Alex Ross 已提交
9647
							]
9648
						},
A
Alex Ross 已提交
9649 9650 9651 9652 9653 9654
						"20": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
9655
						},
A
Alex Ross 已提交
9656 9657
						"21": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
9658
						},
A
Alex Ross 已提交
9659
						"22": {
9660 9661
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672
						"23": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
9673
						},
A
Alex Ross 已提交
9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684
						"24": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"25": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"26": {
9685 9686
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709
						"27": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"28": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"29": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"30": {
9710
							"name": "comment.block.cpp"
A
Alex Ross 已提交
9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750
						},
						"31": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"32": {
							"name": "punctuation.section.parens.begin.bracket.round.function.pointer.cpp"
						},
						"33": {
							"name": "punctuation.definition.function.pointer.dereference.cpp"
						},
						"34": {
							"name": "entity.name.type.alias.cpp entity.name.type.pointer.function.cpp"
						},
						"35": {
							"name": "punctuation.definition.begin.bracket.square.cpp"
						},
						"36": {
							"patterns": [
								{
									"include": "#evaluation_context"
								}
							]
						},
						"37": {
							"name": "punctuation.definition.end.bracket.square.cpp"
						},
						"38": {
							"name": "punctuation.section.parens.end.bracket.round.function.pointer.cpp"
						},
						"39": {
							"name": "punctuation.section.parameters.begin.bracket.round.function.pointer.cpp"
9751
						}
A
Alex Ross 已提交
9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780
					},
					"endCaptures": {
						"1": {
							"name": "punctuation.section.parameters.end.bracket.round.function.pointer.cpp"
						},
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
							"name": "comment.block.cpp"
						},
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
9781
						}
A
Alex Ross 已提交
9782
					},
9783 9784
					"patterns": [
						{
A
Alex Ross 已提交
9785
							"include": "#function_parameter_context"
9786 9787 9788
						}
					]
				}
A
Alex Ross 已提交
9789
			]
9790
		},
A
Alex Ross 已提交
9791 9792 9793 9794
		"typedef_struct": {
			"begin": "((?<!\\w)typedef(?!\\w))(?:(?:\\s)+)?(?=(?<!\\w)struct(?!\\w))",
			"end": "(?<=;)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
9795
				"1": {
A
Alex Ross 已提交
9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806
					"name": "keyword.other.typedef.cpp"
				}
			},
			"endCaptures": {},
			"patterns": [
				{
					"begin": "((?<!\\w)struct(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?={)|(?:((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*+)?(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(:(?!:)))?)",
					"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "meta.head.struct.cpp"
9807
						},
A
Alex Ross 已提交
9808 9809
						"1": {
							"name": "storage.type.$1.cpp"
9810
						},
A
Alex Ross 已提交
9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
9822 9823
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9824 9825 9826 9827 9828
						"5": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
9829
								},
A
Alex Ross 已提交
9830 9831
								{
									"match": "\\*",
9832
									"name": "comment.block.cpp"
A
Alex Ross 已提交
9833 9834 9835 9836 9837 9838 9839
								}
							]
						},
						"6": {
							"patterns": [
								{
									"include": "#attributes_context"
9840
								},
A
Alex Ross 已提交
9841 9842
								{
									"include": "source.cpp#number_literal"
9843
								}
A
Alex Ross 已提交
9844
							]
9845
						},
A
Alex Ross 已提交
9846 9847 9848 9849 9850 9851
						"7": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
9852
						},
A
Alex Ross 已提交
9853 9854 9855 9856
						"8": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"9": {
9857 9858
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987
						"10": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"11": {
							"patterns": [
								{
									"match": "((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))",
									"captures": {
										"1": {
											"name": "storage.type.modifier.final.cpp"
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								},
								{
									"match": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?(?=:|{|$)",
									"captures": {
										"1": {
											"name": "entity.name.type.struct.cpp"
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"6": {
											"name": "storage.type.modifier.final.cpp"
										},
										"7": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"8": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"9": {
											"name": "comment.block.cpp"
										},
										"10": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								},
								{
									"match": "DLLEXPORT",
									"name": "entity.name.other.preprocessor.macro.predefined.DLLEXPORT.cpp"
								},
								{
									"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
									"name": "entity.name.other.preprocessor.macro.predefined.probably.$0.cpp"
								}
							]
						},
						"12": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"13": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"14": {
9988 9989
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012
						"15": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"16": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"17": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"18": {
10013
							"name": "comment.block.cpp"
A
Alex Ross 已提交
10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028
						},
						"19": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"20": {
							"name": "punctuation.separator.colon.inheritance.cpp"
10029
						}
A
Alex Ross 已提交
10030 10031 10032 10033
					},
					"endCaptures": {
						"1": {
							"name": "punctuation.terminator.statement.cpp"
10034
						},
A
Alex Ross 已提交
10035 10036
						"2": {
							"name": "punctuation.terminator.statement.cpp"
10037
						}
A
Alex Ross 已提交
10038 10039
					},
					"name": "meta.block.struct.cpp",
10040 10041
					"patterns": [
						{
A
Alex Ross 已提交
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061
							"begin": "\\G ?",
							"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.block.begin.bracket.curly.struct.cpp"
								}
							},
							"name": "meta.head.struct.cpp",
							"patterns": [
								{
									"include": "#ever_present_context"
								},
								{
									"include": "#inheritance_context"
								},
								{
									"include": "#template_call_range"
								}
							]
10062 10063
						},
						{
A
Alex Ross 已提交
10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089
							"begin": "(?<=\\{|<%|\\?\\?<)",
							"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.block.end.bracket.curly.struct.cpp"
								}
							},
							"name": "meta.body.struct.cpp",
							"patterns": [
								{
									"include": "#function_pointer"
								},
								{
									"include": "#static_assert"
								},
								{
									"include": "#constructor_inline"
								},
								{
									"include": "#destructor_inline"
								},
								{
									"include": "$self"
								}
							]
10090 10091
						},
						{
A
Alex Ross 已提交
10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227
							"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
							"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {},
							"name": "meta.tail.struct.cpp",
							"patterns": [
								{
									"match": "(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
									"captures": {
										"1": {
											"patterns": [
												{
													"match": "\\*",
													"name": "storage.modifier.pointer.cpp"
												},
												{
													"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
													"captures": {
														"1": {
															"patterns": [
																{
																	"include": "source.cpp#inline_comment"
																}
															]
														},
														"2": {
															"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
														},
														"3": {
															"name": "comment.block.cpp"
														},
														"4": {
															"patterns": [
																{
																	"match": "\\*\\/",
																	"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
																},
																{
																	"match": "\\*",
																	"name": "comment.block.cpp"
																}
															]
														}
													},
													"name": "invalid.illegal.reference-type.cpp"
												},
												{
													"match": "\\&",
													"name": "storage.modifier.reference.cpp"
												}
											]
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"6": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"7": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"8": {
											"name": "comment.block.cpp"
										},
										"9": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"10": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"11": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"12": {
											"name": "comment.block.cpp"
										},
										"13": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"14": {
											"name": "entity.name.type.alias.cpp"
										}
									}
								},
								{
									"match": ","
								}
							]
10228 10229 10230
						}
					]
				}
A
Alex Ross 已提交
10231
			]
10232
		},
A
Alex Ross 已提交
10233 10234 10235
		"typedef_union": {
			"begin": "((?<!\\w)typedef(?!\\w))(?:(?:\\s)+)?(?=(?<!\\w)union(?!\\w))",
			"end": "(?<=;)|(?=(?<!\\\\)\n)",
10236 10237
			"beginCaptures": {
				"1": {
A
Alex Ross 已提交
10238
					"name": "keyword.other.typedef.cpp"
10239 10240
				}
			},
A
Alex Ross 已提交
10241
			"endCaptures": {},
10242 10243
			"patterns": [
				{
A
Alex Ross 已提交
10244 10245 10246 10247 10248
					"begin": "((?<!\\w)union(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?={)|(?:((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*+)?(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(:(?!:)))?)",
					"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
					"beginCaptures": {
						"0": {
							"name": "meta.head.union.cpp"
10249
						},
A
Alex Ross 已提交
10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263
						"1": {
							"name": "storage.type.$1.cpp"
						},
						"2": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"3": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"4": {
10264 10265
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
10266
						"5": {
10267 10268
							"patterns": [
								{
A
Alex Ross 已提交
10269 10270
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
10271 10272
								},
								{
A
Alex Ross 已提交
10273 10274
									"match": "\\*",
									"name": "comment.block.cpp"
10275 10276 10277
								}
							]
						},
A
Alex Ross 已提交
10278 10279 10280 10281 10282 10283 10284 10285 10286
						"6": {
							"patterns": [
								{
									"include": "#attributes_context"
								},
								{
									"include": "source.cpp#number_literal"
								}
							]
10287
						},
A
Alex Ross 已提交
10288 10289 10290 10291 10292 10293
						"7": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
10294
						},
A
Alex Ross 已提交
10295 10296 10297 10298
						"8": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"9": {
10299
							"name": "comment.block.cpp"
A
Alex Ross 已提交
10300
						},
A
Alex Ross 已提交
10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311
						"10": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
10312
						},
A
Alex Ross 已提交
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417
						"11": {
							"patterns": [
								{
									"match": "((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))",
									"captures": {
										"1": {
											"name": "storage.type.modifier.final.cpp"
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								},
								{
									"match": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?(?=:|{|$)",
									"captures": {
										"1": {
											"name": "entity.name.type.union.cpp"
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"6": {
											"name": "storage.type.modifier.final.cpp"
										},
										"7": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"8": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"9": {
											"name": "comment.block.cpp"
										},
										"10": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										}
									}
								},
								{
									"match": "DLLEXPORT",
									"name": "entity.name.other.preprocessor.macro.predefined.DLLEXPORT.cpp"
								},
								{
									"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
									"name": "entity.name.other.preprocessor.macro.predefined.probably.$0.cpp"
								}
							]
10418
						},
A
Alex Ross 已提交
10419 10420 10421 10422 10423 10424
						"12": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
10425
						},
A
Alex Ross 已提交
10426 10427 10428 10429
						"13": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"14": {
10430 10431
							"name": "comment.block.cpp"
						},
A
Alex Ross 已提交
10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454
						"15": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"16": {
							"patterns": [
								{
									"include": "source.cpp#inline_comment"
								}
							]
						},
						"17": {
							"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
						},
						"18": {
10455
							"name": "comment.block.cpp"
A
Alex Ross 已提交
10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470
						},
						"19": {
							"patterns": [
								{
									"match": "\\*\\/",
									"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
								},
								{
									"match": "\\*",
									"name": "comment.block.cpp"
								}
							]
						},
						"20": {
							"name": "punctuation.separator.colon.inheritance.cpp"
10471
						}
A
Alex Ross 已提交
10472
					},
10473
					"endCaptures": {
10474
						"1": {
A
Alex Ross 已提交
10475 10476 10477 10478
							"name": "punctuation.terminator.statement.cpp"
						},
						"2": {
							"name": "punctuation.terminator.statement.cpp"
10479 10480
						}
					},
A
Alex Ross 已提交
10481
					"name": "meta.block.union.cpp",
10482 10483
					"patterns": [
						{
A
Alex Ross 已提交
10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503
							"begin": "\\G ?",
							"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.block.begin.bracket.curly.union.cpp"
								}
							},
							"name": "meta.head.union.cpp",
							"patterns": [
								{
									"include": "#ever_present_context"
								},
								{
									"include": "#inheritance_context"
								},
								{
									"include": "#template_call_range"
								}
							]
10504 10505
						},
						{
A
Alex Ross 已提交
10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531
							"begin": "(?<=\\{|<%|\\?\\?<)",
							"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {
								"0": {
									"name": "punctuation.section.block.end.bracket.curly.union.cpp"
								}
							},
							"name": "meta.body.union.cpp",
							"patterns": [
								{
									"include": "#function_pointer"
								},
								{
									"include": "#static_assert"
								},
								{
									"include": "#constructor_inline"
								},
								{
									"include": "#destructor_inline"
								},
								{
									"include": "$self"
								}
							]
10532 10533
						},
						{
A
Alex Ross 已提交
10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669
							"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
							"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
							"beginCaptures": {},
							"endCaptures": {},
							"name": "meta.tail.union.cpp",
							"patterns": [
								{
									"match": "(((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))?(?:(?:&|(?:\\*))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*(?:&|(?:\\*)))?((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",
									"captures": {
										"1": {
											"patterns": [
												{
													"match": "\\*",
													"name": "storage.modifier.pointer.cpp"
												},
												{
													"match": "(?:\\&((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))){2,}\\&",
													"captures": {
														"1": {
															"patterns": [
																{
																	"include": "source.cpp#inline_comment"
																}
															]
														},
														"2": {
															"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
														},
														"3": {
															"name": "comment.block.cpp"
														},
														"4": {
															"patterns": [
																{
																	"match": "\\*\\/",
																	"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
																},
																{
																	"match": "\\*",
																	"name": "comment.block.cpp"
																}
															]
														}
													},
													"name": "invalid.illegal.reference-type.cpp"
												},
												{
													"match": "\\&",
													"name": "storage.modifier.reference.cpp"
												}
											]
										},
										"2": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"3": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"4": {
											"name": "comment.block.cpp"
										},
										"5": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"6": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"7": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"8": {
											"name": "comment.block.cpp"
										},
										"9": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"10": {
											"patterns": [
												{
													"include": "source.cpp#inline_comment"
												}
											]
										},
										"11": {
											"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
										},
										"12": {
											"name": "comment.block.cpp"
										},
										"13": {
											"patterns": [
												{
													"match": "\\*\\/",
													"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
												},
												{
													"match": "\\*",
													"name": "comment.block.cpp"
												}
											]
										},
										"14": {
											"name": "entity.name.type.alias.cpp"
										}
									}
								},
								{
									"match": ","
								}
							]
A
Alex Ross 已提交
10670 10671
						}
					]
A
Alex Ross 已提交
10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682
				}
			]
		},
		"typeid_operator": {
			"begin": "((?<!\\w)typeid(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(\\()",
			"end": "\\)|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"1": {
					"name": "keyword.operator.functionlike.cpp keyword.operator.typeid.cpp"
				},
				"2": {
A
Alex Ross 已提交
10683 10684
					"patterns": [
						{
A
Alex Ross 已提交
10685
							"include": "source.cpp#inline_comment"
10686 10687 10688
						}
					]
				},
A
Alex Ross 已提交
10689 10690 10691 10692 10693 10694 10695
				"3": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"4": {
					"name": "comment.block.cpp"
				},
				"5": {
10696 10697
					"patterns": [
						{
A
Alex Ross 已提交
10698 10699 10700 10701 10702 10703
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
10704 10705
						}
					]
A
Alex Ross 已提交
10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719
				},
				"6": {
					"name": "punctuation.section.arguments.begin.bracket.round.operator.typeid.cpp"
				}
			},
			"endCaptures": {
				"0": {
					"name": "punctuation.section.arguments.end.bracket.round.operator.typeid.cpp"
				}
			},
			"contentName": "meta.arguments.operator.typeid",
			"patterns": [
				{
					"include": "#evaluation_context"
10720 10721 10722
				}
			]
		},
A
Alex Ross 已提交
10723 10724 10725 10726 10727 10728 10729
		"union_block": {
			"begin": "((?<!\\w)union(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:(?={)|(?:((?:(?:(?:\\[\\[.*?\\]\\]|__attribute(?:__)?\\s*\\(\\s*\\(.*?\\)\\s*\\))|__declspec\\(.*?\\))|alignas\\(.*?\\))(?!\\)))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?((?:(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))*+)?(?:((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(:(?!:)))?)",
			"end": "(?:(?:(?<=\\}|%>|\\?\\?>)(?:(?:\\s)+)?(;)|(;))|(?=[;>\\[\\]=]))|(?=(?<!\\\\)\n)",
			"beginCaptures": {
				"0": {
					"name": "meta.head.union.cpp"
				},
10730
				"1": {
A
Alex Ross 已提交
10731
					"name": "storage.type.$1.cpp"
10732 10733 10734 10735
				},
				"2": {
					"patterns": [
						{
A
Alex Ross 已提交
10736
							"include": "source.cpp#inline_comment"
10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758
						}
					]
				},
				"3": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"4": {
					"name": "comment.block.cpp"
				},
				"5": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"6": {
A
Alex Ross 已提交
10759 10760 10761 10762 10763 10764 10765 10766
					"patterns": [
						{
							"include": "#attributes_context"
						},
						{
							"include": "source.cpp#number_literal"
						}
					]
10767 10768 10769 10770
				},
				"7": {
					"patterns": [
						{
A
Alex Ross 已提交
10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785
							"include": "source.cpp#inline_comment"
						}
					]
				},
				"8": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"9": {
					"name": "comment.block.cpp"
				},
				"10": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
10786 10787
						},
						{
A
Alex Ross 已提交
10788 10789 10790 10791 10792 10793 10794 10795 10796
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"11": {
					"patterns": [
						{
							"match": "((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))",
10797 10798
							"captures": {
								"1": {
A
Alex Ross 已提交
10799 10800 10801
									"name": "storage.type.modifier.final.cpp"
								},
								"2": {
10802 10803
									"patterns": [
										{
A
Alex Ross 已提交
10804
											"include": "source.cpp#inline_comment"
10805 10806 10807
										}
									]
								},
A
Alex Ross 已提交
10808
								"3": {
10809 10810
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
A
Alex Ross 已提交
10811
								"4": {
10812 10813
									"name": "comment.block.cpp"
								},
A
Alex Ross 已提交
10814
								"5": {
10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
A
Alex Ross 已提交
10826
							}
10827 10828
						},
						{
A
Alex Ross 已提交
10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888
							"match": "((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z)))(?:((?<!\\w)final(?!\\w))((?:(?:(?:(?>(?:\\s)+)|(\\/\\*)((?:[^\\*]|(?:\\*)++[^\\/])*+((?:\\*)++\\/)))+)|(?:\\b)|(?=\\W)|(?<=\\W)|(?:\\A)|(?:\\Z))))?(?=:|{|$)",
							"captures": {
								"1": {
									"name": "entity.name.type.union.cpp"
								},
								"2": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"3": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"4": {
									"name": "comment.block.cpp"
								},
								"5": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								},
								"6": {
									"name": "storage.type.modifier.final.cpp"
								},
								"7": {
									"patterns": [
										{
											"include": "source.cpp#inline_comment"
										}
									]
								},
								"8": {
									"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
								},
								"9": {
									"name": "comment.block.cpp"
								},
								"10": {
									"patterns": [
										{
											"match": "\\*\\/",
											"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
										},
										{
											"match": "\\*",
											"name": "comment.block.cpp"
										}
									]
								}
							}
						},
10889
						{
A
Alex Ross 已提交
10890 10891
							"match": "DLLEXPORT",
							"name": "entity.name.other.preprocessor.macro.predefined.DLLEXPORT.cpp"
10892 10893
						},
						{
A
Alex Ross 已提交
10894 10895
							"match": "(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*",
							"name": "entity.name.other.preprocessor.macro.predefined.probably.$0.cpp"
10896 10897 10898 10899 10900 10901
						}
					]
				},
				"12": {
					"patterns": [
						{
A
Alex Ross 已提交
10902
							"include": "source.cpp#inline_comment"
10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926
						}
					]
				},
				"13": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"14": {
					"name": "comment.block.cpp"
				},
				"15": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"16": {
					"patterns": [
						{
A
Alex Ross 已提交
10927
							"include": "source.cpp#inline_comment"
10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949
						}
					]
				},
				"17": {
					"name": "comment.block.cpp punctuation.definition.comment.begin.cpp"
				},
				"18": {
					"name": "comment.block.cpp"
				},
				"19": {
					"patterns": [
						{
							"match": "\\*\\/",
							"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
						},
						{
							"match": "\\*",
							"name": "comment.block.cpp"
						}
					]
				},
				"20": {
A
Alex Ross 已提交
10950 10951 10952 10953 10954 10955
					"name": "punctuation.separator.colon.inheritance.cpp"
				}
			},
			"endCaptures": {
				"1": {
					"name": "punctuation.terminator.statement.cpp"
10956
				},
A
Alex Ross 已提交
10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972
				"2": {
					"name": "punctuation.terminator.statement.cpp"
				}
			},
			"name": "meta.block.union.cpp",
			"patterns": [
				{
					"begin": "\\G ?",
					"end": "(?:\\{|<%|\\?\\?<|(?=;))|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.begin.bracket.curly.union.cpp"
						}
					},
					"name": "meta.head.union.cpp",
10973 10974
					"patterns": [
						{
A
Alex Ross 已提交
10975 10976 10977 10978 10979 10980 10981
							"include": "#ever_present_context"
						},
						{
							"include": "#inheritance_context"
						},
						{
							"include": "#template_call_range"
10982 10983 10984
						}
					]
				},
A
Alex Ross 已提交
10985 10986 10987 10988 10989 10990 10991 10992 10993 10994
				{
					"begin": "(?<=\\{|<%|\\?\\?<)",
					"end": "\\}|%>|\\?\\?>|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {
						"0": {
							"name": "punctuation.section.block.end.bracket.curly.union.cpp"
						}
					},
					"name": "meta.body.union.cpp",
10995 10996
					"patterns": [
						{
A
Alex Ross 已提交
10997
							"include": "#function_pointer"
10998 10999
						},
						{
A
Alex Ross 已提交
11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021
							"include": "#static_assert"
						},
						{
							"include": "#constructor_inline"
						},
						{
							"include": "#destructor_inline"
						},
						{
							"include": "$self"
						}
					]
				},
				{
					"begin": "(?<=\\}|%>|\\?\\?>)[\\s]*",
					"end": "[\\s]*(?=;)|(?=(?<!\\\\)\n)",
					"beginCaptures": {},
					"endCaptures": {},
					"name": "meta.tail.union.cpp",
					"patterns": [
						{
							"include": "$self"
11022 11023 11024
						}
					]
				}
A
Alex Ross 已提交
11025
			]
11026
		},
A
Alex Ross 已提交
11027
		"using_namespace": {
A
Alex Ross 已提交
11028 11029
			"begin": "(?<!\\w)(using)(?:\\s)+(namespace)(?:\\s)+((::)?(?:(?!\\b(?:__has_cpp_attribute|reinterpret_cast|atomic_noexcept|atomic_commit|atomic_cancel|__has_include|synchronized|dynamic_cast|thread_local|static_cast|const_cast|co_return|constexpr|constexpr|constexpr|co_return|protected|namespace|consteval|noexcept|decltype|template|operator|noexcept|co_yield|co_await|reflexpr|continue|co_await|co_yield|requires|volatile|register|restrict|explicit|volatile|noexcept|typename|default|_Pragma|mutable|include|concept|alignas|virtual|alignof|__asm__|defined|mutable|typedef|warning|private|and_eq|define|pragma|typeid|switch|bitand|return|ifndef|export|struct|sizeof|module|static|public|extern|inline|friend|delete|xor_eq|import|not_eq|class|compl|bitor|throw|or_eq|while|catch|break|union|const|const|endif|ifdef|undef|error|using|else|line|goto|else|elif|this|enum|case|new|asm|not|try|for|and|xor|or|if|do|if)\\b)(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)\\s*+(((?<!<)<(?!<)(?:(?:(?:[^'\"<>]*+|\"(?:[^\"]*|\\\\\")\")|'(?:[^']*|\\\\')')\\g<6>?)+>)(?:\\s)*+)?::)*\\s*+)?((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))(?=;|\\n)",
			"end": ";|(?=(?<!\\\\)\n)",
11030 11031
			"beginCaptures": {
				"1": {
A
Alex Ross 已提交
11032
					"name": "keyword.other.using.directive.cpp"
11033
				},
A
Alex Ross 已提交
11034 11035
				"2": {
					"name": "keyword.other.namespace.directive.cpp storage.type.namespace.directive.cpp"
11036
				},
A
Alex Ross 已提交
11037 11038 11039
				"3": {
					"patterns": [
						{
A
Alex Ross 已提交
11040
							"include": "source.cpp#scope_resolution_namespace_using_inner_generated"
A
Alex Ross 已提交
11041 11042
						}
					]
11043
				},
A
Alex Ross 已提交
11044 11045
				"4": {
					"name": "punctuation.separator.namespace.access.cpp punctuation.separator.scope-resolution.namespace.using.cpp"
11046
				},
A
Alex Ross 已提交
11047
				"5": {
A
Alex Ross 已提交
11048 11049 11050 11051 11052 11053
					"patterns": [
						{
							"include": "#template_call_range"
						}
					]
				},
A
Alex Ross 已提交
11054 11055
				"6": {},
				"7": {
A
Alex Ross 已提交
11056
					"name": "entity.name.namespace.cpp"
11057
				}
A
Alex Ross 已提交
11058 11059
			},
			"endCaptures": {
A
Alex Ross 已提交
11060
				"0": {
A
Alex Ross 已提交
11061 11062
					"name": "punctuation.terminator.statement.cpp"
				}
A
Alex Ross 已提交
11063 11064
			},
			"name": "meta.using-namespace.cpp"
11065 11066
		}
	}
A
Alex Ross 已提交
11067
}