tm-grammars 1.22.18 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +287 -1
- package/README.md +241 -239
- package/grammars/abap.json +36 -36
- package/grammars/actionscript-3.json +29 -29
- package/grammars/ada.json +78 -78
- package/grammars/angular-expression.json +62 -62
- package/grammars/angular-html.json +0 -1
- package/grammars/angular-inline-style.json +3 -3
- package/grammars/angular-inline-template.json +2 -2
- package/grammars/angular-template-blocks.json +3 -3
- package/grammars/angular-template.json +1 -1
- package/grammars/angular-ts.json +251 -251
- package/grammars/apache.json +31 -31
- package/grammars/apex.json +108 -108
- package/grammars/apl.json +18 -18
- package/grammars/applescript.json +11 -11
- package/grammars/ara.json +13 -13
- package/grammars/asciidoc.json +234 -234
- package/grammars/asm.json +90 -90
- package/grammars/astro.json +25 -25
- package/grammars/awk.json +8 -8
- package/grammars/ballerina.json +150 -150
- package/grammars/bat.json +28 -28
- package/grammars/beancount.json +33 -33
- package/grammars/berry.json +11 -11
- package/grammars/bibtex.json +12 -12
- package/grammars/bicep.json +12 -12
- package/grammars/blade.json +183 -183
- package/grammars/bsl.json +58 -58
- package/grammars/c.json +162 -162
- package/grammars/cadence.json +20 -20
- package/grammars/cairo.json +10 -10
- package/grammars/clarity.json +20 -20
- package/grammars/clojure.json +25 -25
- package/grammars/cmake.json +3 -3
- package/grammars/cobol.json +91 -91
- package/grammars/codeql.json +154 -154
- package/grammars/coffee.json +45 -45
- package/grammars/common-lisp.json +50 -50
- package/grammars/coq.json +10 -10
- package/grammars/cpp-macro.json +410 -410
- package/grammars/cpp.json +641 -641
- package/grammars/crystal.json +68 -68
- package/grammars/csharp.json +196 -196
- package/grammars/css.json +83 -83
- package/grammars/csv.json +1 -1
- package/grammars/cue.json +55 -55
- package/grammars/cypher.json +11 -11
- package/grammars/d.json +127 -32
- package/grammars/dart.json +18 -18
- package/grammars/dax.json +9 -9
- package/grammars/desktop.json +9 -9
- package/grammars/diff.json +3 -3
- package/grammars/dotenv.json +3 -3
- package/grammars/dream-maker.json +20 -20
- package/grammars/edge.json +8 -8
- package/grammars/elixir.json +44 -44
- package/grammars/elm.json +23 -23
- package/grammars/emacs-lisp.json +76 -76
- package/grammars/erb.json +2 -2
- package/grammars/erlang.json +29 -29
- package/grammars/es-tag-css.json +3 -3
- package/grammars/es-tag-glsl.json +3 -3
- package/grammars/es-tag-html.json +3 -3
- package/grammars/es-tag-sql.json +2 -2
- package/grammars/es-tag-xml.json +2 -2
- package/grammars/fennel.json +8 -8
- package/grammars/fish.json +10 -10
- package/grammars/fluent.json +10 -10
- package/grammars/fortran-fixed-form.json +1 -1
- package/grammars/fortran-free-form.json +106 -106
- package/grammars/fsharp.json +70 -70
- package/grammars/gdresource.json +15 -15
- package/grammars/gdscript.json +31 -27
- package/grammars/gdshader.json +18 -18
- package/grammars/genie.json +6 -6
- package/grammars/gherkin.json +1 -1
- package/grammars/git-commit.json +1 -1
- package/grammars/git-rebase.json +1 -1
- package/grammars/gleam.json +11 -11
- package/grammars/glimmer-js.json +35 -35
- package/grammars/glimmer-ts.json +35 -35
- package/grammars/glsl.json +4 -4
- package/grammars/gnuplot.json +41 -41
- package/grammars/go.json +155 -155
- package/grammars/graphql.json +20 -20
- package/grammars/groovy.json +44 -44
- package/grammars/hack.json +74 -74
- package/grammars/haml.json +24 -24
- package/grammars/handlebars.json +25 -25
- package/grammars/haskell.json +99 -99
- package/grammars/haxe.json +51 -51
- package/grammars/hcl.json +43 -43
- package/grammars/hjson.json +29 -29
- package/grammars/hlsl.json +15 -15
- package/grammars/html-derivative.json +0 -1
- package/grammars/html.json +28 -29
- package/grammars/http.json +17 -17
- package/grammars/hxml.json +3 -3
- package/grammars/hy.json +10 -10
- package/grammars/imba.json +168 -173
- package/grammars/ini.json +2 -2
- package/grammars/java.json +54 -54
- package/grammars/javascript.json +262 -262
- package/grammars/jinja-html.json +3 -3
- package/grammars/jinja.json +15 -15
- package/grammars/jison.json +18 -18
- package/grammars/json.json +6 -6
- package/grammars/json5.json +12 -12
- package/grammars/jsonc.json +6 -6
- package/grammars/jsonl.json +6 -6
- package/grammars/jsonnet.json +15 -15
- package/grammars/jssm.json +4 -4
- package/grammars/jsx.json +262 -262
- package/grammars/julia.json +45 -45
- package/grammars/kotlin.json +15 -15
- package/grammars/kusto.json +13 -13
- package/grammars/latex.json +260 -260
- package/grammars/lean.json +12 -12
- package/grammars/less.json +91 -91
- package/grammars/liquid.json +96 -62
- package/grammars/llvm.json +122 -0
- package/grammars/log.json +22 -22
- package/grammars/logo.json +2 -2
- package/grammars/lua.json +34 -34
- package/grammars/luau.json +20 -20
- package/grammars/make.json +22 -22
- package/grammars/markdown-vue.json +1 -1
- package/grammars/markdown.json +83 -83
- package/grammars/marko.json +19 -19
- package/grammars/matlab.json +29 -29
- package/grammars/mdc.json +17 -17
- package/grammars/mdx.json +278 -278
- package/grammars/mermaid.json +97 -97
- package/grammars/mipsasm.json +2 -2
- package/grammars/mojo.json +122 -122
- package/grammars/move.json +35 -35
- package/grammars/narrat.json +10 -10
- package/grammars/nextflow.json +11 -11
- package/grammars/nginx.json +45 -45
- package/grammars/nim.json +44 -44
- package/grammars/nix.json +71 -71
- package/grammars/nushell.json +36 -36
- package/grammars/objective-c.json +129 -129
- package/grammars/objective-cpp.json +245 -245
- package/grammars/ocaml.json +229 -229
- package/grammars/pascal.json +4 -4
- package/grammars/perl.json +64 -64
- package/grammars/php.json +199 -199
- package/grammars/plsql.json +10 -10
- package/grammars/po.json +4 -4
- package/grammars/polar.json +13 -13
- package/grammars/postcss.json +31 -31
- package/grammars/powerquery.json +10 -10
- package/grammars/powershell.json +54 -54
- package/grammars/prisma.json +13 -13
- package/grammars/prolog.json +3 -3
- package/grammars/proto.json +11 -11
- package/grammars/pug.json +30 -30
- package/grammars/puppet.json +35 -35
- package/grammars/purescript.json +843 -467
- package/grammars/python.json +126 -126
- package/grammars/qml.json +18 -18
- package/grammars/qss.json +7 -7
- package/grammars/r.json +17 -17
- package/grammars/racket.json +58 -58
- package/grammars/raku.json +15 -15
- package/grammars/razor.json +30 -30
- package/grammars/reg.json +3 -3
- package/grammars/regexp.json +15 -15
- package/grammars/rel.json +4 -4
- package/grammars/riscv.json +15 -15
- package/grammars/rst.json +26 -26
- package/grammars/ruby.json +103 -106
- package/grammars/rust.json +13 -13
- package/grammars/sas.json +9 -9
- package/grammars/sass.json +35 -35
- package/grammars/scala.json +75 -75
- package/grammars/scheme.json +16 -16
- package/grammars/scss.json +68 -68
- package/grammars/sdbl.json +18 -18
- package/grammars/shaderlab.json +8 -8
- package/grammars/shellscript.json +111 -111
- package/grammars/shellsession.json +1 -1
- package/grammars/smalltalk.json +5 -5
- package/grammars/solidity.json +20 -20
- package/grammars/soy.json +30 -30
- package/grammars/sparql.json +1 -1
- package/grammars/splunk.json +6 -6
- package/grammars/sql.json +8 -8
- package/grammars/ssh-config.json +2 -2
- package/grammars/stata.json +90 -90
- package/grammars/stylus.json +48 -48
- package/grammars/svelte.json +35 -25
- package/grammars/swift.json +114 -114
- package/grammars/system-verilog.json +25 -25
- package/grammars/systemd.json +16 -16
- package/grammars/talonscript.json +12 -12
- package/grammars/tasl.json +10 -10
- package/grammars/tcl.json +11 -11
- package/grammars/templ.json +34 -34
- package/grammars/terraform.json +42 -42
- package/grammars/tex.json +14 -14
- package/grammars/toml.json +15 -15
- package/grammars/tsx.json +262 -262
- package/grammars/turtle.json +2 -2
- package/grammars/twig.json +37 -37
- package/grammars/typescript.json +251 -251
- package/grammars/typespec.json +54 -273
- package/grammars/typst.json +34 -34
- package/grammars/v.json +32 -32
- package/grammars/vala.json +6 -6
- package/grammars/vb.json +7 -7
- package/grammars/verilog.json +4 -4
- package/grammars/vhdl.json +10 -10
- package/grammars/viml.json +22 -22
- package/grammars/vue-html.json +10 -10
- package/grammars/vue-sfc-style-variable-injection.json +1 -1
- package/grammars/vue.json +65 -65
- package/grammars/vyper.json +126 -126
- package/grammars/wasm.json +26 -26
- package/grammars/wenyan.json +7 -7
- package/grammars/wgsl.json +9 -9
- package/grammars/wikitext.json +66 -66
- package/grammars/wit.json +1409 -0
- package/grammars/wolfram.json +446 -446
- package/grammars/xml.json +11 -11
- package/grammars/xsl.json +1 -1
- package/grammars/yaml.json +24 -24
- package/grammars/zenscript.json +8 -8
- package/grammars/zig.json +11 -11
- package/index.d.ts +7 -0
- package/index.js +1226 -506
- package/package.json +1 -1
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
],
|
|
105
105
|
"repository": {
|
|
106
106
|
"anonymous_pattern_1": {
|
|
107
|
-
"begin": "((@)(interface|protocol))(?!.+;)\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*((:)
|
|
107
|
+
"begin": "((@)(interface|protocol))(?!.+;)\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*((:)\\s*([A-Za-z][A-Za-z0-9]*))?([\\s\\n])?",
|
|
108
108
|
"captures": {
|
|
109
109
|
"1": {
|
|
110
110
|
"name": "storage.type.objcpp"
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"name": "punctuation.separator.arguments.objcpp"
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
|
-
"match": "\\b(?:[a-zA-Z_:]
|
|
194
|
+
"match": "\\b(?:[a-zA-Z_:]\\w*)+",
|
|
195
195
|
"name": "support.function.any-method.name-of-parameter.objcpp"
|
|
196
196
|
}
|
|
197
197
|
]
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"name": "support.function.cocoa.objcpp"
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
|
-
"match": "(\\s*)\\b(NS(R(ound(DownToMultipleOfPageSize|UpToMultipleOfPageSize)|un(CriticalAlertPanel(RelativeToWindow)?|InformationalAlertPanel(RelativeToWindow)?|AlertPanel(RelativeToWindow)?)|e(set(MapTable|HashTable)|c(ycleZone|t(Clip(List)?|F(ill(UsingOperation|List(UsingOperation|With(Grays|Colors(UsingOperation)?))?)?|romString))|ordAllocationEvent)|turnAddress|leaseAlertPanel|a(dPixel|l(MemoryAvailable|locateCollectable))|gisterServicesProvider)|angeFromString)|Get(SizeAndAlignment|CriticalAlertPanel|InformationalAlertPanel|UncaughtExceptionHandler|FileType(s)?|WindowServerMemory|AlertPanel)|M(i(n(
|
|
236
|
+
"match": "(\\s*)\\b(NS(R(ound(DownToMultipleOfPageSize|UpToMultipleOfPageSize)|un(CriticalAlertPanel(RelativeToWindow)?|InformationalAlertPanel(RelativeToWindow)?|AlertPanel(RelativeToWindow)?)|e(set(MapTable|HashTable)|c(ycleZone|t(Clip(List)?|F(ill(UsingOperation|List(UsingOperation|With(Grays|Colors(UsingOperation)?))?)?|romString))|ordAllocationEvent)|turnAddress|leaseAlertPanel|a(dPixel|l(MemoryAvailable|locateCollectable))|gisterServicesProvider)|angeFromString)|Get(SizeAndAlignment|CriticalAlertPanel|InformationalAlertPanel|UncaughtExceptionHandler|FileType(s)?|WindowServerMemory|AlertPanel)|M(i(n([XY])|d([XY]))|ouseInRect|a(p(Remove|Get|Member|Insert(IfAbsent|KnownAbsent)?)|ke(R(ect|ange)|Size|Point)|x(Range|[XY])))|B(itsPer(SampleFromDepth|PixelFromDepth)|e(stDepth|ep|gin(CriticalAlertSheet|InformationalAlertSheet|AlertSheet)))|S(ho(uldRetainWithZone|w(sServicesMenuItem|AnimationEffect))|tringFrom(R(ect|ange)|MapTable|S(ize|elector)|HashTable|Class|Point)|izeFromString|e(t(ShowsServicesMenuItem|ZoneName|UncaughtExceptionHandler|FocusRingStyle)|lectorFromString|archPathForDirectoriesInDomains)|wap(Big(ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(ToHost|LongToHost))|Short|Host(ShortTo(Big|Little)|IntTo(Big|Little)|DoubleTo(Big|Little)|FloatTo(Big|Little)|Long(To(Big|Little)|LongTo(Big|Little)))|Int|Double|Float|L(ittle(ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(ToHost|LongToHost))|ong(Long)?)))|H(ighlightRect|o(stByteOrder|meDirectory(ForUser)?)|eight|ash(Remove|Get|Insert(IfAbsent|KnownAbsent)?)|FSType(CodeFromFileType|OfFile))|N(umberOfColorComponents|ext(MapEnumeratorPair|HashEnumeratorItem))|C(o(n(tainsRect|vert(GlyphsToPackedGlyphs|Swapped(DoubleToHost|FloatToHost)|Host(DoubleToSwapped|FloatToSwapped)))|unt(MapTable|HashTable|Frames|Windows(ForContext)?)|py(M(emoryPages|apTableWithZone)|Bits|HashTableWithZone|Object)|lorSpaceFromDepth|mpare(MapTables|HashTables))|lassFromString|reate(MapTable(WithZone)?|HashTable(WithZone)?|Zone|File(namePboardType|ContentsPboardType)))|TemporaryDirectory|I(s(ControllerMarker|EmptyRect|FreedObject)|n(setRect|crementExtraRefCount|te(r(sect(sRect|ionR(ect|ange))|faceStyleForKey)|gralRect)))|Zone(Realloc|Malloc|Name|Calloc|Fr(omPointer|ee))|O(penStepRootDirectory|ffsetRect)|D(i(sableScreenUpdates|videRect)|ottedFrameRect|e(c(imal(Round|Multiply|S(tring|ubtract)|Normalize|Co(py|mpa(ct|re))|IsNotANumber|Divide|Power|Add)|rementExtraRefCountWasZero)|faultMallocZone|allocate(MemoryPages|Object))|raw(Gr(oove|ayBezel)|B(itmap|utton)|ColorTiledRects|TiledRects|DarkBezel|W(hiteBezel|indowBackground)|LightBezel))|U(serName|n(ionR(ect|ange)|registerServicesProvider)|pdateDynamicServices)|Java(Bundle(Setup|Cleanup)|Setup(VirtualMachine)?|Needs(ToLoadClasses|VirtualMachine)|ClassesF(orBundle|romPath)|ObjectNamedInPath|ProvidesClasses)|P(oint(InRect|FromString)|erformService|lanarFromDepth|ageSize)|E(n(d(MapTableEnumeration|HashTableEnumeration)|umerate(MapTable|HashTable)|ableScreenUpdates)|qual(R(ects|anges)|Sizes|Points)|raseRect|xtraRefCount)|F(ileTypeForHFSTypeCode|ullUserName|r(ee(MapTable|HashTable)|ame(Rect(WithWidth(UsingOperation)?)?|Address)))|Wi(ndowList(ForContext)?|dth)|Lo(cationInRange|g(v|PageSize)?)|A(ccessibility(R(oleDescription(ForUIElement)?|aiseBadArgumentException)|Unignored(Children(ForOnlyChild)?|Descendant|Ancestor)|PostNotification|ActionDescription)|pplication(Main|Load)|vailableWindowDepths|ll(MapTable(Values|Keys)|HashTableObjects|ocate(MemoryPages|Collectable|Object)))))\\b"
|
|
237
237
|
},
|
|
238
238
|
"anonymous_pattern_2": {
|
|
239
239
|
"begin": "((@)(implementation))\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*(?::\\s*([A-Za-z][A-Za-z0-9]*))?",
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
"include": "#string_escaped_char"
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
|
-
"match": "%(\\d+\\$)?[#0\\- +']*((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)
|
|
322
|
+
"match": "%(\\d+\\$)?[#0\\- +']*((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?@",
|
|
323
323
|
"name": "constant.other.placeholder.objcpp"
|
|
324
324
|
},
|
|
325
325
|
{
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
]
|
|
329
329
|
},
|
|
330
330
|
"anonymous_pattern_30": {
|
|
331
|
-
"match": "\\bNS(R(GB(ModeColorPanel|ColorSpaceModel)|ight(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey)|ound(RectBezelStyle|Bankers|ed(BezelStyle|TokenStyle|DisclosureBezelStyle)|Down|Up|Plain|Line(CapStyle|JoinStyle))|un(StoppedResponse|ContinuesResponse|AbortedResponse)|e(s(izableWindowMask|et(CursorRectsRunLoopOrdering|FunctionKey))|ce(ssedBezelStyle|iver(sCantHandleCommandScriptError|EvaluationScriptError))|turnTextMovement|doFunctionKey|quiredArgumentsMissingScriptError|l(evancyLevelIndicatorStyle|ative(Before|After))|gular(SquareBezelStyle|ControlSize)|moveTraitFontAction)|a(n(domSubelement|geDateMode)|tingLevelIndicatorStyle|dio(ModeMatrix|Button)))|G(IFFileType|lyph(Below|Inscribe(B(elow|ase)|Over(strike|Below)|Above)|Layout(WithPrevious|A(tAPoint|gainstAPoint))|A(ttribute(BidiLevel|Soft|Inscribe|Elastic)|bove))|r(ooveBorder|eaterThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|a(y(ModeColorPanel|ColorSpaceModel)|dient(None|Con(cave(Strong|Weak)|vex(Strong|Weak)))|phiteControlTint)))|XML(N(o(tationDeclarationKind|de(CompactEmptyElement|IsCDATA|OptionsNone|Use(SingleQuotes|DoubleQuotes)|Pre(serve(NamespaceOrder|C(haracterReferences|DATA)|DTD|Prefixes|E(ntities|mptyElements)|Quotes|Whitespace|A(ttributeOrder|ll))|ttyPrint)|ExpandEmptyElement))|amespaceKind)|CommentKind|TextKind|InvalidKind|D(ocument(X(MLKind|HTMLKind|Include)|HTMLKind|T(idy(XML|HTML)|extKind)|IncludeContentTypeDeclaration|Validate|Kind)|TDKind)|P(arser(GTRequiredError|XMLDeclNot(StartedError|FinishedError)|Mi(splaced(XMLDeclarationError|CDATAEndStringError)|xedContentDeclNot(StartedError|FinishedError))|S(t(andaloneValueError|ringNot(StartedError|ClosedError))|paceRequiredError|eparatorRequiredError)|N(MTOKENRequiredError|o(t(ationNot(StartedError|FinishedError)|WellBalancedError)|DTDError)|amespaceDeclarationError|AMERequiredError)|C(haracterRef(In(DTDError|PrologError|EpilogError)|AtEOFError)|o(nditionalSectionNot(StartedError|FinishedError)|mment(NotFinishedError|ContainsDoubleHyphenError))|DATANotFinishedError)|TagNameMismatchError|In(ternalError|valid(HexCharacterRefError|C(haracter(RefError|InEntityError|Error)|onditionalSectionError)|DecimalCharacterRefError|URIError|Encoding(NameError|Error)))|OutOfMemoryError|D(ocumentStartError|elegateAbortedParseError|OCTYPEDeclNotFinishedError)|U(RI(RequiredError|FragmentError)|n(declaredEntityError|parsedEntityError|knownEncodingError|finishedTagError))|P(CDATARequiredError|ublicIdentifierRequiredError|arsedEntityRef(MissingSemiError|NoNameError|In(Internal(SubsetError|Error)|PrologError|EpilogError)|AtEOFError)|r(ocessingInstructionNot(StartedError|FinishedError)|ematureDocumentEndError))|E(n(codingNotSupportedError|tity(Ref(In(DTDError|PrologError|EpilogError)|erence(MissingSemiError|WithoutNameError)|LoopError|AtEOFError)|BoundaryError|Not(StartedError|FinishedError)|Is(ParameterError|ExternalError)|ValueRequiredError))|qualExpectedError|lementContentDeclNot(StartedError|FinishedError)|xt(ernalS(tandaloneEntityError|ubsetNotFinishedError)|raContentError)|mptyDocumentError)|L(iteralNot(StartedError|FinishedError)|T(RequiredError|SlashRequiredError)|essThanSymbolInAttributeError)|Attribute(RedefinedError|HasNoValueError|Not(StartedError|FinishedError)|ListNot(StartedError|FinishedError)))|rocessingInstructionKind)|E(ntity(GeneralKind|DeclarationKind|UnparsedKind|P(ar(sedKind|ameterKind)|redefined))|lement(Declaration(MixedKind|UndefinedKind|E(lementKind|mptyKind)|Kind|AnyKind)|Kind))|Attribute(N(MToken(sKind|Kind)|otationKind)|CDATAKind|ID(Ref(sKind|Kind)|Kind)|DeclarationKind|En(tit(yKind|iesKind)|umerationKind)|Kind))|M(i(n(XEdge|iaturizableWindowMask|YEdge|uteCalendarUnit)|terLineJoinStyle|ddleSubelement|xedState)|o(nthCalendarUnit|deSwitchFunctionKey|use(Moved(Mask)?|E(ntered(Mask)?|ventSubtype|xited(Mask)?))|veToBezierPathElement|mentary(ChangeButton|Push(Button|InButton)|Light(Button)?))|enuFunctionKey|a(c(intoshInterfaceStyle|OSRomanStringEncoding)|tchesPredicateOperatorType|ppedRead|x(XEdge|YEdge))|ACHOperatingSystem)|B(MPFileType|o(ttomTabsBezelBorder|ldFontMask|rderlessWindowMask|x(Se(condary|parator)|OldStyle|Primary))|uttLineCapStyle|e(zelBorder|velLineJoinStyle|low(Bottom|Top)|gin(sWith(Comparison|PredicateOperatorType)|FunctionKey))|lueControlTint|ack(spaceCharacter|tabTextMovement|ingStore(Retained|Buffered|Nonretained)|TabCharacter|wardsSearch|groundTab)|r(owser(NoColumnResizing|UserColumnResizing|AutoColumnResizing)|eakFunctionKey))|S(h(ift(JISStringEncoding|KeyMask)|ow(ControlGlyphs|InvisibleGlyphs)|adowlessSquareBezelStyle)|y(s(ReqFunctionKey|tem(D(omainMask|efined(Mask)?)|FunctionKey))|mbolStringEncoding)|c(a(nnedOption|le(None|ToFit|Proportionally))|r(oll(er(NoPart|Increment(Page|Line|Arrow)|Decrement(Page|Line|Arrow)|Knob(Slot)?|Arrows(M(inEnd|axEnd)|None|DefaultSetting))|Wheel(Mask)?|LockFunctionKey)|eenChangedEventType))|t(opFunctionKey|r(ingDrawing(OneShot|DisableScreenFontSubstitution|Uses(DeviceMetrics|FontLeading|LineFragmentOrigin))|eam(Status(Reading|NotOpen|Closed|Open(ing)?|Error|Writing|AtEnd)|Event(Has(BytesAvailable|SpaceAvailable)|None|OpenCompleted|E(ndEncountered|rrorOccurred)))))|i(ngle(DateMode|UnderlineStyle)|ze(DownFontAction|UpFontAction))|olarisOperatingSystem|unOSOperatingSystem|pecialPageOrder|e(condCalendarUnit|lect(By(Character|Paragraph|Word)|i(ng(Next|Previous)|onAffinity(Downstream|Upstream))|edTab|FunctionKey)|gmentSwitchTracking(Momentary|Select(One|Any)))|quareLineCapStyle|witchButton|ave(ToOperation|Op(tions(Yes|No|Ask)|eration)|AsOperation)|mall(SquareBezelStyle|C(ontrolSize|apsFontMask)|IconButtonBezelStyle))|H(ighlightModeMatrix|SBModeColorPanel|o(ur(Minute(SecondDatePickerElementFlag|DatePickerElementFlag)|CalendarUnit)|rizontalRuler|meFunctionKey)|TTPCookieAcceptPolicy(Never|OnlyFromMainDocumentDomain|Always)|e(lp(ButtonBezelStyle|KeyMask|FunctionKey)|avierFontAction)|PUXOperatingSystem)|Year(MonthDa(yDatePickerElementFlag|tePickerElementFlag)|CalendarUnit)|N(o(n(StandardCharacterSetFontMask|ZeroWindingRule|activatingPanelMask|LossyASCIIStringEncoding)|Border|t(ification(SuspensionBehavior(Hold|Coalesce|D(eliverImmediately|rop))|NoCoalescing|CoalescingOn(Sender|Name)|DeliverImmediately|PostToAllSessions)|PredicateType|EqualToPredicateOperatorType)|S(cr(iptError|ollerParts)|ubelement|pecifierError)|CellMask|T(itle|opLevelContainersSpecifierError|abs(BezelBorder|NoBorder|LineBorder))|I(nterfaceStyle|mage)|UnderlineStyle|FontChangeAction)|u(ll(Glyph|CellType)|m(eric(Search|PadKeyMask)|berFormatter(Round(Half(Down|Up|Even)|Ceiling|Down|Up|Floor)|Behavior(10|Default)|S(cientificStyle|pellOutStyle)|NoStyle|CurrencyStyle|DecimalStyle|P(ercentStyle|ad(Before(Suffix|Prefix)|After(Suffix|Prefix))))))|e(t(Services(BadArgumentError|NotFoundError|C(ollisionError|ancelledError)|TimeoutError|InvalidError|UnknownError|ActivityInProgress)|workDomainMask)|wlineCharacter|xt(StepInterfaceStyle|FunctionKey))|EXTSTEPStringEncoding|a(t(iveShortGlyphPacking|uralTextAlignment)|rrowFontMask))|C(hange(ReadOtherContents|GrayCell(Mask)?|BackgroundCell(Mask)?|Cleared|Done|Undone|Autosaved)|MYK(ModeColorPanel|ColorSpaceModel)|ircular(BezelStyle|Slider)|o(n(stantValueExpressionType|t(inuousCapacityLevelIndicatorStyle|entsCellMask|ain(sComparison|erSpecifierError)|rol(Glyph|KeyMask))|densedFontMask)|lor(Panel(RGBModeMask|GrayModeMask|HSBModeMask|C(MYKModeMask|olorListModeMask|ustomPaletteModeMask|rayonModeMask)|WheelModeMask|AllModesMask)|ListModeColorPanel)|reServiceDirectory|m(p(osite(XOR|Source(In|O(ut|ver)|Atop)|Highlight|C(opy|lear)|Destination(In|O(ut|ver)|Atop)|Plus(Darker|Lighter))|ressedFontMask)|mandKeyMask))|u(stom(SelectorPredicateOperatorType|PaletteModeColorPanel)|r(sor(Update(Mask)?|PointingDevice)|veToBezierPathElement))|e(nterT(extAlignment|abStopType)|ll(State|H(ighlighted|as(Image(Horizontal|OnLeftOrBottom)|OverlappingImage))|ChangesContents|Is(Bordered|InsetButton)|Disabled|Editable|LightsBy(Gray|Background|Contents)|AllowsMixedState))|l(ipPagination|o(s(ePathBezierPathElement|ableWindowMask)|ckAndCalendarDatePickerStyle)|ear(ControlTint|DisplayFunctionKey|LineFunctionKey))|a(seInsensitive(Search|PredicateOption)|n(notCreateScriptCommandError|cel(Button|TextMovement))|chesDirectory|lculation(NoError|Overflow|DivideByZero|Underflow|LossOfPrecision)|rriageReturnCharacter)|r(itical(Request|AlertStyle)|ayonModeColorPanel))|T(hick(SquareBezelStyle|erSquareBezelStyle)|ypesetter(Behavior|HorizontalTabAction|ContainerBreakAction|ZeroAdvancementAction|OriginalBehavior|ParagraphBreakAction|WhitespaceAction|L(ineBreakAction|atestBehavior))|i(ckMark(Right|Below|Left|Above)|tledWindowMask|meZoneDatePickerElementFlag)|o(olbarItemVisibilityPriority(Standard|High|User|Low)|pTabsBezelBorder|ggleButton)|IFF(Compression(N(one|EXT)|CCITTFAX(3|4)|OldJPEG|JPEG|PackBits|LZW)|FileType)|e(rminate(Now|Cancel|Later)|xt(Read(InapplicableDocumentTypeError|WriteErrorM(inimum|aximum))|Block(M(i(nimum(Height|Width)|ddleAlignment)|a(rgin|ximum(Height|Width)))|B(o(ttomAlignment|rder)|aselineAlignment)|Height|TopAlignment|P(ercentageValueType|adding)|Width|AbsoluteValueType)|StorageEdited(Characters|Attributes)|CellType|ured(RoundedBezelStyle|BackgroundWindowMask|SquareBezelStyle)|Table(FixedLayoutAlgorithm|AutomaticLayoutAlgorithm)|Field(RoundedBezel|SquareBezel|AndStepperDatePickerStyle)|WriteInapplicableDocumentTypeError|ListPrependEnclosingMarker))|woByteGlyphPacking|ab(Character|TextMovement|le(tP(oint(Mask|EventSubtype)?|roximity(Mask|EventSubtype)?)|Column(NoResizing|UserResizingMask|AutoresizingMask)|View(ReverseSequentialColumnAutoresizingStyle|GridNone|S(olid(HorizontalGridLineMask|VerticalGridLineMask)|equentialColumnAutoresizingStyle)|NoColumnAutoresizing|UniformColumnAutoresizingStyle|FirstColumnOnlyAutoresizingStyle|LastColumnOnlyAutoresizingStyle)))|rackModeMatrix)|I(n(sert(CharFunctionKey|FunctionKey|LineFunctionKey)|t(Type|ernalS(criptError|pecifierError))|dexSubelement|validIndexSpecifierError|formational(Request|AlertStyle)|PredicateOperatorType)|talicFontMask|SO(2022JPStringEncoding|Latin(1StringEncoding|2StringEncoding))|dentityMappingCharacterCollection|llegalTextMovement|mage(R(ight|ep(MatchesDevice|LoadStatus(ReadingHeader|Completed|InvalidData|Un(expectedEOF|knownType)|WillNeedAllData)))|Below|C(ellType|ache(BySize|Never|Default|Always))|Interpolation(High|None|Default|Low)|O(nly|verlaps)|Frame(Gr(oove|ayBezel)|Button|None|Photo)|L(oadStatus(ReadError|C(ompleted|ancelled)|InvalidData|UnexpectedEOF)|eft)|A(lign(Right|Bottom(Right|Left)?|Center|Top(Right|Left)?|Left)|bove)))|O(n(State|eByteGlyphPacking|OffButton|lyScrollerArrows)|ther(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|TextMovement)|SF1OperatingSystem|pe(n(GL(GO(Re(setLibrary|tainRenderers)|ClearFormatCache|FormatCacheSize)|PFA(R(obust|endererID)|M(inimumPolicy|ulti(sample|Screen)|PSafe|aximumPolicy)|BackingStore|S(creenMask|te(ncilSize|reo)|ingleRenderer|upersample|ample(s|Buffers|Alpha))|NoRecovery|C(o(lor(Size|Float)|mpliant)|losestPolicy)|OffScreen|D(oubleBuffer|epthSize)|PixelBuffer|VirtualScreenCount|FullScreen|Window|A(cc(umSize|elerated)|ux(Buffers|DepthStencil)|l(phaSize|lRenderers))))|StepUnicodeReservedBase)|rationNotSupportedForKeyS(criptError|pecifierError))|ffState|KButton|rPredicateType|bjC(B(itfield|oolType)|S(hortType|tr(ingType|uctType)|electorType)|NoType|CharType|ObjectType|DoubleType|UnionType|PointerType|VoidType|FloatType|Long(Type|longType)|ArrayType))|D(i(s(c(losureBezelStyle|reteCapacityLevelIndicatorStyle)|playWindowRunLoopOrdering)|acriticInsensitivePredicateOption|rect(Selection|PredicateModifier))|o(c(ModalWindowMask|ument(Directory|ationDirectory))|ubleType|wn(TextMovement|ArrowFunctionKey))|e(s(cendingPageOrder|ktopDirectory)|cimalTabStopType|v(ice(NColorSpaceModel|IndependentModifierFlagsMask)|eloper(Directory|ApplicationDirectory))|fault(ControlTint|TokenStyle)|lete(Char(acter|FunctionKey)|FunctionKey|LineFunctionKey)|moApplicationDirectory)|a(yCalendarUnit|teFormatter(MediumStyle|Behavior(10|Default)|ShortStyle|NoStyle|FullStyle|LongStyle))|ra(wer(Clos(ingState|edState)|Open(ingState|State))|gOperation(Generic|Move|None|Copy|Delete|Private|Every|Link|All)))|U(ser(CancelledError|D(irectory|omainMask)|FunctionKey)|RL(Handle(NotLoaded|Load(Succeeded|InProgress|Failed))|CredentialPersistence(None|Permanent|ForSession))|n(scaledWindowMask|cachedRead|i(codeStringEncoding|talicFontMask|fiedTitleAndToolbarWindowMask)|d(o(CloseGroupingRunLoopOrdering|FunctionKey)|e(finedDateComponent|rline(Style(Single|None|Thick|Double)|Pattern(Solid|D(ot|ash(Dot(Dot)?)?)))))|known(ColorSpaceModel|P(ointingDevice|ageOrder)|KeyS(criptError|pecifierError))|boldFontMask)|tilityWindowMask|TF8StringEncoding|p(dateWindowsRunLoopOrdering|TextMovement|ArrowFunctionKey))|J(ustifiedTextAlignment|PEG(2000FileType|FileType)|apaneseEUC(GlyphPacking|StringEncoding))|P(o(s(t(Now|erFontMask|WhenIdle|ASAP)|iti(on(Replace|Be(fore|ginning)|End|After)|ve(IntType|DoubleType|FloatType)))|pUp(NoArrow|ArrowAt(Bottom|Center))|werOffEventType|rtraitOrientation)|NGFileType|ush(InCell(Mask)?|OnPushOffButton)|e(n(TipMask|UpperSideMask|PointingDevice|LowerSideMask)|riodic(Mask)?)|P(S(caleField|tatus(Title|Field)|aveButton)|N(ote(Title|Field)|ame(Title|Field))|CopiesField|TitleField|ImageButton|OptionsButton|P(a(perFeedButton|ge(Range(To|From)|ChoiceMatrix))|reviewButton)|LayoutButton)|lainTextTokenStyle|a(useFunctionKey|ragraphSeparatorCharacter|ge(DownFunctionKey|UpFunctionKey))|r(int(ing(ReplyLater|Success|Cancelled|Failure)|ScreenFunctionKey|erTable(NotFound|OK|Error)|FunctionKey)|o(p(ertyList(XMLFormat|MutableContainers(AndLeaves)?|BinaryFormat|Immutable|OpenStepFormat)|rietaryStringEncoding)|gressIndicator(BarStyle|SpinningStyle|Preferred(SmallThickness|Thickness|LargeThickness|AquaThickness)))|e(ssedTab|vFunctionKey))|L(HeightForm|CancelButton|TitleField|ImageButton|O(KButton|rientationMatrix)|UnitsButton|PaperNameButton|WidthForm))|E(n(terCharacter|d(sWith(Comparison|PredicateOperatorType)|FunctionKey))|v(e(nOddWindingRule|rySubelement)|aluatedObjectExpressionType)|qualTo(Comparison|PredicateOperatorType)|ra(serPointingDevice|CalendarUnit|DatePickerElementFlag)|x(clude(10|QuickDrawElementsIconCreationOption)|pandedFontMask|ecuteFunctionKey))|V(i(ew(M(in(XMargin|YMargin)|ax(XMargin|YMargin))|HeightSizable|NotSizable|WidthSizable)|aPanelFontAction)|erticalRuler|a(lidationErrorM(inimum|aximum)|riableExpressionType))|Key(SpecifierEvaluationScriptError|Down(Mask)?|Up(Mask)?|PathExpressionType|Value(MinusSetMutation|SetSetMutation|Change(Re(placement|moval)|Setting|Insertion)|IntersectSetMutation|ObservingOption(New|Old)|UnionSetMutation|ValidationError))|QTMovie(NormalPlayback|Looping(BackAndForthPlayback|Playback))|F(1(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|7FunctionKey|i(nd(PanelAction(Replace(A(ndFind|ll(InSelection)?))?|S(howFindPanel|e(tFindString|lectAll(InSelection)?))|Next|Previous)|FunctionKey)|tPagination|le(Read(No(SuchFileError|PermissionError)|CorruptFileError|In(validFileNameError|applicableStringEncodingError)|Un(supportedSchemeError|knownError))|HandlingPanel(CancelButton|OKButton)|NoSuchFileError|ErrorM(inimum|aximum)|Write(NoPermissionError|In(validFileNameError|applicableStringEncodingError)|OutOfSpaceError|Un(supportedSchemeError|knownError))|LockingError)|xedPitchFontMask)|2(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|o(nt(Mo(noSpaceTrait|dernSerifsClass)|BoldTrait|S(ymbolicClass|criptsClass|labSerifsClass|ansSerifClass)|C(o(ndensedTrait|llectionApplicationOnlyMask)|larendonSerifsClass)|TransitionalSerifsClass|I(ntegerAdvancementsRenderingMode|talicTrait)|O(ldStyleSerifsClass|rnamentalsClass)|DefaultRenderingMode|U(nknownClass|IOptimizedTrait)|Panel(S(hadowEffectModeMask|t(andardModesMask|rikethroughEffectModeMask)|izeModeMask)|CollectionModeMask|TextColorEffectModeMask|DocumentColorEffectModeMask|UnderlineEffectModeMask|FaceModeMask|All(ModesMask|EffectsModeMask))|ExpandedTrait|VerticalTrait|F(amilyClassMask|reeformSerifsClass)|Antialiased(RenderingMode|IntegerAdvancementsRenderingMode))|cusRing(Below|Type(None|Default|Exterior)|Only|Above)|urByteGlyphPacking|rm(attingError(M(inimum|aximum))?|FeedCharacter))|8FunctionKey|unction(ExpressionType|KeyMask)|3(1FunctionKey|2FunctionKey|3FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey)|9FunctionKey|4FunctionKey|P(RevertButton|S(ize(Title|Field)|etButton)|CurrentField|Preview(Button|Field))|l(oat(ingPointSamplesBitmapFormat|Type)|agsChanged(Mask)?)|axButton|5FunctionKey|6FunctionKey)|W(heelModeColorPanel|indow(s(NTOperatingSystem|CP125(1StringEncoding|2StringEncoding|3StringEncoding|4StringEncoding|0StringEncoding)|95(InterfaceStyle|OperatingSystem))|M(iniaturizeButton|ovedEventType)|Below|CloseButton|ToolbarButton|ZoomButton|Out|DocumentIconButton|ExposedEventType|Above)|orkspaceLaunch(NewInstance|InhibitingBackgroundOnly|Default|PreferringClassic|WithoutA(ctivation|ddingToRecents)|A(sync|nd(Hide(Others)?|Print)|llowingClassicStartup))|eek(day(CalendarUnit|OrdinalCalendarUnit)|CalendarUnit)|a(ntsBidiLevels|rningAlertStyle)|r(itingDirection(RightToLeft|Natural|LeftToRight)|apCalendarComponents))|L(i(stModeMatrix|ne(Moves(Right|Down|Up|Left)|B(order|reakBy(C(harWrapping|lipping)|Truncating(Middle|Head|Tail)|WordWrapping))|S(eparatorCharacter|weep(Right|Down|Up|Left))|ToBezierPathElement|DoesntMove|arSlider)|teralSearch|kePredicateOperatorType|ghterFontAction|braryDirectory)|ocalDomainMask|e(ssThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|ft(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey))|a(yout(RightToLeft|NotDone|CantFit|OutOfGlyphs|Done|LeftToRight)|ndscapeOrientation)|ABColorSpaceModel)|A(sc(iiWithDoubleByteEUCGlyphPacking|endingPageOrder)|n(y(Type|PredicateModifier|EventMask)|choredSearch|imation(Blocking|Nonblocking(Threaded)?|E(ffect(DisappearingItemDefault|Poof)|ase(In(Out)?|Out))|Linear)|dPredicateType)|t(Bottom|tachmentCharacter|omicWrite|Top)|SCIIStringEncoding|d(obe(GB1CharacterCollection|CNS1CharacterCollection|Japan(1CharacterCollection|2CharacterCollection)|Korea1CharacterCollection)|dTraitFontAction|minApplicationDirectory)|uto(saveOperation|Pagination)|pp(lication(SupportDirectory|D(irectory|e(fined(Mask)?|legateReply(Success|Cancel|Failure)|activatedEventType))|ActivatedEventType)|KitDefined(Mask)?)|l(ternateKeyMask|pha(ShiftKeyMask|NonpremultipliedBitmapFormat|FirstBitmapFormat)|ert(SecondButtonReturn|ThirdButtonReturn|OtherReturn|DefaultReturn|ErrorReturn|FirstButtonReturn|AlternateReturn)|l(ScrollerParts|DomainsMask|PredicateModifier|LibrariesDirectory|ApplicationsDirectory))|rgument(sWrongScriptError|EvaluationScriptError)|bove(Bottom|Top)|WTEventType))\\b",
|
|
331
|
+
"match": "\\bNS(R(GB(ModeColorPanel|ColorSpaceModel)|ight(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey)|ound(RectBezelStyle|Bankers|ed(BezelStyle|TokenStyle|DisclosureBezelStyle)|Down|Up|Plain|Line(CapStyle|JoinStyle))|un(StoppedResponse|ContinuesResponse|AbortedResponse)|e(s(izableWindowMask|et(CursorRectsRunLoopOrdering|FunctionKey))|ce(ssedBezelStyle|iver(sCantHandleCommandScriptError|EvaluationScriptError))|turnTextMovement|doFunctionKey|quiredArgumentsMissingScriptError|l(evancyLevelIndicatorStyle|ative(Before|After))|gular(SquareBezelStyle|ControlSize)|moveTraitFontAction)|a(n(domSubelement|geDateMode)|tingLevelIndicatorStyle|dio(ModeMatrix|Button)))|G(IFFileType|lyph(Below|Inscribe(B(elow|ase)|Over(strike|Below)|Above)|Layout(WithPrevious|A(tAPoint|gainstAPoint))|A(ttribute(BidiLevel|Soft|Inscribe|Elastic)|bove))|r(ooveBorder|eaterThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|a(y(ModeColorPanel|ColorSpaceModel)|dient(None|Con(cave(Strong|Weak)|vex(Strong|Weak)))|phiteControlTint)))|XML(N(o(tationDeclarationKind|de(CompactEmptyElement|IsCDATA|OptionsNone|Use(SingleQuotes|DoubleQuotes)|Pre(serve(NamespaceOrder|C(haracterReferences|DATA)|DTD|Prefixes|E(ntities|mptyElements)|Quotes|Whitespace|A(ttributeOrder|ll))|ttyPrint)|ExpandEmptyElement))|amespaceKind)|CommentKind|TextKind|InvalidKind|D(ocument(X(MLKind|HTMLKind|Include)|HTMLKind|T(idy(XML|HTML)|extKind)|IncludeContentTypeDeclaration|Validate|Kind)|TDKind)|P(arser(GTRequiredError|XMLDeclNot(StartedError|FinishedError)|Mi(splaced(XMLDeclarationError|CDATAEndStringError)|xedContentDeclNot(StartedError|FinishedError))|S(t(andaloneValueError|ringNot(StartedError|ClosedError))|paceRequiredError|eparatorRequiredError)|N(MTOKENRequiredError|o(t(ationNot(StartedError|FinishedError)|WellBalancedError)|DTDError)|amespaceDeclarationError|AMERequiredError)|C(haracterRef(In(DTDError|PrologError|EpilogError)|AtEOFError)|o(nditionalSectionNot(StartedError|FinishedError)|mment(NotFinishedError|ContainsDoubleHyphenError))|DATANotFinishedError)|TagNameMismatchError|In(ternalError|valid(HexCharacterRefError|C(haracter(RefError|InEntityError|Error)|onditionalSectionError)|DecimalCharacterRefError|URIError|Encoding(NameError|Error)))|OutOfMemoryError|D(ocumentStartError|elegateAbortedParseError|OCTYPEDeclNotFinishedError)|U(RI(RequiredError|FragmentError)|n(declaredEntityError|parsedEntityError|knownEncodingError|finishedTagError))|P(CDATARequiredError|ublicIdentifierRequiredError|arsedEntityRef(MissingSemiError|NoNameError|In(Internal(SubsetError|Error)|PrologError|EpilogError)|AtEOFError)|r(ocessingInstructionNot(StartedError|FinishedError)|ematureDocumentEndError))|E(n(codingNotSupportedError|tity(Ref(In(DTDError|PrologError|EpilogError)|erence(MissingSemiError|WithoutNameError)|LoopError|AtEOFError)|BoundaryError|Not(StartedError|FinishedError)|Is(ParameterError|ExternalError)|ValueRequiredError))|qualExpectedError|lementContentDeclNot(StartedError|FinishedError)|xt(ernalS(tandaloneEntityError|ubsetNotFinishedError)|raContentError)|mptyDocumentError)|L(iteralNot(StartedError|FinishedError)|T(RequiredError|SlashRequiredError)|essThanSymbolInAttributeError)|Attribute(RedefinedError|HasNoValueError|Not(StartedError|FinishedError)|ListNot(StartedError|FinishedError)))|rocessingInstructionKind)|E(ntity(GeneralKind|DeclarationKind|UnparsedKind|P(ar(sedKind|ameterKind)|redefined))|lement(Declaration(MixedKind|UndefinedKind|E(lementKind|mptyKind)|Kind|AnyKind)|Kind))|Attribute(N(MToken(sKind|Kind)|otationKind)|CDATAKind|ID(Ref(sKind|Kind)|Kind)|DeclarationKind|En(tit(yKind|iesKind)|umerationKind)|Kind))|M(i(n(XEdge|iaturizableWindowMask|YEdge|uteCalendarUnit)|terLineJoinStyle|ddleSubelement|xedState)|o(nthCalendarUnit|deSwitchFunctionKey|use(Moved(Mask)?|E(ntered(Mask)?|ventSubtype|xited(Mask)?))|veToBezierPathElement|mentary(ChangeButton|Push(Button|InButton)|Light(Button)?))|enuFunctionKey|a(c(intoshInterfaceStyle|OSRomanStringEncoding)|tchesPredicateOperatorType|ppedRead|x(XEdge|YEdge))|ACHOperatingSystem)|B(MPFileType|o(ttomTabsBezelBorder|ldFontMask|rderlessWindowMask|x(Se(condary|parator)|OldStyle|Primary))|uttLineCapStyle|e(zelBorder|velLineJoinStyle|low(Bottom|Top)|gin(sWith(Comparison|PredicateOperatorType)|FunctionKey))|lueControlTint|ack(spaceCharacter|tabTextMovement|ingStore(Retained|Buffered|Nonretained)|TabCharacter|wardsSearch|groundTab)|r(owser(NoColumnResizing|UserColumnResizing|AutoColumnResizing)|eakFunctionKey))|S(h(ift(JISStringEncoding|KeyMask)|ow(ControlGlyphs|InvisibleGlyphs)|adowlessSquareBezelStyle)|y(s(ReqFunctionKey|tem(D(omainMask|efined(Mask)?)|FunctionKey))|mbolStringEncoding)|c(a(nnedOption|le(None|ToFit|Proportionally))|r(oll(er(NoPart|Increment(Page|Line|Arrow)|Decrement(Page|Line|Arrow)|Knob(Slot)?|Arrows(M(inEnd|axEnd)|None|DefaultSetting))|Wheel(Mask)?|LockFunctionKey)|eenChangedEventType))|t(opFunctionKey|r(ingDrawing(OneShot|DisableScreenFontSubstitution|Uses(DeviceMetrics|FontLeading|LineFragmentOrigin))|eam(Status(Reading|NotOpen|Closed|Open(ing)?|Error|Writing|AtEnd)|Event(Has(BytesAvailable|SpaceAvailable)|None|OpenCompleted|E(ndEncountered|rrorOccurred)))))|i(ngle(DateMode|UnderlineStyle)|ze(DownFontAction|UpFontAction))|olarisOperatingSystem|unOSOperatingSystem|pecialPageOrder|e(condCalendarUnit|lect(By(Character|Paragraph|Word)|i(ng(Next|Previous)|onAffinity(Downstream|Upstream))|edTab|FunctionKey)|gmentSwitchTracking(Momentary|Select(One|Any)))|quareLineCapStyle|witchButton|ave(ToOperation|Op(tions(Yes|No|Ask)|eration)|AsOperation)|mall(SquareBezelStyle|C(ontrolSize|apsFontMask)|IconButtonBezelStyle))|H(ighlightModeMatrix|SBModeColorPanel|o(ur(Minute(SecondDatePickerElementFlag|DatePickerElementFlag)|CalendarUnit)|rizontalRuler|meFunctionKey)|TTPCookieAcceptPolicy(Never|OnlyFromMainDocumentDomain|Always)|e(lp(ButtonBezelStyle|KeyMask|FunctionKey)|avierFontAction)|PUXOperatingSystem)|Year(MonthDa(yDatePickerElementFlag|tePickerElementFlag)|CalendarUnit)|N(o(n(StandardCharacterSetFontMask|ZeroWindingRule|activatingPanelMask|LossyASCIIStringEncoding)|Border|t(ification(SuspensionBehavior(Hold|Coalesce|D(eliverImmediately|rop))|NoCoalescing|CoalescingOn(Sender|Name)|DeliverImmediately|PostToAllSessions)|PredicateType|EqualToPredicateOperatorType)|S(cr(iptError|ollerParts)|ubelement|pecifierError)|CellMask|T(itle|opLevelContainersSpecifierError|abs(BezelBorder|NoBorder|LineBorder))|I(nterfaceStyle|mage)|UnderlineStyle|FontChangeAction)|u(ll(Glyph|CellType)|m(eric(Search|PadKeyMask)|berFormatter(Round(Half(Down|Up|Even)|Ceiling|Down|Up|Floor)|Behavior(10|Default)|S(cientificStyle|pellOutStyle)|NoStyle|CurrencyStyle|DecimalStyle|P(ercentStyle|ad(Before(Suffix|Prefix)|After(Suffix|Prefix))))))|e(t(Services(BadArgumentError|NotFoundError|C(ollisionError|ancelledError)|TimeoutError|InvalidError|UnknownError|ActivityInProgress)|workDomainMask)|wlineCharacter|xt(StepInterfaceStyle|FunctionKey))|EXTSTEPStringEncoding|a(t(iveShortGlyphPacking|uralTextAlignment)|rrowFontMask))|C(hange(ReadOtherContents|GrayCell(Mask)?|BackgroundCell(Mask)?|Cleared|Done|Undone|Autosaved)|MYK(ModeColorPanel|ColorSpaceModel)|ircular(BezelStyle|Slider)|o(n(stantValueExpressionType|t(inuousCapacityLevelIndicatorStyle|entsCellMask|ain(sComparison|erSpecifierError)|rol(Glyph|KeyMask))|densedFontMask)|lor(Panel(RGBModeMask|GrayModeMask|HSBModeMask|C(MYKModeMask|olorListModeMask|ustomPaletteModeMask|rayonModeMask)|WheelModeMask|AllModesMask)|ListModeColorPanel)|reServiceDirectory|m(p(osite(XOR|Source(In|O(ut|ver)|Atop)|Highlight|C(opy|lear)|Destination(In|O(ut|ver)|Atop)|Plus(Darker|Lighter))|ressedFontMask)|mandKeyMask))|u(stom(SelectorPredicateOperatorType|PaletteModeColorPanel)|r(sor(Update(Mask)?|PointingDevice)|veToBezierPathElement))|e(nterT(extAlignment|abStopType)|ll(State|H(ighlighted|as(Image(Horizontal|OnLeftOrBottom)|OverlappingImage))|ChangesContents|Is(Bordered|InsetButton)|Disabled|Editable|LightsBy(Gray|Background|Contents)|AllowsMixedState))|l(ipPagination|o(s(ePathBezierPathElement|ableWindowMask)|ckAndCalendarDatePickerStyle)|ear(ControlTint|DisplayFunctionKey|LineFunctionKey))|a(seInsensitive(Search|PredicateOption)|n(notCreateScriptCommandError|cel(Button|TextMovement))|chesDirectory|lculation(NoError|Overflow|DivideByZero|Underflow|LossOfPrecision)|rriageReturnCharacter)|r(itical(Request|AlertStyle)|ayonModeColorPanel))|T(hick(SquareBezelStyle|erSquareBezelStyle)|ypesetter(Behavior|HorizontalTabAction|ContainerBreakAction|ZeroAdvancementAction|OriginalBehavior|ParagraphBreakAction|WhitespaceAction|L(ineBreakAction|atestBehavior))|i(ckMark(Right|Below|Left|Above)|tledWindowMask|meZoneDatePickerElementFlag)|o(olbarItemVisibilityPriority(Standard|High|User|Low)|pTabsBezelBorder|ggleButton)|IFF(Compression(N(one|EXT)|CCITTFAX([34])|OldJPEG|JPEG|PackBits|LZW)|FileType)|e(rminate(Now|Cancel|Later)|xt(Read(InapplicableDocumentTypeError|WriteErrorM(inimum|aximum))|Block(M(i(nimum(Height|Width)|ddleAlignment)|a(rgin|ximum(Height|Width)))|B(o(ttomAlignment|rder)|aselineAlignment)|Height|TopAlignment|P(ercentageValueType|adding)|Width|AbsoluteValueType)|StorageEdited(Characters|Attributes)|CellType|ured(RoundedBezelStyle|BackgroundWindowMask|SquareBezelStyle)|Table(FixedLayoutAlgorithm|AutomaticLayoutAlgorithm)|Field(RoundedBezel|SquareBezel|AndStepperDatePickerStyle)|WriteInapplicableDocumentTypeError|ListPrependEnclosingMarker))|woByteGlyphPacking|ab(Character|TextMovement|le(tP(oint(Mask|EventSubtype)?|roximity(Mask|EventSubtype)?)|Column(NoResizing|UserResizingMask|AutoresizingMask)|View(ReverseSequentialColumnAutoresizingStyle|GridNone|S(olid(HorizontalGridLineMask|VerticalGridLineMask)|equentialColumnAutoresizingStyle)|NoColumnAutoresizing|UniformColumnAutoresizingStyle|FirstColumnOnlyAutoresizingStyle|LastColumnOnlyAutoresizingStyle)))|rackModeMatrix)|I(n(sert(CharFunctionKey|FunctionKey|LineFunctionKey)|t(Type|ernalS(criptError|pecifierError))|dexSubelement|validIndexSpecifierError|formational(Request|AlertStyle)|PredicateOperatorType)|talicFontMask|SO(2022JPStringEncoding|Latin(1StringEncoding|2StringEncoding))|dentityMappingCharacterCollection|llegalTextMovement|mage(R(ight|ep(MatchesDevice|LoadStatus(ReadingHeader|Completed|InvalidData|Un(expectedEOF|knownType)|WillNeedAllData)))|Below|C(ellType|ache(BySize|Never|Default|Always))|Interpolation(High|None|Default|Low)|O(nly|verlaps)|Frame(Gr(oove|ayBezel)|Button|None|Photo)|L(oadStatus(ReadError|C(ompleted|ancelled)|InvalidData|UnexpectedEOF)|eft)|A(lign(Right|Bottom(Right|Left)?|Center|Top(Right|Left)?|Left)|bove)))|O(n(State|eByteGlyphPacking|OffButton|lyScrollerArrows)|ther(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|TextMovement)|SF1OperatingSystem|pe(n(GL(GO(Re(setLibrary|tainRenderers)|ClearFormatCache|FormatCacheSize)|PFA(R(obust|endererID)|M(inimumPolicy|ulti(sample|Screen)|PSafe|aximumPolicy)|BackingStore|S(creenMask|te(ncilSize|reo)|ingleRenderer|upersample|ample(s|Buffers|Alpha))|NoRecovery|C(o(lor(Size|Float)|mpliant)|losestPolicy)|OffScreen|D(oubleBuffer|epthSize)|PixelBuffer|VirtualScreenCount|FullScreen|Window|A(cc(umSize|elerated)|ux(Buffers|DepthStencil)|l(phaSize|lRenderers))))|StepUnicodeReservedBase)|rationNotSupportedForKeyS(criptError|pecifierError))|ffState|KButton|rPredicateType|bjC(B(itfield|oolType)|S(hortType|tr(ingType|uctType)|electorType)|NoType|CharType|ObjectType|DoubleType|UnionType|PointerType|VoidType|FloatType|Long(Type|longType)|ArrayType))|D(i(s(c(losureBezelStyle|reteCapacityLevelIndicatorStyle)|playWindowRunLoopOrdering)|acriticInsensitivePredicateOption|rect(Selection|PredicateModifier))|o(c(ModalWindowMask|ument(Directory|ationDirectory))|ubleType|wn(TextMovement|ArrowFunctionKey))|e(s(cendingPageOrder|ktopDirectory)|cimalTabStopType|v(ice(NColorSpaceModel|IndependentModifierFlagsMask)|eloper(Directory|ApplicationDirectory))|fault(ControlTint|TokenStyle)|lete(Char(acter|FunctionKey)|FunctionKey|LineFunctionKey)|moApplicationDirectory)|a(yCalendarUnit|teFormatter(MediumStyle|Behavior(10|Default)|ShortStyle|NoStyle|FullStyle|LongStyle))|ra(wer(Clos(ingState|edState)|Open(ingState|State))|gOperation(Generic|Move|None|Copy|Delete|Private|Every|Link|All)))|U(ser(CancelledError|D(irectory|omainMask)|FunctionKey)|RL(Handle(NotLoaded|Load(Succeeded|InProgress|Failed))|CredentialPersistence(None|Permanent|ForSession))|n(scaledWindowMask|cachedRead|i(codeStringEncoding|talicFontMask|fiedTitleAndToolbarWindowMask)|d(o(CloseGroupingRunLoopOrdering|FunctionKey)|e(finedDateComponent|rline(Style(Single|None|Thick|Double)|Pattern(Solid|D(ot|ash(Dot(Dot)?)?)))))|known(ColorSpaceModel|P(ointingDevice|ageOrder)|KeyS(criptError|pecifierError))|boldFontMask)|tilityWindowMask|TF8StringEncoding|p(dateWindowsRunLoopOrdering|TextMovement|ArrowFunctionKey))|J(ustifiedTextAlignment|PEG(2000FileType|FileType)|apaneseEUC(GlyphPacking|StringEncoding))|P(o(s(t(Now|erFontMask|WhenIdle|ASAP)|iti(on(Replace|Be(fore|ginning)|End|After)|ve(IntType|DoubleType|FloatType)))|pUp(NoArrow|ArrowAt(Bottom|Center))|werOffEventType|rtraitOrientation)|NGFileType|ush(InCell(Mask)?|OnPushOffButton)|e(n(TipMask|UpperSideMask|PointingDevice|LowerSideMask)|riodic(Mask)?)|P(S(caleField|tatus(Title|Field)|aveButton)|N(ote(Title|Field)|ame(Title|Field))|CopiesField|TitleField|ImageButton|OptionsButton|P(a(perFeedButton|ge(Range(To|From)|ChoiceMatrix))|reviewButton)|LayoutButton)|lainTextTokenStyle|a(useFunctionKey|ragraphSeparatorCharacter|ge(DownFunctionKey|UpFunctionKey))|r(int(ing(ReplyLater|Success|Cancelled|Failure)|ScreenFunctionKey|erTable(NotFound|OK|Error)|FunctionKey)|o(p(ertyList(XMLFormat|MutableContainers(AndLeaves)?|BinaryFormat|Immutable|OpenStepFormat)|rietaryStringEncoding)|gressIndicator(BarStyle|SpinningStyle|Preferred(SmallThickness|Thickness|LargeThickness|AquaThickness)))|e(ssedTab|vFunctionKey))|L(HeightForm|CancelButton|TitleField|ImageButton|O(KButton|rientationMatrix)|UnitsButton|PaperNameButton|WidthForm))|E(n(terCharacter|d(sWith(Comparison|PredicateOperatorType)|FunctionKey))|v(e(nOddWindingRule|rySubelement)|aluatedObjectExpressionType)|qualTo(Comparison|PredicateOperatorType)|ra(serPointingDevice|CalendarUnit|DatePickerElementFlag)|x(clude(10|QuickDrawElementsIconCreationOption)|pandedFontMask|ecuteFunctionKey))|V(i(ew(M(in(XMargin|YMargin)|ax(XMargin|YMargin))|HeightSizable|NotSizable|WidthSizable)|aPanelFontAction)|erticalRuler|a(lidationErrorM(inimum|aximum)|riableExpressionType))|Key(SpecifierEvaluationScriptError|Down(Mask)?|Up(Mask)?|PathExpressionType|Value(MinusSetMutation|SetSetMutation|Change(Re(placement|moval)|Setting|Insertion)|IntersectSetMutation|ObservingOption(New|Old)|UnionSetMutation|ValidationError))|QTMovie(NormalPlayback|Looping(BackAndForthPlayback|Playback))|F(1(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|7FunctionKey|i(nd(PanelAction(Replace(A(ndFind|ll(InSelection)?))?|S(howFindPanel|e(tFindString|lectAll(InSelection)?))|Next|Previous)|FunctionKey)|tPagination|le(Read(No(SuchFileError|PermissionError)|CorruptFileError|In(validFileNameError|applicableStringEncodingError)|Un(supportedSchemeError|knownError))|HandlingPanel(CancelButton|OKButton)|NoSuchFileError|ErrorM(inimum|aximum)|Write(NoPermissionError|In(validFileNameError|applicableStringEncodingError)|OutOfSpaceError|Un(supportedSchemeError|knownError))|LockingError)|xedPitchFontMask)|2(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|o(nt(Mo(noSpaceTrait|dernSerifsClass)|BoldTrait|S(ymbolicClass|criptsClass|labSerifsClass|ansSerifClass)|C(o(ndensedTrait|llectionApplicationOnlyMask)|larendonSerifsClass)|TransitionalSerifsClass|I(ntegerAdvancementsRenderingMode|talicTrait)|O(ldStyleSerifsClass|rnamentalsClass)|DefaultRenderingMode|U(nknownClass|IOptimizedTrait)|Panel(S(hadowEffectModeMask|t(andardModesMask|rikethroughEffectModeMask)|izeModeMask)|CollectionModeMask|TextColorEffectModeMask|DocumentColorEffectModeMask|UnderlineEffectModeMask|FaceModeMask|All(ModesMask|EffectsModeMask))|ExpandedTrait|VerticalTrait|F(amilyClassMask|reeformSerifsClass)|Antialiased(RenderingMode|IntegerAdvancementsRenderingMode))|cusRing(Below|Type(None|Default|Exterior)|Only|Above)|urByteGlyphPacking|rm(attingError(M(inimum|aximum))?|FeedCharacter))|8FunctionKey|unction(ExpressionType|KeyMask)|3(1FunctionKey|2FunctionKey|3FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey)|9FunctionKey|4FunctionKey|P(RevertButton|S(ize(Title|Field)|etButton)|CurrentField|Preview(Button|Field))|l(oat(ingPointSamplesBitmapFormat|Type)|agsChanged(Mask)?)|axButton|5FunctionKey|6FunctionKey)|W(heelModeColorPanel|indow(s(NTOperatingSystem|CP125(1StringEncoding|2StringEncoding|3StringEncoding|4StringEncoding|0StringEncoding)|95(InterfaceStyle|OperatingSystem))|M(iniaturizeButton|ovedEventType)|Below|CloseButton|ToolbarButton|ZoomButton|Out|DocumentIconButton|ExposedEventType|Above)|orkspaceLaunch(NewInstance|InhibitingBackgroundOnly|Default|PreferringClassic|WithoutA(ctivation|ddingToRecents)|A(sync|nd(Hide(Others)?|Print)|llowingClassicStartup))|eek(day(CalendarUnit|OrdinalCalendarUnit)|CalendarUnit)|a(ntsBidiLevels|rningAlertStyle)|r(itingDirection(RightToLeft|Natural|LeftToRight)|apCalendarComponents))|L(i(stModeMatrix|ne(Moves(Right|Down|Up|Left)|B(order|reakBy(C(harWrapping|lipping)|Truncating(Middle|Head|Tail)|WordWrapping))|S(eparatorCharacter|weep(Right|Down|Up|Left))|ToBezierPathElement|DoesntMove|arSlider)|teralSearch|kePredicateOperatorType|ghterFontAction|braryDirectory)|ocalDomainMask|e(ssThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|ft(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey))|a(yout(RightToLeft|NotDone|CantFit|OutOfGlyphs|Done|LeftToRight)|ndscapeOrientation)|ABColorSpaceModel)|A(sc(iiWithDoubleByteEUCGlyphPacking|endingPageOrder)|n(y(Type|PredicateModifier|EventMask)|choredSearch|imation(Blocking|Nonblocking(Threaded)?|E(ffect(DisappearingItemDefault|Poof)|ase(In(Out)?|Out))|Linear)|dPredicateType)|t(Bottom|tachmentCharacter|omicWrite|Top)|SCIIStringEncoding|d(obe(GB1CharacterCollection|CNS1CharacterCollection|Japan(1CharacterCollection|2CharacterCollection)|Korea1CharacterCollection)|dTraitFontAction|minApplicationDirectory)|uto(saveOperation|Pagination)|pp(lication(SupportDirectory|D(irectory|e(fined(Mask)?|legateReply(Success|Cancel|Failure)|activatedEventType))|ActivatedEventType)|KitDefined(Mask)?)|l(ternateKeyMask|pha(ShiftKeyMask|NonpremultipliedBitmapFormat|FirstBitmapFormat)|ert(SecondButtonReturn|ThirdButtonReturn|OtherReturn|DefaultReturn|ErrorReturn|FirstButtonReturn|AlternateReturn)|l(ScrollerParts|DomainsMask|PredicateModifier|LibrariesDirectory|ApplicationsDirectory))|rgument(sWrongScriptError|EvaluationScriptError)|bove(Bottom|Top)|WTEventType))\\b",
|
|
332
332
|
"name": "support.constant.cocoa.objcpp"
|
|
333
333
|
},
|
|
334
334
|
"anonymous_pattern_4": {
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
]
|
|
348
348
|
},
|
|
349
349
|
"anonymous_pattern_5": {
|
|
350
|
-
"match": "\\b(
|
|
350
|
+
"match": "\\b(NS_(?:DURING|HANDLER|ENDHANDLER))\\b",
|
|
351
351
|
"name": "keyword.control.macro.objcpp"
|
|
352
352
|
},
|
|
353
353
|
"anonymous_pattern_7": {
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"name": "keyword.control.protocol-specification.objcpp"
|
|
379
379
|
},
|
|
380
380
|
"apple_foundation_functional_macros": {
|
|
381
|
-
"begin": "(\\b(?:API_AVAILABLE|API_DEPRECATED|API_UNAVAILABLE|NS_AVAILABLE|NS_AVAILABLE_MAC|NS_AVAILABLE_IOS|NS_DEPRECATED|NS_DEPRECATED_MAC|NS_DEPRECATED_IOS|NS_SWIFT_NAME))
|
|
381
|
+
"begin": "(\\b(?:API_AVAILABLE|API_DEPRECATED|API_UNAVAILABLE|NS_AVAILABLE|NS_AVAILABLE_MAC|NS_AVAILABLE_IOS|NS_DEPRECATED|NS_DEPRECATED_MAC|NS_DEPRECATED_IOS|NS_SWIFT_NAME))\\s+{0,1}(\\()",
|
|
382
382
|
"beginCaptures": {
|
|
383
383
|
"1": {
|
|
384
384
|
"name": "entity.name.function.preprocessor.apple-foundation.objcpp"
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
"name": "punctuation.section.scope.begin.objcpp"
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
|
-
"end": "
|
|
410
|
+
"end": "]",
|
|
411
411
|
"endCaptures": {
|
|
412
412
|
"0": {
|
|
413
413
|
"name": "punctuation.section.scope.end.objcpp"
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"name": "punctuation.separator.arguments.objcpp"
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
|
-
"end": "(
|
|
428
|
+
"end": "(?=])",
|
|
429
429
|
"name": "meta.function-call.predicate.objcpp",
|
|
430
430
|
"patterns": [
|
|
431
431
|
{
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"name": "keyword.other.predicate.cocoa.objcpp"
|
|
487
487
|
},
|
|
488
488
|
{
|
|
489
|
-
"match": "\\\\(
|
|
489
|
+
"match": "\\\\([\\\\abefnrtv'\"?]|[0-3]\\d{0,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
|
|
490
490
|
"name": "constant.character.escape.objcpp"
|
|
491
491
|
},
|
|
492
492
|
{
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
]
|
|
508
508
|
},
|
|
509
509
|
{
|
|
510
|
-
"begin": "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(
|
|
510
|
+
"begin": "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(?=])))",
|
|
511
511
|
"beginCaptures": {
|
|
512
512
|
"1": {
|
|
513
513
|
"name": "support.function.any-method.objcpp"
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
"name": "punctuation.separator.arguments.objcpp"
|
|
517
517
|
}
|
|
518
518
|
},
|
|
519
|
-
"end": "(
|
|
519
|
+
"end": "(?=])",
|
|
520
520
|
"name": "meta.function-call.objcpp",
|
|
521
521
|
"patterns": [
|
|
522
522
|
{
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"name": "support.function.C99.objcpp"
|
|
562
562
|
}
|
|
563
563
|
},
|
|
564
|
-
"match": "(\\s*)\\b(hypot(
|
|
564
|
+
"match": "(\\s*)\\b(hypot([fl])?|s(scanf|ystem|nprintf|ca(nf|lb(n([fl])?|ln([fl])?))|i(n(h([fl])?|[fl])?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|[kf]|l([dl])?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt([fl])?|w(scanf|printf)|rand)|n(e(arbyint([fl])?|xt(toward([fl])?|after([fl])?))|an([fl])?)|c(s(in(h([fl])?|[fl])?|qrt([fl])?)|cos(h(f)?|[fl])?|imag([fl])?|t(ime|an(h([fl])?|[fl])?)|o(s(h([fl])?|[fl])?|nj([fl])?|pysign([fl])?)|p(ow([fl])?|roj([fl])?)|e(il([fl])?|xp([fl])?)|l(o(ck|g([fl])?)|earerr)|a(sin(h([fl])?|[fl])?|cos(h([fl])?|[fl])?|tan(h([fl])?|[fl])?|lloc|rg([fl])?|bs([fl])?)|real([fl])?|brt([fl])?)|t(ime|o(upper|lower)|an(h([fl])?|[fl])?|runc([fl])?|gamma([fl])?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb([fl])?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow([fl])?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c([fl])?|[fl])?|x(it|p(2([fl])?|[fl]|m1([fl])?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim([fl])?|p(classify|ut([sc]|w([sc]))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor([fl])?|abs([fl])?|get([sc]|pos|w([sc]))|re(open|e|ad|xp([fl])?)|m(in([fl])?|od([fl])?|a([fl]|x([fl])?)?))|l(d(iv|exp([fl])?)|o(ngjmp|cal(time|econv)|g(1(p([fl])?|0([fl])?)|2([fl])?|[fl]|b([fl])?)?)|abs|l(div|abs|r(int([fl])?|ound([fl])?))|r(int([fl])?|ound([fl])?)|gamma([fl])?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|[kf]|l([dl])?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h([fl])?|[fl])?)|cos(h([fl])?|[fl])?|t(o([if]|l(l)?)|exit|an(h([fl])?|2([fl])?|[fl])?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int([fl])?|ound([fl])?|e(name|alloc|wind|m(ove|quo([fl])?|ainder([fl])?))|a(nd|ise))|b(search|towc)|m(odf([fl])?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b"
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
"captures": {
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
"include": "#special_variables"
|
|
646
646
|
},
|
|
647
647
|
{
|
|
648
|
-
"begin": "^\\s*((
|
|
648
|
+
"begin": "^\\s*((#)\\s*define)\\s+((?<id>[a-zA-Z_$][\\w$]*))(?:(\\()(\\s*\\g<id>\\s*((,)\\s*\\g<id>\\s*)*(?:\\.\\.\\.)?)(\\)))?",
|
|
649
649
|
"beginCaptures": {
|
|
650
650
|
"1": {
|
|
651
651
|
"name": "keyword.control.directive.define.objcpp"
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
"name": "punctuation.definition.parameters.end.objcpp"
|
|
670
670
|
}
|
|
671
671
|
},
|
|
672
|
-
"end": "(
|
|
672
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
673
673
|
"name": "meta.preprocessor.macro.objcpp",
|
|
674
674
|
"patterns": [
|
|
675
675
|
{
|
|
@@ -746,7 +746,7 @@
|
|
|
746
746
|
]
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
|
-
"begin": "^\\s*((#)\\s*(
|
|
749
|
+
"begin": "^\\s*((#)\\s*(i(?:nclude(?:_next)?|mport)))\\b\\s*",
|
|
750
750
|
"beginCaptures": {
|
|
751
751
|
"1": {
|
|
752
752
|
"name": "keyword.control.directive.$3.objcpp"
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
"name": "punctuation.definition.directive.objcpp"
|
|
756
756
|
}
|
|
757
757
|
},
|
|
758
|
-
"end": "(
|
|
758
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
759
759
|
"name": "meta.preprocessor.include.objcpp",
|
|
760
760
|
"patterns": [
|
|
761
761
|
{
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
"name": "punctuation.definition.directive.objcpp"
|
|
807
807
|
}
|
|
808
808
|
},
|
|
809
|
-
"end": "(
|
|
809
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
810
810
|
"name": "meta.preprocessor.objcpp",
|
|
811
811
|
"patterns": [
|
|
812
812
|
{
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
]
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
|
-
"begin": "^\\s*(
|
|
824
|
+
"begin": "^\\s*((#)\\s*undef)\\b",
|
|
825
825
|
"beginCaptures": {
|
|
826
826
|
"1": {
|
|
827
827
|
"name": "keyword.control.directive.undef.objcpp"
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
"name": "punctuation.definition.directive.objcpp"
|
|
831
831
|
}
|
|
832
832
|
},
|
|
833
|
-
"end": "(
|
|
833
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
834
834
|
"name": "meta.preprocessor.objcpp",
|
|
835
835
|
"patterns": [
|
|
836
836
|
{
|
|
@@ -843,7 +843,7 @@
|
|
|
843
843
|
]
|
|
844
844
|
},
|
|
845
845
|
{
|
|
846
|
-
"begin": "^\\s*(
|
|
846
|
+
"begin": "^\\s*((#)\\s*pragma)\\b",
|
|
847
847
|
"beginCaptures": {
|
|
848
848
|
"1": {
|
|
849
849
|
"name": "keyword.control.directive.pragma.objcpp"
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
"name": "punctuation.definition.directive.objcpp"
|
|
853
853
|
}
|
|
854
854
|
},
|
|
855
|
-
"end": "(
|
|
855
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
856
856
|
"name": "meta.preprocessor.pragma.objcpp",
|
|
857
857
|
"patterns": [
|
|
858
858
|
{
|
|
@@ -875,7 +875,7 @@
|
|
|
875
875
|
"name": "support.type.sys-types.objcpp"
|
|
876
876
|
},
|
|
877
877
|
{
|
|
878
|
-
"match": "\\b(
|
|
878
|
+
"match": "\\b(pthread_(?:attr_t|cond_t|condattr_t|mutex_t|mutexattr_t|once_t|rwlock_t|rwlockattr_t|t|key_t))\\b",
|
|
879
879
|
"name": "support.type.pthread.objcpp"
|
|
880
880
|
},
|
|
881
881
|
{
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
"include": "#line_continuation_character"
|
|
915
915
|
},
|
|
916
916
|
{
|
|
917
|
-
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]
|
|
917
|
+
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\])]))?(\\[)(?!])",
|
|
918
918
|
"beginCaptures": {
|
|
919
919
|
"1": {
|
|
920
920
|
"name": "variable.object.objcpp"
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
"name": "punctuation.definition.begin.bracket.square.objcpp"
|
|
924
924
|
}
|
|
925
925
|
},
|
|
926
|
-
"end": "
|
|
926
|
+
"end": "]",
|
|
927
927
|
"endCaptures": {
|
|
928
928
|
"0": {
|
|
929
929
|
"name": "punctuation.definition.end.bracket.square.objcpp"
|
|
@@ -937,7 +937,7 @@
|
|
|
937
937
|
]
|
|
938
938
|
},
|
|
939
939
|
{
|
|
940
|
-
"match": "\\[\\s
|
|
940
|
+
"match": "\\[\\s*]",
|
|
941
941
|
"name": "storage.modifier.array.bracket.square.objcpp"
|
|
942
942
|
},
|
|
943
943
|
{
|
|
@@ -951,7 +951,7 @@
|
|
|
951
951
|
],
|
|
952
952
|
"repository": {
|
|
953
953
|
"access-method": {
|
|
954
|
-
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]
|
|
954
|
+
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\])]))\\s*(?:(\\.)|(->))((?:[a-zA-Z_][a-zA-Z_0-9]*\\s*(?:\\.|->))*)\\s*([a-zA-Z_][a-zA-Z_0-9]*)(\\()",
|
|
955
955
|
"beginCaptures": {
|
|
956
956
|
"1": {
|
|
957
957
|
"name": "variable.object.objcpp"
|
|
@@ -1005,13 +1005,13 @@
|
|
|
1005
1005
|
"block": {
|
|
1006
1006
|
"patterns": [
|
|
1007
1007
|
{
|
|
1008
|
-
"begin": "{",
|
|
1008
|
+
"begin": "\\{",
|
|
1009
1009
|
"beginCaptures": {
|
|
1010
1010
|
"0": {
|
|
1011
1011
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
1012
1012
|
}
|
|
1013
1013
|
},
|
|
1014
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
1014
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)",
|
|
1015
1015
|
"endCaptures": {
|
|
1016
1016
|
"0": {
|
|
1017
1017
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
"include": "#c_function_call"
|
|
1048
1048
|
},
|
|
1049
1049
|
{
|
|
1050
|
-
"begin": "(
|
|
1050
|
+
"begin": "(?=\\s)(?<!else|new|return)(?<=\\w)\\s+(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
1051
1051
|
"beginCaptures": {
|
|
1052
1052
|
"1": {
|
|
1053
1053
|
"name": "variable.other.objcpp"
|
|
@@ -1070,13 +1070,13 @@
|
|
|
1070
1070
|
]
|
|
1071
1071
|
},
|
|
1072
1072
|
{
|
|
1073
|
-
"begin": "{",
|
|
1073
|
+
"begin": "\\{",
|
|
1074
1074
|
"beginCaptures": {
|
|
1075
1075
|
"0": {
|
|
1076
1076
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
1077
1077
|
}
|
|
1078
1078
|
},
|
|
1079
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
1079
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)",
|
|
1080
1080
|
"endCaptures": {
|
|
1081
1081
|
"0": {
|
|
1082
1082
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
]
|
|
1098
1098
|
},
|
|
1099
1099
|
"c_function_call": {
|
|
1100
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\(|(
|
|
1100
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\(|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[])\\s*\\()",
|
|
1101
1101
|
"end": "(?<=\\))(?!\\w)",
|
|
1102
1102
|
"name": "meta.function-call.objcpp",
|
|
1103
1103
|
"patterns": [
|
|
@@ -1249,7 +1249,7 @@
|
|
|
1249
1249
|
"include": "#operators"
|
|
1250
1250
|
},
|
|
1251
1251
|
{
|
|
1252
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(
|
|
1252
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
1253
1253
|
"beginCaptures": {
|
|
1254
1254
|
"1": {
|
|
1255
1255
|
"name": "entity.name.function.objcpp"
|
|
@@ -1309,7 +1309,7 @@
|
|
|
1309
1309
|
"include": "#vararg_ellipses"
|
|
1310
1310
|
},
|
|
1311
1311
|
{
|
|
1312
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(
|
|
1312
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
1313
1313
|
"beginCaptures": {
|
|
1314
1314
|
"1": {
|
|
1315
1315
|
"name": "entity.name.function.objcpp"
|
|
@@ -1417,7 +1417,7 @@
|
|
|
1417
1417
|
"name": "punctuation.separator.pointer-access.objcpp"
|
|
1418
1418
|
}
|
|
1419
1419
|
},
|
|
1420
|
-
"match": "((?:[a-zA-Z_]\\w*|(
|
|
1420
|
+
"match": "((?:[a-zA-Z_]\\w*|(?<=[\\])]))\\s*)(?:(\\.(?:\\*|))|(->(?:\\*|)))"
|
|
1421
1421
|
}
|
|
1422
1422
|
]
|
|
1423
1423
|
},
|
|
@@ -1425,10 +1425,10 @@
|
|
|
1425
1425
|
"name": "variable.other.member.objcpp"
|
|
1426
1426
|
}
|
|
1427
1427
|
},
|
|
1428
|
-
"match": "((?:[a-zA-Z_]\\w*|(
|
|
1428
|
+
"match": "((?:[a-zA-Z_]\\w*|(?<=[\\])]))\\s*)(?:(\\.(?:\\*|))|(->(?:\\*|)))((?:[a-zA-Z_]\\w*\\s*(?-im:\\.(?:\\*|)|->(?:\\*|))\\s*)*)\\s*(\\b(?!(?:void|char|short|int|signed|unsigned|long|float|double|bool|_Bool|_Complex|_Imaginary|u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t|pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t|memory_order|atomic_bool|atomic_char|atomic_schar|atomic_uchar|atomic_short|atomic_ushort|atomic_int|atomic_uint|atomic_long|atomic_ulong|atomic_llong|atomic_ullong|atomic_char16_t|atomic_char32_t|atomic_wchar_t|atomic_int_least8_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_least16_t|atomic_int_least32_t|atomic_uint_least32_t|atomic_int_least64_t|atomic_uint_least64_t|atomic_int_fast8_t|atomic_uint_fast8_t|atomic_int_fast16_t|atomic_uint_fast16_t|atomic_int_fast32_t|atomic_uint_fast32_t|atomic_int_fast64_t|atomic_uint_fast64_t|atomic_intptr_t|atomic_uintptr_t|atomic_size_t|atomic_ptrdiff_t|atomic_intmax_t|atomic_uintmax_t))[a-zA-Z_]\\w*\\b(?!\\())"
|
|
1429
1429
|
},
|
|
1430
1430
|
"method_access": {
|
|
1431
|
-
"begin": "((?:[a-zA-Z_]\\w*|(
|
|
1431
|
+
"begin": "((?:[a-zA-Z_]\\w*|(?<=[\\])]))\\s*)(?:(\\.(?:\\*|))|(->(?:\\*|)))((?:[a-zA-Z_]\\w*\\s*(?-im:\\.(?:\\*|)|->(?:\\*|))\\s*)*)\\s*([a-zA-Z_]\\w*)(\\()",
|
|
1432
1432
|
"beginCaptures": {
|
|
1433
1433
|
"1": {
|
|
1434
1434
|
"patterns": [
|
|
@@ -1475,7 +1475,7 @@
|
|
|
1475
1475
|
"name": "punctuation.separator.pointer-access.objcpp"
|
|
1476
1476
|
}
|
|
1477
1477
|
},
|
|
1478
|
-
"match": "((?:[a-zA-Z_]\\w*|(
|
|
1478
|
+
"match": "((?:[a-zA-Z_]\\w*|(?<=[\\])]))\\s*)(?:(\\.(?:\\*|))|(->(?:\\*|)))"
|
|
1479
1479
|
}
|
|
1480
1480
|
]
|
|
1481
1481
|
},
|
|
@@ -1501,7 +1501,7 @@
|
|
|
1501
1501
|
},
|
|
1502
1502
|
"numbers": {
|
|
1503
1503
|
"begin": "(?<!\\w)(?=\\d|\\.\\d)",
|
|
1504
|
-
"end": "(?!(?:['0-9a-zA-Z_
|
|
1504
|
+
"end": "(?!(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-]))",
|
|
1505
1505
|
"patterns": [
|
|
1506
1506
|
{
|
|
1507
1507
|
"captures": {
|
|
@@ -1515,7 +1515,7 @@
|
|
|
1515
1515
|
"name": "constant.numeric.exponent.hexadecimal.objcpp",
|
|
1516
1516
|
"patterns": [
|
|
1517
1517
|
{
|
|
1518
|
-
"match": "(
|
|
1518
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1519
1519
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1520
1520
|
}
|
|
1521
1521
|
]
|
|
@@ -1527,7 +1527,7 @@
|
|
|
1527
1527
|
"name": "constant.numeric.hexadecimal.objcpp",
|
|
1528
1528
|
"patterns": [
|
|
1529
1529
|
{
|
|
1530
|
-
"match": "(
|
|
1530
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1531
1531
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1532
1532
|
}
|
|
1533
1533
|
]
|
|
@@ -1542,7 +1542,7 @@
|
|
|
1542
1542
|
"name": "constant.numeric.hexadecimal.objcpp",
|
|
1543
1543
|
"patterns": [
|
|
1544
1544
|
{
|
|
1545
|
-
"match": "(
|
|
1545
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1546
1546
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1547
1547
|
}
|
|
1548
1548
|
]
|
|
@@ -1557,7 +1557,7 @@
|
|
|
1557
1557
|
"name": "keyword.operator.plus.exponent.hexadecimal.objcpp"
|
|
1558
1558
|
}
|
|
1559
1559
|
},
|
|
1560
|
-
"match": "(\\G0[xX])(
|
|
1560
|
+
"match": "(\\G0[xX])(\\h(?:\\h|((?<=\\h)'(?=\\h)))*)?((?:(?<=\\h)\\.|\\.(?=\\h)))(\\h(?:\\h|((?<=\\h)'(?=\\h)))*)?((?<!')([pP])(\\+)?(-)?((?-im:[0-9](?:[0-9]|(?<=\\h)'(?=\\h))*)))?([lLfF](?!\\w))?(?!(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-]))"
|
|
1561
1561
|
},
|
|
1562
1562
|
{
|
|
1563
1563
|
"captures": {
|
|
@@ -1568,7 +1568,7 @@
|
|
|
1568
1568
|
"name": "constant.numeric.exponent.decimal.objcpp",
|
|
1569
1569
|
"patterns": [
|
|
1570
1570
|
{
|
|
1571
|
-
"match": "(
|
|
1571
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1572
1572
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1573
1573
|
}
|
|
1574
1574
|
]
|
|
@@ -1580,7 +1580,7 @@
|
|
|
1580
1580
|
"name": "constant.numeric.decimal.objcpp",
|
|
1581
1581
|
"patterns": [
|
|
1582
1582
|
{
|
|
1583
|
-
"match": "(
|
|
1583
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1584
1584
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1585
1585
|
}
|
|
1586
1586
|
]
|
|
@@ -1595,7 +1595,7 @@
|
|
|
1595
1595
|
"name": "constant.numeric.decimal.objcpp",
|
|
1596
1596
|
"patterns": [
|
|
1597
1597
|
{
|
|
1598
|
-
"match": "(
|
|
1598
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1599
1599
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1600
1600
|
}
|
|
1601
1601
|
]
|
|
@@ -1610,7 +1610,7 @@
|
|
|
1610
1610
|
"name": "keyword.operator.plus.exponent.decimal.objcpp"
|
|
1611
1611
|
}
|
|
1612
1612
|
},
|
|
1613
|
-
"match": "(\\G(?=[0-9.])(?!0[xXbB]))(
|
|
1613
|
+
"match": "(\\G(?=[0-9.])(?!0[xXbB]))([0-9](?:[0-9]|((?<=\\h)'(?=\\h)))*)?((?:(?<=[0-9])\\.|\\.(?=[0-9])))([0-9](?:[0-9]|((?<=\\h)'(?=\\h)))*)?((?<!')([eE])(\\+)?(-)?((?-im:[0-9](?:[0-9]|(?<=\\h)'(?=\\h))*)))?([lLfF](?!\\w))?(?!(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-]))"
|
|
1614
1614
|
},
|
|
1615
1615
|
{
|
|
1616
1616
|
"captures": {
|
|
@@ -1621,7 +1621,7 @@
|
|
|
1621
1621
|
"name": "constant.numeric.binary.objcpp",
|
|
1622
1622
|
"patterns": [
|
|
1623
1623
|
{
|
|
1624
|
-
"match": "(
|
|
1624
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1625
1625
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1626
1626
|
}
|
|
1627
1627
|
]
|
|
@@ -1633,7 +1633,7 @@
|
|
|
1633
1633
|
"name": "keyword.other.unit.suffix.integer.objcpp"
|
|
1634
1634
|
}
|
|
1635
1635
|
},
|
|
1636
|
-
"match": "(\\G0[bB])([01](?:
|
|
1636
|
+
"match": "(\\G0[bB])([01](?:[01]|((?<=\\h)'(?=\\h)))*)((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w))?(?!(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-]))"
|
|
1637
1637
|
},
|
|
1638
1638
|
{
|
|
1639
1639
|
"captures": {
|
|
@@ -1644,7 +1644,7 @@
|
|
|
1644
1644
|
"name": "constant.numeric.octal.objcpp",
|
|
1645
1645
|
"patterns": [
|
|
1646
1646
|
{
|
|
1647
|
-
"match": "(
|
|
1647
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1648
1648
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1649
1649
|
}
|
|
1650
1650
|
]
|
|
@@ -1656,7 +1656,7 @@
|
|
|
1656
1656
|
"name": "keyword.other.unit.suffix.integer.objcpp"
|
|
1657
1657
|
}
|
|
1658
1658
|
},
|
|
1659
|
-
"match": "(\\G0)((?:
|
|
1659
|
+
"match": "(\\G0)((?:[0-7]|((?<=\\h)'(?=\\h)))+)((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w))?(?!(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-]))"
|
|
1660
1660
|
},
|
|
1661
1661
|
{
|
|
1662
1662
|
"captures": {
|
|
@@ -1667,7 +1667,7 @@
|
|
|
1667
1667
|
"name": "constant.numeric.hexadecimal.objcpp",
|
|
1668
1668
|
"patterns": [
|
|
1669
1669
|
{
|
|
1670
|
-
"match": "(
|
|
1670
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1671
1671
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1672
1672
|
}
|
|
1673
1673
|
]
|
|
@@ -1688,7 +1688,7 @@
|
|
|
1688
1688
|
"name": "constant.numeric.exponent.hexadecimal.objcpp",
|
|
1689
1689
|
"patterns": [
|
|
1690
1690
|
{
|
|
1691
|
-
"match": "(
|
|
1691
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1692
1692
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1693
1693
|
}
|
|
1694
1694
|
]
|
|
@@ -1697,7 +1697,7 @@
|
|
|
1697
1697
|
"name": "keyword.other.unit.suffix.integer.objcpp"
|
|
1698
1698
|
}
|
|
1699
1699
|
},
|
|
1700
|
-
"match": "(\\G0[xX])(
|
|
1700
|
+
"match": "(\\G0[xX])(\\h(?:\\h|((?<=\\h)'(?=\\h)))*)((?<!')([pP])(\\+)?(-)?((?-im:[0-9](?:[0-9]|(?<=\\h)'(?=\\h))*)))?((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w))?(?!(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-]))"
|
|
1701
1701
|
},
|
|
1702
1702
|
{
|
|
1703
1703
|
"captures": {
|
|
@@ -1705,7 +1705,7 @@
|
|
|
1705
1705
|
"name": "constant.numeric.decimal.objcpp",
|
|
1706
1706
|
"patterns": [
|
|
1707
1707
|
{
|
|
1708
|
-
"match": "(
|
|
1708
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1709
1709
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1710
1710
|
}
|
|
1711
1711
|
]
|
|
@@ -1726,7 +1726,7 @@
|
|
|
1726
1726
|
"name": "constant.numeric.exponent.decimal.objcpp",
|
|
1727
1727
|
"patterns": [
|
|
1728
1728
|
{
|
|
1729
|
-
"match": "(
|
|
1729
|
+
"match": "(?<=\\h)'(?=\\h)",
|
|
1730
1730
|
"name": "punctuation.separator.constant.numeric.objcpp"
|
|
1731
1731
|
}
|
|
1732
1732
|
]
|
|
@@ -1735,10 +1735,10 @@
|
|
|
1735
1735
|
"name": "keyword.other.unit.suffix.integer.objcpp"
|
|
1736
1736
|
}
|
|
1737
1737
|
},
|
|
1738
|
-
"match": "(\\G(?=[0-9.])(?!0[xXbB]))([0-9](?:
|
|
1738
|
+
"match": "(\\G(?=[0-9.])(?!0[xXbB]))([0-9](?:[0-9]|((?<=\\h)'(?=\\h)))*)((?<!')([eE])(\\+)?(-)?((?-im:[0-9](?:[0-9]|(?<=\\h)'(?=\\h))*)))?((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w))?(?!(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-]))"
|
|
1739
1739
|
},
|
|
1740
1740
|
{
|
|
1741
|
-
"match": "(?:
|
|
1741
|
+
"match": "(?:['0-9a-zA-Z_.]|(?<=[eEpP])[+\\-])+",
|
|
1742
1742
|
"name": "invalid.illegal.constant.numeric.objcpp"
|
|
1743
1743
|
}
|
|
1744
1744
|
]
|
|
@@ -1770,7 +1770,7 @@
|
|
|
1770
1770
|
"name": "keyword.operator.bitwise.shift.objcpp"
|
|
1771
1771
|
},
|
|
1772
1772
|
{
|
|
1773
|
-
"match": "
|
|
1773
|
+
"match": "!=|<=|>=|==|[<>]",
|
|
1774
1774
|
"name": "keyword.operator.comparison.objcpp"
|
|
1775
1775
|
},
|
|
1776
1776
|
{
|
|
@@ -1778,7 +1778,7 @@
|
|
|
1778
1778
|
"name": "keyword.operator.logical.objcpp"
|
|
1779
1779
|
},
|
|
1780
1780
|
{
|
|
1781
|
-
"match": "
|
|
1781
|
+
"match": "[\\&|\\^~]",
|
|
1782
1782
|
"name": "keyword.operator.objcpp"
|
|
1783
1783
|
},
|
|
1784
1784
|
{
|
|
@@ -1786,7 +1786,7 @@
|
|
|
1786
1786
|
"name": "keyword.operator.assignment.objcpp"
|
|
1787
1787
|
},
|
|
1788
1788
|
{
|
|
1789
|
-
"match": "
|
|
1789
|
+
"match": "[%*/\\-+]",
|
|
1790
1790
|
"name": "keyword.operator.objcpp"
|
|
1791
1791
|
},
|
|
1792
1792
|
{
|
|
@@ -1852,7 +1852,7 @@
|
|
|
1852
1852
|
"include": "#block_innards"
|
|
1853
1853
|
},
|
|
1854
1854
|
{
|
|
1855
|
-
"match": "(?-
|
|
1855
|
+
"match": "(?-im:(?<!:):(?!:))",
|
|
1856
1856
|
"name": "punctuation.range-based.objcpp"
|
|
1857
1857
|
}
|
|
1858
1858
|
]
|
|
@@ -1904,7 +1904,7 @@
|
|
|
1904
1904
|
},
|
|
1905
1905
|
"patterns": [
|
|
1906
1906
|
{
|
|
1907
|
-
"begin": "\\G(?=.)(
|
|
1907
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
1908
1908
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1909
1909
|
"name": "meta.preprocessor.objcpp",
|
|
1910
1910
|
"patterns": [
|
|
@@ -1951,7 +1951,7 @@
|
|
|
1951
1951
|
"name": "invalid.illegal.stray-$1.objcpp"
|
|
1952
1952
|
}
|
|
1953
1953
|
},
|
|
1954
|
-
"match": "^\\s*#\\s*(
|
|
1954
|
+
"match": "^\\s*#\\s*(e(?:lse|lif|ndif))\\b"
|
|
1955
1955
|
}
|
|
1956
1956
|
]
|
|
1957
1957
|
},
|
|
@@ -1984,7 +1984,7 @@
|
|
|
1984
1984
|
},
|
|
1985
1985
|
"patterns": [
|
|
1986
1986
|
{
|
|
1987
|
-
"begin": "\\G(?=.)(
|
|
1987
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
1988
1988
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1989
1989
|
"name": "meta.preprocessor.objcpp",
|
|
1990
1990
|
"patterns": [
|
|
@@ -2031,14 +2031,14 @@
|
|
|
2031
2031
|
"name": "invalid.illegal.stray-$1.objcpp"
|
|
2032
2032
|
}
|
|
2033
2033
|
},
|
|
2034
|
-
"match": "^\\s*#\\s*(
|
|
2034
|
+
"match": "^\\s*#\\s*(e(?:lse|lif|ndif))\\b"
|
|
2035
2035
|
}
|
|
2036
2036
|
]
|
|
2037
2037
|
},
|
|
2038
2038
|
"preprocessor-rule-conditional-line": {
|
|
2039
2039
|
"patterns": [
|
|
2040
2040
|
{
|
|
2041
|
-
"match": "
|
|
2041
|
+
"match": "\\bdefined\\b(?:\\s*$|(?=\\s*\\(*\\s*(?!defined\\b)[a-zA-Z_$][\\w$]*\\b\\s*\\)*\\s*(?:\\n|//|/\\*|[?:]|&&|\\|\\||\\\\\\s*\\n)))",
|
|
2042
2042
|
"name": "keyword.control.directive.conditional.objcpp"
|
|
2043
2043
|
},
|
|
2044
2044
|
{
|
|
@@ -2111,13 +2111,13 @@
|
|
|
2111
2111
|
"preprocessor-rule-define-line-blocks": {
|
|
2112
2112
|
"patterns": [
|
|
2113
2113
|
{
|
|
2114
|
-
"begin": "{",
|
|
2114
|
+
"begin": "\\{",
|
|
2115
2115
|
"beginCaptures": {
|
|
2116
2116
|
"0": {
|
|
2117
2117
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
2118
2118
|
}
|
|
2119
2119
|
},
|
|
2120
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
2120
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)|(?<!\\\\)(?=\\s*\\n)",
|
|
2121
2121
|
"endCaptures": {
|
|
2122
2122
|
"0": {
|
|
2123
2123
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -2143,13 +2143,13 @@
|
|
|
2143
2143
|
"include": "#vararg_ellipses"
|
|
2144
2144
|
},
|
|
2145
2145
|
{
|
|
2146
|
-
"begin": "{",
|
|
2146
|
+
"begin": "\\{",
|
|
2147
2147
|
"beginCaptures": {
|
|
2148
2148
|
"0": {
|
|
2149
2149
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
2150
2150
|
}
|
|
2151
2151
|
},
|
|
2152
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
2152
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)|(?<!\\\\)(?=\\s*\\n)",
|
|
2153
2153
|
"endCaptures": {
|
|
2154
2154
|
"0": {
|
|
2155
2155
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -2171,7 +2171,7 @@
|
|
|
2171
2171
|
"name": "punctuation.section.parens.end.bracket.round.objcpp"
|
|
2172
2172
|
},
|
|
2173
2173
|
{
|
|
2174
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\(|(
|
|
2174
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\(|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[])\\s*\\()",
|
|
2175
2175
|
"end": "(?<=\\))(?!\\w)|(?<!\\\\)(?=\\s*\\n)",
|
|
2176
2176
|
"name": "meta.function.objcpp",
|
|
2177
2177
|
"patterns": [
|
|
@@ -2261,7 +2261,7 @@
|
|
|
2261
2261
|
"include": "#operators"
|
|
2262
2262
|
},
|
|
2263
2263
|
{
|
|
2264
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(
|
|
2264
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
2265
2265
|
"beginCaptures": {
|
|
2266
2266
|
"1": {
|
|
2267
2267
|
"name": "entity.name.function.objcpp"
|
|
@@ -2335,7 +2335,7 @@
|
|
|
2335
2335
|
},
|
|
2336
2336
|
"patterns": [
|
|
2337
2337
|
{
|
|
2338
|
-
"begin": "\\G(?=.)(
|
|
2338
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2339
2339
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
2340
2340
|
"name": "meta.preprocessor.objcpp",
|
|
2341
2341
|
"patterns": [
|
|
@@ -2369,10 +2369,10 @@
|
|
|
2369
2369
|
"name": "punctuation.definition.directive.objcpp"
|
|
2370
2370
|
}
|
|
2371
2371
|
},
|
|
2372
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2372
|
+
"end": "(?=^\\s*((#)\\s*e(?:lif|lse|ndif)\\b))",
|
|
2373
2373
|
"patterns": [
|
|
2374
2374
|
{
|
|
2375
|
-
"begin": "\\G(?=.)(
|
|
2375
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2376
2376
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
2377
2377
|
"name": "meta.preprocessor.objcpp",
|
|
2378
2378
|
"patterns": [
|
|
@@ -2389,7 +2389,7 @@
|
|
|
2389
2389
|
{
|
|
2390
2390
|
"begin": "\\n",
|
|
2391
2391
|
"contentName": "comment.block.preprocessor.if-branch.objcpp",
|
|
2392
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2392
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2393
2393
|
"patterns": [
|
|
2394
2394
|
{
|
|
2395
2395
|
"include": "#disabled"
|
|
@@ -2432,7 +2432,7 @@
|
|
|
2432
2432
|
},
|
|
2433
2433
|
"patterns": [
|
|
2434
2434
|
{
|
|
2435
|
-
"begin": "\\G(?=.)(
|
|
2435
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2436
2436
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
2437
2437
|
"name": "meta.preprocessor.objcpp",
|
|
2438
2438
|
"patterns": [
|
|
@@ -2466,10 +2466,10 @@
|
|
|
2466
2466
|
"name": "punctuation.definition.directive.objcpp"
|
|
2467
2467
|
}
|
|
2468
2468
|
},
|
|
2469
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2469
|
+
"end": "(?=^\\s*((#)\\s*e(?:lif|lse|ndif)\\b))",
|
|
2470
2470
|
"patterns": [
|
|
2471
2471
|
{
|
|
2472
|
-
"begin": "\\G(?=.)(
|
|
2472
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2473
2473
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
2474
2474
|
"name": "meta.preprocessor.objcpp",
|
|
2475
2475
|
"patterns": [
|
|
@@ -2486,7 +2486,7 @@
|
|
|
2486
2486
|
{
|
|
2487
2487
|
"begin": "\\n",
|
|
2488
2488
|
"contentName": "comment.block.preprocessor.if-branch.in-block.objcpp",
|
|
2489
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2489
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2490
2490
|
"patterns": [
|
|
2491
2491
|
{
|
|
2492
2492
|
"include": "#disabled"
|
|
@@ -2513,10 +2513,10 @@
|
|
|
2513
2513
|
"name": "punctuation.definition.directive.objcpp"
|
|
2514
2514
|
}
|
|
2515
2515
|
},
|
|
2516
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2516
|
+
"end": "(?=^\\s*((#)\\s*e(?:lif|lse|ndif)\\b))",
|
|
2517
2517
|
"patterns": [
|
|
2518
2518
|
{
|
|
2519
|
-
"begin": "\\G(?=.)(
|
|
2519
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2520
2520
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
2521
2521
|
"name": "meta.preprocessor.objcpp",
|
|
2522
2522
|
"patterns": [
|
|
@@ -2531,7 +2531,7 @@
|
|
|
2531
2531
|
{
|
|
2532
2532
|
"begin": "\\n",
|
|
2533
2533
|
"contentName": "comment.block.preprocessor.elif-branch.objcpp",
|
|
2534
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2534
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2535
2535
|
"patterns": [
|
|
2536
2536
|
{
|
|
2537
2537
|
"include": "#disabled"
|
|
@@ -2575,7 +2575,7 @@
|
|
|
2575
2575
|
},
|
|
2576
2576
|
"patterns": [
|
|
2577
2577
|
{
|
|
2578
|
-
"begin": "\\G(?=.)(
|
|
2578
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2579
2579
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
2580
2580
|
"name": "meta.preprocessor.objcpp",
|
|
2581
2581
|
"patterns": [
|
|
@@ -2625,7 +2625,7 @@
|
|
|
2625
2625
|
}
|
|
2626
2626
|
},
|
|
2627
2627
|
"contentName": "comment.block.preprocessor.if-branch.objcpp",
|
|
2628
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2628
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2629
2629
|
"patterns": [
|
|
2630
2630
|
{
|
|
2631
2631
|
"include": "#disabled"
|
|
@@ -2637,7 +2637,7 @@
|
|
|
2637
2637
|
},
|
|
2638
2638
|
{
|
|
2639
2639
|
"begin": "\\n",
|
|
2640
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2640
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2641
2641
|
"patterns": [
|
|
2642
2642
|
{
|
|
2643
2643
|
"include": "$base"
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
},
|
|
2678
2678
|
"patterns": [
|
|
2679
2679
|
{
|
|
2680
|
-
"begin": "\\G(?=.)(
|
|
2680
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2681
2681
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
2682
2682
|
"name": "meta.preprocessor.objcpp",
|
|
2683
2683
|
"patterns": [
|
|
@@ -2727,7 +2727,7 @@
|
|
|
2727
2727
|
}
|
|
2728
2728
|
},
|
|
2729
2729
|
"contentName": "comment.block.preprocessor.if-branch.in-block.objcpp",
|
|
2730
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2730
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2731
2731
|
"patterns": [
|
|
2732
2732
|
{
|
|
2733
2733
|
"include": "#disabled"
|
|
@@ -2739,7 +2739,7 @@
|
|
|
2739
2739
|
},
|
|
2740
2740
|
{
|
|
2741
2741
|
"begin": "\\n",
|
|
2742
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2742
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2743
2743
|
"patterns": [
|
|
2744
2744
|
{
|
|
2745
2745
|
"include": "#block_innards"
|
|
@@ -2766,7 +2766,7 @@
|
|
|
2766
2766
|
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
2767
2767
|
"patterns": [
|
|
2768
2768
|
{
|
|
2769
|
-
"begin": "\\G(?=.)(
|
|
2769
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2770
2770
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
2771
2771
|
"name": "meta.preprocessor.objcpp",
|
|
2772
2772
|
"patterns": [
|
|
@@ -2780,7 +2780,7 @@
|
|
|
2780
2780
|
},
|
|
2781
2781
|
{
|
|
2782
2782
|
"begin": "\\n",
|
|
2783
|
-
"end": "(?=^\\s*((#)\\s*
|
|
2783
|
+
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
2784
2784
|
"patterns": [
|
|
2785
2785
|
{
|
|
2786
2786
|
"begin": "^\\s*((#)\\s*(else)\\b)",
|
|
@@ -2820,7 +2820,7 @@
|
|
|
2820
2820
|
}
|
|
2821
2821
|
},
|
|
2822
2822
|
"contentName": "comment.block.preprocessor.elif-branch.objcpp",
|
|
2823
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2823
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2824
2824
|
"patterns": [
|
|
2825
2825
|
{
|
|
2826
2826
|
"include": "#disabled"
|
|
@@ -2853,7 +2853,7 @@
|
|
|
2853
2853
|
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
2854
2854
|
"patterns": [
|
|
2855
2855
|
{
|
|
2856
|
-
"begin": "\\G(?=.)(
|
|
2856
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
2857
2857
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
2858
2858
|
"name": "meta.preprocessor.objcpp",
|
|
2859
2859
|
"patterns": [
|
|
@@ -2867,7 +2867,7 @@
|
|
|
2867
2867
|
},
|
|
2868
2868
|
{
|
|
2869
2869
|
"begin": "\\n",
|
|
2870
|
-
"end": "(?=^\\s*((#)\\s*
|
|
2870
|
+
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
2871
2871
|
"patterns": [
|
|
2872
2872
|
{
|
|
2873
2873
|
"begin": "^\\s*((#)\\s*(else)\\b)",
|
|
@@ -2907,7 +2907,7 @@
|
|
|
2907
2907
|
}
|
|
2908
2908
|
},
|
|
2909
2909
|
"contentName": "comment.block.preprocessor.elif-branch.objcpp",
|
|
2910
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
2910
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
2911
2911
|
"patterns": [
|
|
2912
2912
|
{
|
|
2913
2913
|
"include": "#disabled"
|
|
@@ -2970,7 +2970,7 @@
|
|
|
2970
2970
|
"name": "variable.parameter.probably.objcpp"
|
|
2971
2971
|
}
|
|
2972
2972
|
},
|
|
2973
|
-
"match": "(?<=(?:[a-zA-Z_0-9] |[
|
|
2973
|
+
"match": "(?<=(?:[a-zA-Z_0-9] |[\\&*>\\])]))\\s*([a-zA-Z_]\\w*)\\s*(?=(?:\\[]\\s*)?[,)])"
|
|
2974
2974
|
},
|
|
2975
2975
|
"static_assert": {
|
|
2976
2976
|
"begin": "(static_assert|_Static_assert)\\s*(\\()",
|
|
@@ -2990,7 +2990,7 @@
|
|
|
2990
2990
|
},
|
|
2991
2991
|
"patterns": [
|
|
2992
2992
|
{
|
|
2993
|
-
"begin": "(,)\\s*(?=(?:L|u8|u|U\\s
|
|
2993
|
+
"begin": "(,)\\s*(?=(?:L|u8|u|U\\s*\")?)",
|
|
2994
2994
|
"beginCaptures": {
|
|
2995
2995
|
"1": {
|
|
2996
2996
|
"name": "punctuation.separator.delimiter.objcpp"
|
|
@@ -3015,15 +3015,15 @@
|
|
|
3015
3015
|
"storage_types": {
|
|
3016
3016
|
"patterns": [
|
|
3017
3017
|
{
|
|
3018
|
-
"match": "(?-
|
|
3018
|
+
"match": "(?-im:(?<!\\w)(?:void|char|short|int|signed|unsigned|long|float|double|bool|_Bool)(?!\\w))",
|
|
3019
3019
|
"name": "storage.type.built-in.primitive.objcpp"
|
|
3020
3020
|
},
|
|
3021
3021
|
{
|
|
3022
|
-
"match": "(?-
|
|
3022
|
+
"match": "(?-im:(?<!\\w)(?:_Complex|_Imaginary|u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t|pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t|memory_order|atomic_bool|atomic_char|atomic_schar|atomic_uchar|atomic_short|atomic_ushort|atomic_int|atomic_uint|atomic_long|atomic_ulong|atomic_llong|atomic_ullong|atomic_char16_t|atomic_char32_t|atomic_wchar_t|atomic_int_least8_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_least16_t|atomic_int_least32_t|atomic_uint_least32_t|atomic_int_least64_t|atomic_uint_least64_t|atomic_int_fast8_t|atomic_uint_fast8_t|atomic_int_fast16_t|atomic_uint_fast16_t|atomic_int_fast32_t|atomic_uint_fast32_t|atomic_int_fast64_t|atomic_uint_fast64_t|atomic_intptr_t|atomic_uintptr_t|atomic_size_t|atomic_ptrdiff_t|atomic_intmax_t|atomic_uintmax_t)(?!\\w))",
|
|
3023
3023
|
"name": "storage.type.built-in.objcpp"
|
|
3024
3024
|
},
|
|
3025
3025
|
{
|
|
3026
|
-
"match": "(?-
|
|
3026
|
+
"match": "(?-im:\\b(asm|__asm__|enum|struct|union)\\b)",
|
|
3027
3027
|
"name": "storage.type.$1.objcpp"
|
|
3028
3028
|
}
|
|
3029
3029
|
]
|
|
@@ -3031,7 +3031,7 @@
|
|
|
3031
3031
|
"string_escaped_char": {
|
|
3032
3032
|
"patterns": [
|
|
3033
3033
|
{
|
|
3034
|
-
"match": "\\\\(
|
|
3034
|
+
"match": "\\\\([\\\\abefnprtv'\"?]|[0-3]\\d{0,2}|[4-7]\\d?|x\\h{0,2}|u\\h{0,4}|U\\h{0,8})",
|
|
3035
3035
|
"name": "constant.character.escape.objcpp"
|
|
3036
3036
|
},
|
|
3037
3037
|
{
|
|
@@ -3043,7 +3043,7 @@
|
|
|
3043
3043
|
"string_placeholder": {
|
|
3044
3044
|
"patterns": [
|
|
3045
3045
|
{
|
|
3046
|
-
"match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|
|
|
3046
|
+
"match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|[ljtzqL]|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]",
|
|
3047
3047
|
"name": "constant.other.placeholder.objcpp"
|
|
3048
3048
|
},
|
|
3049
3049
|
{
|
|
@@ -3139,7 +3139,7 @@
|
|
|
3139
3139
|
"name": "keyword.control.switch.objcpp"
|
|
3140
3140
|
}
|
|
3141
3141
|
},
|
|
3142
|
-
"end": "(?:(
|
|
3142
|
+
"end": "(?:(?<=})|(?=[;>\\[\\]=]))",
|
|
3143
3143
|
"name": "meta.block.switch.objcpp",
|
|
3144
3144
|
"patterns": [
|
|
3145
3145
|
{
|
|
@@ -3162,7 +3162,7 @@
|
|
|
3162
3162
|
},
|
|
3163
3163
|
{
|
|
3164
3164
|
"begin": "(?<=\\{)",
|
|
3165
|
-
"end": "(
|
|
3165
|
+
"end": "(})",
|
|
3166
3166
|
"endCaptures": {
|
|
3167
3167
|
"1": {
|
|
3168
3168
|
"name": "punctuation.section.block.end.bracket.curly.switch.objcpp"
|
|
@@ -3256,7 +3256,7 @@
|
|
|
3256
3256
|
"name": "storage.modifier.objcpp"
|
|
3257
3257
|
},
|
|
3258
3258
|
{
|
|
3259
|
-
"match": "\\b(
|
|
3259
|
+
"match": "\\b(p(?:rivate:|rotected:|ublic:))",
|
|
3260
3260
|
"name": "storage.type.modifier.access.objcpp"
|
|
3261
3261
|
},
|
|
3262
3262
|
{
|
|
@@ -3264,11 +3264,11 @@
|
|
|
3264
3264
|
"name": "keyword.control.objcpp"
|
|
3265
3265
|
},
|
|
3266
3266
|
{
|
|
3267
|
-
"match": "\\
|
|
3267
|
+
"match": "\\b(?:delete\\b(\\s*\\[])?|new\\b(?!]))",
|
|
3268
3268
|
"name": "keyword.control.objcpp"
|
|
3269
3269
|
},
|
|
3270
3270
|
{
|
|
3271
|
-
"match": "\\b(
|
|
3271
|
+
"match": "\\b([fm])[A-Z]\\w*\\b",
|
|
3272
3272
|
"name": "variable.other.readwrite.member.objcpp"
|
|
3273
3273
|
},
|
|
3274
3274
|
{
|
|
@@ -3318,7 +3318,7 @@
|
|
|
3318
3318
|
"name": "storage.modifier.objcpp"
|
|
3319
3319
|
},
|
|
3320
3320
|
{
|
|
3321
|
-
"begin": "(?:^|(
|
|
3321
|
+
"begin": "(?:^|(?<!else|new|=))((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*)\\s*(\\()",
|
|
3322
3322
|
"beginCaptures": {
|
|
3323
3323
|
"1": {
|
|
3324
3324
|
"name": "entity.name.function.objcpp"
|
|
@@ -3341,7 +3341,7 @@
|
|
|
3341
3341
|
]
|
|
3342
3342
|
},
|
|
3343
3343
|
{
|
|
3344
|
-
"begin": "(?:^|(
|
|
3344
|
+
"begin": "(?:^|(?<!else|new|=))((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*)\\s*(\\()",
|
|
3345
3345
|
"beginCaptures": {
|
|
3346
3346
|
"1": {
|
|
3347
3347
|
"name": "entity.name.function.objcpp"
|
|
@@ -3388,7 +3388,7 @@
|
|
|
3388
3388
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
3389
3389
|
}
|
|
3390
3390
|
},
|
|
3391
|
-
"end": "
|
|
3391
|
+
"end": "}",
|
|
3392
3392
|
"endCaptures": {
|
|
3393
3393
|
"0": {
|
|
3394
3394
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -3416,7 +3416,7 @@
|
|
|
3416
3416
|
"constructor": {
|
|
3417
3417
|
"patterns": [
|
|
3418
3418
|
{
|
|
3419
|
-
"begin": "
|
|
3419
|
+
"begin": "^\\s*((?!while|for|do|if|else|switch|catch|enumerate|r?iterate)[A-Za-z_][A-Za-z0-9_:]*)\\s*(\\()",
|
|
3420
3420
|
"beginCaptures": {
|
|
3421
3421
|
"1": {
|
|
3422
3422
|
"name": "entity.name.function.constructor.objcpp"
|
|
@@ -3496,7 +3496,7 @@
|
|
|
3496
3496
|
"name": "keyword.control.namespace.$2.objcpp"
|
|
3497
3497
|
}
|
|
3498
3498
|
},
|
|
3499
|
-
"end": "(
|
|
3499
|
+
"end": "(?<=})|(?=([;,()>\\[\\]=]))",
|
|
3500
3500
|
"name": "meta.namespace-block.objcpp",
|
|
3501
3501
|
"patterns": [
|
|
3502
3502
|
{
|
|
@@ -3506,7 +3506,7 @@
|
|
|
3506
3506
|
"name": "punctuation.definition.scope.objcpp"
|
|
3507
3507
|
}
|
|
3508
3508
|
},
|
|
3509
|
-
"end": "
|
|
3509
|
+
"end": "}",
|
|
3510
3510
|
"endCaptures": {
|
|
3511
3511
|
"0": {
|
|
3512
3512
|
"name": "punctuation.definition.scope.objcpp"
|
|
@@ -3530,7 +3530,7 @@
|
|
|
3530
3530
|
]
|
|
3531
3531
|
},
|
|
3532
3532
|
{
|
|
3533
|
-
"begin": "\\b(?:(class)|(struct))\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(
|
|
3533
|
+
"begin": "\\b(?:(class)|(struct))\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(p(?:ublic|rotected|rivate))\\s*([_A-Za-z][_A-Za-z0-9]*\\b)((\\s*,\\s*(p(?:ublic|rotected|rivate))\\s*[_A-Za-z][_A-Za-z0-9]*\\b)*))?",
|
|
3534
3534
|
"beginCaptures": {
|
|
3535
3535
|
"1": {
|
|
3536
3536
|
"name": "storage.type.class.objcpp"
|
|
@@ -3550,7 +3550,7 @@
|
|
|
3550
3550
|
"7": {
|
|
3551
3551
|
"patterns": [
|
|
3552
3552
|
{
|
|
3553
|
-
"match": "(
|
|
3553
|
+
"match": "(p(?:ublic|rotected|rivate))",
|
|
3554
3554
|
"name": "storage.type.modifier.access.objcpp"
|
|
3555
3555
|
},
|
|
3556
3556
|
{
|
|
@@ -3560,7 +3560,7 @@
|
|
|
3560
3560
|
]
|
|
3561
3561
|
}
|
|
3562
3562
|
},
|
|
3563
|
-
"end": "(
|
|
3563
|
+
"end": "(?<=})|(?=([;()>\\[\\]=]))",
|
|
3564
3564
|
"name": "meta.class-struct-block.objcpp",
|
|
3565
3565
|
"patterns": [
|
|
3566
3566
|
{
|
|
@@ -3573,7 +3573,7 @@
|
|
|
3573
3573
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
3574
3574
|
}
|
|
3575
3575
|
},
|
|
3576
|
-
"end": "(
|
|
3576
|
+
"end": "(})(\\s*\\n)?",
|
|
3577
3577
|
"endCaptures": {
|
|
3578
3578
|
"1": {
|
|
3579
3579
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -3606,7 +3606,7 @@
|
|
|
3606
3606
|
"name": "storage.modifier.objcpp"
|
|
3607
3607
|
}
|
|
3608
3608
|
},
|
|
3609
|
-
"end": "(
|
|
3609
|
+
"end": "(?<=})|(?=\\w)|(?=\\s*#\\s*endif\\b)",
|
|
3610
3610
|
"name": "meta.extern-block.objcpp",
|
|
3611
3611
|
"patterns": [
|
|
3612
3612
|
{
|
|
@@ -3616,7 +3616,7 @@
|
|
|
3616
3616
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
3617
3617
|
}
|
|
3618
3618
|
},
|
|
3619
|
-
"end": "
|
|
3619
|
+
"end": "}|(?=\\s*#\\s*endif\\b)",
|
|
3620
3620
|
"endCaptures": {
|
|
3621
3621
|
"0": {
|
|
3622
3622
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -3641,7 +3641,7 @@
|
|
|
3641
3641
|
"strings": {
|
|
3642
3642
|
"patterns": [
|
|
3643
3643
|
{
|
|
3644
|
-
"begin": "(u|u8|
|
|
3644
|
+
"begin": "(u|u8|[UL])?\"",
|
|
3645
3645
|
"beginCaptures": {
|
|
3646
3646
|
"0": {
|
|
3647
3647
|
"name": "punctuation.definition.string.begin.objcpp"
|
|
@@ -3659,7 +3659,7 @@
|
|
|
3659
3659
|
"name": "string.quoted.double.objcpp",
|
|
3660
3660
|
"patterns": [
|
|
3661
3661
|
{
|
|
3662
|
-
"match": "\\\\u\\h{4}
|
|
3662
|
+
"match": "\\\\(?:u\\h{4}|U\\h{8})",
|
|
3663
3663
|
"name": "constant.character.escape.objcpp"
|
|
3664
3664
|
},
|
|
3665
3665
|
{
|
|
@@ -3680,7 +3680,7 @@
|
|
|
3680
3680
|
]
|
|
3681
3681
|
},
|
|
3682
3682
|
{
|
|
3683
|
-
"begin": "(u|u8|
|
|
3683
|
+
"begin": "(u|u8|[UL])?R\"(?:([^ ()\\\\\\t]{0,16})|([^ ()\\\\\\t]*))\\(",
|
|
3684
3684
|
"beginCaptures": {
|
|
3685
3685
|
"0": {
|
|
3686
3686
|
"name": "punctuation.definition.string.begin.objcpp"
|
|
@@ -3774,7 +3774,7 @@
|
|
|
3774
3774
|
"include": "#special_block"
|
|
3775
3775
|
},
|
|
3776
3776
|
{
|
|
3777
|
-
"match": "(?-
|
|
3777
|
+
"match": "(?-im:##[a-zA-Z_]\\w*(?!\\w))",
|
|
3778
3778
|
"name": "variable.other.macro.argument.objcpp"
|
|
3779
3779
|
},
|
|
3780
3780
|
{
|
|
@@ -3785,7 +3785,7 @@
|
|
|
3785
3785
|
"name": "storage.modifier.specificer.functional.pre-parameters.$1.objcpp"
|
|
3786
3786
|
},
|
|
3787
3787
|
{
|
|
3788
|
-
"match": "(?<!\\w)((?:final|override|volatile|const|noexcept))(?!\\w)(?=\\s*
|
|
3788
|
+
"match": "(?<!\\w)((?:final|override|volatile|const|noexcept))(?!\\w)(?=\\s*[{;\\n\\r])",
|
|
3789
3789
|
"name": "storage.modifier.specifier.functional.post-parameters.$1.objcpp"
|
|
3790
3790
|
},
|
|
3791
3791
|
{
|
|
@@ -3793,7 +3793,7 @@
|
|
|
3793
3793
|
"name": "storage.modifier.specifier.$1.objcpp"
|
|
3794
3794
|
},
|
|
3795
3795
|
{
|
|
3796
|
-
"match": "(?<!\\w)((?:
|
|
3796
|
+
"match": "(?<!\\w)(p(?:rivate|rotected|ublic)) *:",
|
|
3797
3797
|
"name": "storage.type.modifier.access.control.$1.objcpp"
|
|
3798
3798
|
},
|
|
3799
3799
|
{
|
|
@@ -3837,7 +3837,7 @@
|
|
|
3837
3837
|
"name": "storage.modifier.objcpp"
|
|
3838
3838
|
},
|
|
3839
3839
|
{
|
|
3840
|
-
"begin": "(?:^|(
|
|
3840
|
+
"begin": "(?:^|(?<!else|new|=))((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*)\\s*(\\()",
|
|
3841
3841
|
"beginCaptures": {
|
|
3842
3842
|
"1": {
|
|
3843
3843
|
"name": "entity.name.function.destructor.objcpp"
|
|
@@ -3860,7 +3860,7 @@
|
|
|
3860
3860
|
]
|
|
3861
3861
|
},
|
|
3862
3862
|
{
|
|
3863
|
-
"begin": "(?:^|(
|
|
3863
|
+
"begin": "(?:^|(?<!else|new|=))((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*)\\s*(\\()",
|
|
3864
3864
|
"beginCaptures": {
|
|
3865
3865
|
"1": {
|
|
3866
3866
|
"name": "entity.name.function.objcpp"
|
|
@@ -3918,7 +3918,7 @@
|
|
|
3918
3918
|
"include": "#strings-c"
|
|
3919
3919
|
},
|
|
3920
3920
|
{
|
|
3921
|
-
"begin": "^\\s*((
|
|
3921
|
+
"begin": "^\\s*((#)\\s*define)\\s+((?<id>[a-zA-Z_$][\\w$]*))(?:(\\()(\\s*\\g<id>\\s*((,)\\s*\\g<id>\\s*)*(?:\\.\\.\\.)?)(\\)))?",
|
|
3922
3922
|
"beginCaptures": {
|
|
3923
3923
|
"1": {
|
|
3924
3924
|
"name": "keyword.control.directive.define.objcpp"
|
|
@@ -3942,7 +3942,7 @@
|
|
|
3942
3942
|
"name": "punctuation.definition.parameters.end.objcpp"
|
|
3943
3943
|
}
|
|
3944
3944
|
},
|
|
3945
|
-
"end": "(
|
|
3945
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
3946
3946
|
"name": "meta.preprocessor.macro.objcpp",
|
|
3947
3947
|
"patterns": [
|
|
3948
3948
|
{
|
|
@@ -4019,7 +4019,7 @@
|
|
|
4019
4019
|
]
|
|
4020
4020
|
},
|
|
4021
4021
|
{
|
|
4022
|
-
"begin": "^\\s*((#)\\s*(
|
|
4022
|
+
"begin": "^\\s*((#)\\s*(i(?:nclude(?:_next)?|mport)))\\b\\s*",
|
|
4023
4023
|
"beginCaptures": {
|
|
4024
4024
|
"1": {
|
|
4025
4025
|
"name": "keyword.control.directive.$3.objcpp"
|
|
@@ -4028,7 +4028,7 @@
|
|
|
4028
4028
|
"name": "punctuation.definition.directive.objcpp"
|
|
4029
4029
|
}
|
|
4030
4030
|
},
|
|
4031
|
-
"end": "(
|
|
4031
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
4032
4032
|
"name": "meta.preprocessor.include.objcpp",
|
|
4033
4033
|
"patterns": [
|
|
4034
4034
|
{
|
|
@@ -4079,7 +4079,7 @@
|
|
|
4079
4079
|
"name": "punctuation.definition.directive.objcpp"
|
|
4080
4080
|
}
|
|
4081
4081
|
},
|
|
4082
|
-
"end": "(
|
|
4082
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
4083
4083
|
"name": "meta.preprocessor.objcpp",
|
|
4084
4084
|
"patterns": [
|
|
4085
4085
|
{
|
|
@@ -4094,7 +4094,7 @@
|
|
|
4094
4094
|
]
|
|
4095
4095
|
},
|
|
4096
4096
|
{
|
|
4097
|
-
"begin": "^\\s*(
|
|
4097
|
+
"begin": "^\\s*((#)\\s*undef)\\b",
|
|
4098
4098
|
"beginCaptures": {
|
|
4099
4099
|
"1": {
|
|
4100
4100
|
"name": "keyword.control.directive.undef.objcpp"
|
|
@@ -4103,7 +4103,7 @@
|
|
|
4103
4103
|
"name": "punctuation.definition.directive.objcpp"
|
|
4104
4104
|
}
|
|
4105
4105
|
},
|
|
4106
|
-
"end": "(
|
|
4106
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
4107
4107
|
"name": "meta.preprocessor.objcpp",
|
|
4108
4108
|
"patterns": [
|
|
4109
4109
|
{
|
|
@@ -4116,7 +4116,7 @@
|
|
|
4116
4116
|
]
|
|
4117
4117
|
},
|
|
4118
4118
|
{
|
|
4119
|
-
"begin": "^\\s*(
|
|
4119
|
+
"begin": "^\\s*((#)\\s*pragma)\\b",
|
|
4120
4120
|
"beginCaptures": {
|
|
4121
4121
|
"1": {
|
|
4122
4122
|
"name": "keyword.control.directive.pragma.objcpp"
|
|
@@ -4125,7 +4125,7 @@
|
|
|
4125
4125
|
"name": "punctuation.definition.directive.objcpp"
|
|
4126
4126
|
}
|
|
4127
4127
|
},
|
|
4128
|
-
"end": "(
|
|
4128
|
+
"end": "(?=/[/*])|(?<!\\\\)(?=\\n)",
|
|
4129
4129
|
"name": "meta.preprocessor.pragma.objcpp",
|
|
4130
4130
|
"patterns": [
|
|
4131
4131
|
{
|
|
@@ -4148,7 +4148,7 @@
|
|
|
4148
4148
|
"name": "support.type.sys-types.objcpp"
|
|
4149
4149
|
},
|
|
4150
4150
|
{
|
|
4151
|
-
"match": "\\b(
|
|
4151
|
+
"match": "\\b(pthread_(?:attr_t|cond_t|condattr_t|mutex_t|mutexattr_t|once_t|rwlock_t|rwlockattr_t|t|key_t))\\b",
|
|
4152
4152
|
"name": "support.type.pthread.objcpp"
|
|
4153
4153
|
},
|
|
4154
4154
|
{
|
|
@@ -4156,7 +4156,7 @@
|
|
|
4156
4156
|
"name": "support.type.stdint.objcpp"
|
|
4157
4157
|
},
|
|
4158
4158
|
{
|
|
4159
|
-
"match": "(?<!\\w)[a-zA-Z_]
|
|
4159
|
+
"match": "(?<!\\w)[a-zA-Z_]\\w*_t(?!\\w)",
|
|
4160
4160
|
"name": "support.type.posix-reserved.objcpp"
|
|
4161
4161
|
},
|
|
4162
4162
|
{
|
|
@@ -4179,7 +4179,7 @@
|
|
|
4179
4179
|
"include": "#line_continuation_character"
|
|
4180
4180
|
},
|
|
4181
4181
|
{
|
|
4182
|
-
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]
|
|
4182
|
+
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\])]))?(\\[)(?!])",
|
|
4183
4183
|
"beginCaptures": {
|
|
4184
4184
|
"1": {
|
|
4185
4185
|
"name": "variable.other.object.objcpp"
|
|
@@ -4188,7 +4188,7 @@
|
|
|
4188
4188
|
"name": "punctuation.definition.begin.bracket.square.objcpp"
|
|
4189
4189
|
}
|
|
4190
4190
|
},
|
|
4191
|
-
"end": "
|
|
4191
|
+
"end": "]",
|
|
4192
4192
|
"endCaptures": {
|
|
4193
4193
|
"0": {
|
|
4194
4194
|
"name": "punctuation.definition.end.bracket.square.objcpp"
|
|
@@ -4202,7 +4202,7 @@
|
|
|
4202
4202
|
]
|
|
4203
4203
|
},
|
|
4204
4204
|
{
|
|
4205
|
-
"match": "(?-
|
|
4205
|
+
"match": "(?-im:(?<!delete))\\\\[\\\\s*]",
|
|
4206
4206
|
"name": "storage.modifier.array.bracket.square.objcpp"
|
|
4207
4207
|
},
|
|
4208
4208
|
{
|
|
@@ -4250,11 +4250,11 @@
|
|
|
4250
4250
|
"name": "variable.other.member.objcpp"
|
|
4251
4251
|
}
|
|
4252
4252
|
},
|
|
4253
|
-
"match": "(?:(
|
|
4253
|
+
"match": "(?:([a-zA-Z_]\\w*)|(?<=[\\])]))\\s*(?:(\\.(?:|\\*))|(->(?:|\\*)))\\s*((?:[a-zA-Z_]\\w*\\s*(?:\\.|->)\\s*)*)\\b(?!(?:auto|void|char|short|int|signed|unsigned|long|float|double|bool|wchar_t|u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t|pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t))([a-zA-Z_]\\w*)\\b(?!\\()",
|
|
4254
4254
|
"name": "variable.other.object.access.objcpp"
|
|
4255
4255
|
},
|
|
4256
4256
|
"access-method": {
|
|
4257
|
-
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]
|
|
4257
|
+
"begin": "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\])]))\\s*(?:(\\.)|(->))((?:[a-zA-Z_][a-zA-Z_0-9]*\\s*(?:\\.|->))*)\\s*([a-zA-Z_][a-zA-Z_0-9]*)(\\()",
|
|
4258
4258
|
"beginCaptures": {
|
|
4259
4259
|
"1": {
|
|
4260
4260
|
"name": "variable.other.object.objcpp"
|
|
@@ -4325,7 +4325,7 @@
|
|
|
4325
4325
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
4326
4326
|
}
|
|
4327
4327
|
},
|
|
4328
|
-
"end": "
|
|
4328
|
+
"end": "}",
|
|
4329
4329
|
"endCaptures": {
|
|
4330
4330
|
"0": {
|
|
4331
4331
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -4353,13 +4353,13 @@
|
|
|
4353
4353
|
"block-c": {
|
|
4354
4354
|
"patterns": [
|
|
4355
4355
|
{
|
|
4356
|
-
"begin": "{",
|
|
4356
|
+
"begin": "\\{",
|
|
4357
4357
|
"beginCaptures": {
|
|
4358
4358
|
"0": {
|
|
4359
4359
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
4360
4360
|
}
|
|
4361
4361
|
},
|
|
4362
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
4362
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)",
|
|
4363
4363
|
"endCaptures": {
|
|
4364
4364
|
"0": {
|
|
4365
4365
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -4395,7 +4395,7 @@
|
|
|
4395
4395
|
"include": "#c_function_call"
|
|
4396
4396
|
},
|
|
4397
4397
|
{
|
|
4398
|
-
"begin": "(
|
|
4398
|
+
"begin": "(?=\\s)(?<!else|new|return)(?<=\\w)\\s+(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
4399
4399
|
"beginCaptures": {
|
|
4400
4400
|
"1": {
|
|
4401
4401
|
"name": "variable.other.objcpp"
|
|
@@ -4418,13 +4418,13 @@
|
|
|
4418
4418
|
]
|
|
4419
4419
|
},
|
|
4420
4420
|
{
|
|
4421
|
-
"begin": "{",
|
|
4421
|
+
"begin": "\\{",
|
|
4422
4422
|
"beginCaptures": {
|
|
4423
4423
|
"0": {
|
|
4424
4424
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
4425
4425
|
}
|
|
4426
4426
|
},
|
|
4427
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
4427
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)",
|
|
4428
4428
|
"endCaptures": {
|
|
4429
4429
|
"0": {
|
|
4430
4430
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -4445,7 +4445,7 @@
|
|
|
4445
4445
|
]
|
|
4446
4446
|
},
|
|
4447
4447
|
"c_function_call": {
|
|
4448
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*(
|
|
4448
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*(?:<[\\s<>,\\w]*>\\s*)?\\(|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[])\\s*\\()",
|
|
4449
4449
|
"end": "(?<=\\))(?!\\w)",
|
|
4450
4450
|
"name": "meta.function-call.objcpp",
|
|
4451
4451
|
"patterns": [
|
|
@@ -4524,7 +4524,7 @@
|
|
|
4524
4524
|
"constructor": {
|
|
4525
4525
|
"patterns": [
|
|
4526
4526
|
{
|
|
4527
|
-
"begin": "
|
|
4527
|
+
"begin": "^\\s*((?!while|for|do|if|else|switch|catch)[A-Za-z_][A-Za-z0-9_:]*)\\s*(\\()",
|
|
4528
4528
|
"beginCaptures": {
|
|
4529
4529
|
"1": {
|
|
4530
4530
|
"name": "entity.name.function.constructor.objcpp"
|
|
@@ -4596,7 +4596,7 @@
|
|
|
4596
4596
|
"include": "#operators"
|
|
4597
4597
|
},
|
|
4598
4598
|
{
|
|
4599
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()(
|
|
4599
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()(new\\s*((?:<[\\s<>,\\w]*>\\s*)?)|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
4600
4600
|
"beginCaptures": {
|
|
4601
4601
|
"1": {
|
|
4602
4602
|
"name": "keyword.operator.memory.new.objcpp"
|
|
@@ -4625,7 +4625,7 @@
|
|
|
4625
4625
|
]
|
|
4626
4626
|
},
|
|
4627
4627
|
{
|
|
4628
|
-
"begin": "(?<!\\w)(?!\\s*(?:not|compl|sizeof|new|delete|not_eq|bitand|xor|bitor|and|or|throw|and_eq|xor_eq|or_eq|alignof|alignas|typeid|noexcept|static_cast|dynamic_cast|const_cast|reinterpret_cast|while|for|do|if|else|goto|switch|try|catch|return|break|case|continue|default|auto|void|char|short|int|signed|unsigned|long|float|double|bool|wchar_t|u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t|pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t|NULL|true|false|nullptr|class|struct|union|enum|const|static|volatile|register|restrict|extern|inline|constexpr|mutable|friend|explicit|virtual|volatile|const|noexcept|constexpr|mutable|constexpr|consteval|private|protected|public|this|template|namespace|using|operator|typedef|decltype|typename|asm|__asm__|concept|requires|export|thread_local|atomic_cancel|atomic_commit|atomic_noexcept|co_await|co_return|co_yield|import|module|reflexpr|synchronized)\\s*\\()((?:[a-zA-Z_]\\w*\\s*(
|
|
4628
|
+
"begin": "(?<!\\w)(?!\\s*(?:not|compl|sizeof|new|delete|not_eq|bitand|xor|bitor|and|or|throw|and_eq|xor_eq|or_eq|alignof|alignas|typeid|noexcept|static_cast|dynamic_cast|const_cast|reinterpret_cast|while|for|do|if|else|goto|switch|try|catch|return|break|case|continue|default|auto|void|char|short|int|signed|unsigned|long|float|double|bool|wchar_t|u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t|pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t|NULL|true|false|nullptr|class|struct|union|enum|const|static|volatile|register|restrict|extern|inline|constexpr|mutable|friend|explicit|virtual|volatile|const|noexcept|constexpr|mutable|constexpr|consteval|private|protected|public|this|template|namespace|using|operator|typedef|decltype|typename|asm|__asm__|concept|requires|export|thread_local|atomic_cancel|atomic_commit|atomic_noexcept|co_await|co_return|co_yield|import|module|reflexpr|synchronized)\\s*\\()((?:[a-zA-Z_]\\w*\\s*(?:<[\\s<>,\\w]*>\\s*)?::)*)\\s*([a-zA-Z_]\\w*)\\s*(<[\\s<>,\\w]*>\\s*)?(\\()",
|
|
4629
4629
|
"beginCaptures": {
|
|
4630
4630
|
"1": {
|
|
4631
4631
|
"patterns": [
|
|
@@ -4699,7 +4699,7 @@
|
|
|
4699
4699
|
"include": "#vararg_ellipses-c"
|
|
4700
4700
|
},
|
|
4701
4701
|
{
|
|
4702
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(
|
|
4702
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
4703
4703
|
"beginCaptures": {
|
|
4704
4704
|
"1": {
|
|
4705
4705
|
"name": "entity.name.function.objcpp"
|
|
@@ -4708,7 +4708,7 @@
|
|
|
4708
4708
|
"name": "punctuation.section.parameters.begin.bracket.round.objcpp"
|
|
4709
4709
|
}
|
|
4710
4710
|
},
|
|
4711
|
-
"end": "
|
|
4711
|
+
"end": "[):]",
|
|
4712
4712
|
"endCaptures": {
|
|
4713
4713
|
"0": {
|
|
4714
4714
|
"name": "punctuation.section.parameters.end.bracket.round.objcpp"
|
|
@@ -4779,7 +4779,7 @@
|
|
|
4779
4779
|
"name": "keyword.operator.memory.new.objcpp"
|
|
4780
4780
|
}
|
|
4781
4781
|
},
|
|
4782
|
-
"match": "(?<!\\w)(?:(?:(delete)\\s*(\\[
|
|
4782
|
+
"match": "(?<!\\w)(?:(?:(delete)\\s*(\\[])|(delete))|(new))(?!\\w)",
|
|
4783
4783
|
"name": "keyword.operator.memory.objcpp"
|
|
4784
4784
|
},
|
|
4785
4785
|
"number_literal": {
|
|
@@ -4968,10 +4968,10 @@
|
|
|
4968
4968
|
"name": "keyword.operator.plus.exponent.hexadecimal.objcpp"
|
|
4969
4969
|
}
|
|
4970
4970
|
},
|
|
4971
|
-
"match": "((?<!\\w)(?:(?:(
|
|
4971
|
+
"match": "((?<!\\w)(?:(?:(0[xX])(\\h(?:\\h|((?<!')'(?!')))*)?((?:(?<=\\h)\\.|\\.(?=\\h)))(\\h(?:\\h|((?<!')'(?!')))*)?(?:([pP])(\\+)?(-)?([0-9](?:[0-9]|(?<!')'(?!'))*))?|([0-9](?:[0-9]|((?<!')'(?!')))*)?((?:(?<=[0-9])\\.|\\.(?=[0-9])))([0-9](?:[0-9]|((?<!')'(?!')))*)?(?:([eE])(\\+)?(-)?([0-9](?:[0-9]|(?<!')'(?!'))*))?)([lLfF](?!\\w))?|(?:(?:(?:(0[bB])((?:[01]|((?<!')'(?!')))+)|(0)((?:[0-7]|((?<!')'(?!')))+))|(0[xX])(\\h(?:\\h|((?<!')'(?!')))*)(?:([pP])(\\+)?(-)?([0-9](?:[0-9]|(?<!')'(?!'))*))?)|([0-9](?:[0-9]|((?<!')'(?!')))*)(?:([eE])(\\+)?(-)?([0-9](?:[0-9]|(?<!')'(?!'))*))?)((?:(?:(?:(?:(?:(?:LL[uU]|ll[uU])|[uU]LL)|[uU]ll)|ll)|LL)|[uUlL])(?!\\w))?)(\\w*))"
|
|
4972
4972
|
},
|
|
4973
4973
|
"operator_overload": {
|
|
4974
|
-
"begin": "((?:[a-zA-Z_]\\w*\\s*(
|
|
4974
|
+
"begin": "((?:[a-zA-Z_]\\w*\\s*(?:<[\\s<>,\\w]*>\\s*)?::)*)\\s*(operator)((?:\\s*(?:\\+\\+|--|\\(\\)|\\[]|->|\\+\\+|--|[+\\-!~*\\&]|->\\*|[*/%+\\-]|<<|>>|<=>|<|<=|>|>=|==|!=|[\\&\\^|]|&&|\\|\\||=|\\+=|-=|\\*=|/=|%=|<<=|>>=|&=|\\^=|\\|=|,)|\\s+(?:(?:new|new\\[]|delete|delete\\[])|(?:[a-zA-Z_]\\w*\\s*(?:<[\\s<>,\\w]*>\\s*)?::)*[a-zA-Z_]\\w*\\s*&?)))\\s*(\\()",
|
|
4975
4975
|
"beginCaptures": {
|
|
4976
4976
|
"1": {
|
|
4977
4977
|
"name": "entity.scope.objcpp"
|
|
@@ -5005,7 +5005,7 @@
|
|
|
5005
5005
|
"operators": {
|
|
5006
5006
|
"patterns": [
|
|
5007
5007
|
{
|
|
5008
|
-
"match": "(?-
|
|
5008
|
+
"match": "(?-im:(?<!\\w)((?:not|compl|sizeof|new|delete|not_eq|bitand|xor|bitor|and|or|and_eq|xor_eq|or_eq|alignof|alignas|typeid|noexcept))(?!\\w))",
|
|
5009
5009
|
"name": "keyword.operator.$1.objcpp"
|
|
5010
5010
|
},
|
|
5011
5011
|
{
|
|
@@ -5029,7 +5029,7 @@
|
|
|
5029
5029
|
"name": "keyword.operator.bitwise.shift.objcpp"
|
|
5030
5030
|
},
|
|
5031
5031
|
{
|
|
5032
|
-
"match": "
|
|
5032
|
+
"match": "!=|<=|>=|==|[<>]",
|
|
5033
5033
|
"name": "keyword.operator.comparison.objcpp"
|
|
5034
5034
|
},
|
|
5035
5035
|
{
|
|
@@ -5037,7 +5037,7 @@
|
|
|
5037
5037
|
"name": "keyword.operator.logical.objcpp"
|
|
5038
5038
|
},
|
|
5039
5039
|
{
|
|
5040
|
-
"match": "
|
|
5040
|
+
"match": "[\\&|\\^~]",
|
|
5041
5041
|
"name": "keyword.operator.objcpp"
|
|
5042
5042
|
},
|
|
5043
5043
|
{
|
|
@@ -5045,7 +5045,7 @@
|
|
|
5045
5045
|
"name": "keyword.operator.assignment.objcpp"
|
|
5046
5046
|
},
|
|
5047
5047
|
{
|
|
5048
|
-
"match": "
|
|
5048
|
+
"match": "[%*/\\-+]",
|
|
5049
5049
|
"name": "keyword.operator.objcpp"
|
|
5050
5050
|
},
|
|
5051
5051
|
{
|
|
@@ -5170,7 +5170,7 @@
|
|
|
5170
5170
|
},
|
|
5171
5171
|
"patterns": [
|
|
5172
5172
|
{
|
|
5173
|
-
"begin": "\\G(?=.)(
|
|
5173
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5174
5174
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
5175
5175
|
"name": "meta.preprocessor.objcpp",
|
|
5176
5176
|
"patterns": [
|
|
@@ -5217,7 +5217,7 @@
|
|
|
5217
5217
|
"name": "invalid.illegal.stray-$1.objcpp"
|
|
5218
5218
|
}
|
|
5219
5219
|
},
|
|
5220
|
-
"match": "^\\s*#\\s*(
|
|
5220
|
+
"match": "^\\s*#\\s*(e(?:lse|lif|ndif))\\b"
|
|
5221
5221
|
}
|
|
5222
5222
|
]
|
|
5223
5223
|
},
|
|
@@ -5250,7 +5250,7 @@
|
|
|
5250
5250
|
},
|
|
5251
5251
|
"patterns": [
|
|
5252
5252
|
{
|
|
5253
|
-
"begin": "\\G(?=.)(
|
|
5253
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5254
5254
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
5255
5255
|
"name": "meta.preprocessor.objcpp",
|
|
5256
5256
|
"patterns": [
|
|
@@ -5297,14 +5297,14 @@
|
|
|
5297
5297
|
"name": "invalid.illegal.stray-$1.objcpp"
|
|
5298
5298
|
}
|
|
5299
5299
|
},
|
|
5300
|
-
"match": "^\\s*#\\s*(
|
|
5300
|
+
"match": "^\\s*#\\s*(e(?:lse|lif|ndif))\\b"
|
|
5301
5301
|
}
|
|
5302
5302
|
]
|
|
5303
5303
|
},
|
|
5304
5304
|
"preprocessor-rule-conditional-line": {
|
|
5305
5305
|
"patterns": [
|
|
5306
5306
|
{
|
|
5307
|
-
"match": "
|
|
5307
|
+
"match": "\\bdefined\\b(?:\\s*$|(?=\\s*\\(*\\s*(?!defined\\b)[a-zA-Z_$][\\w$]*\\b\\s*\\)*\\s*(?:\\n|//|/\\*|[?:]|&&|\\|\\||\\\\\\s*\\n)))",
|
|
5308
5308
|
"name": "keyword.control.directive.conditional.objcpp"
|
|
5309
5309
|
},
|
|
5310
5310
|
{
|
|
@@ -5376,13 +5376,13 @@
|
|
|
5376
5376
|
"preprocessor-rule-define-line-blocks": {
|
|
5377
5377
|
"patterns": [
|
|
5378
5378
|
{
|
|
5379
|
-
"begin": "{",
|
|
5379
|
+
"begin": "\\{",
|
|
5380
5380
|
"beginCaptures": {
|
|
5381
5381
|
"0": {
|
|
5382
5382
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
5383
5383
|
}
|
|
5384
5384
|
},
|
|
5385
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
5385
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)|(?<!\\\\)(?=\\s*\\n)",
|
|
5386
5386
|
"endCaptures": {
|
|
5387
5387
|
"0": {
|
|
5388
5388
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -5408,17 +5408,17 @@
|
|
|
5408
5408
|
"include": "#vararg_ellipses-c"
|
|
5409
5409
|
},
|
|
5410
5410
|
{
|
|
5411
|
-
"match": "(?-
|
|
5411
|
+
"match": "(?-im:##?[a-zA-Z_]\\w*(?!\\w))",
|
|
5412
5412
|
"name": "variable.other.macro.argument.objcpp"
|
|
5413
5413
|
},
|
|
5414
5414
|
{
|
|
5415
|
-
"begin": "{",
|
|
5415
|
+
"begin": "\\{",
|
|
5416
5416
|
"beginCaptures": {
|
|
5417
5417
|
"0": {
|
|
5418
5418
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
5419
5419
|
}
|
|
5420
5420
|
},
|
|
5421
|
-
"end": "}|(?=\\s*#\\s*(?:
|
|
5421
|
+
"end": "}|(?=\\s*#\\s*e(?:lif|lse|ndif)\\b)|(?<!\\\\)(?=\\s*\\n)",
|
|
5422
5422
|
"endCaptures": {
|
|
5423
5423
|
"0": {
|
|
5424
5424
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -5440,7 +5440,7 @@
|
|
|
5440
5440
|
"name": "punctuation.section.parens.end.bracket.round.objcpp"
|
|
5441
5441
|
},
|
|
5442
5442
|
{
|
|
5443
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\(|(
|
|
5443
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\s*\\()(?=(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\(|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[])\\s*\\()",
|
|
5444
5444
|
"end": "(?<=\\))(?!\\w)|(?<!\\\\)(?=\\s*\\n)",
|
|
5445
5445
|
"name": "meta.function.objcpp",
|
|
5446
5446
|
"patterns": [
|
|
@@ -5530,7 +5530,7 @@
|
|
|
5530
5530
|
"include": "#operators"
|
|
5531
5531
|
},
|
|
5532
5532
|
{
|
|
5533
|
-
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(
|
|
5533
|
+
"begin": "(?!(?:while|for|do|if|else|switch|catch|return|typeid|alignof|alignas|sizeof|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\s*\\()((?:[A-Za-z_][A-Za-z0-9_]*+|::)++|(?<=operator)(?:[\\-*\\&<>=+!]+|\\(\\)|\\[]))\\s*(\\()",
|
|
5534
5534
|
"beginCaptures": {
|
|
5535
5535
|
"1": {
|
|
5536
5536
|
"name": "entity.name.function.objcpp"
|
|
@@ -5604,7 +5604,7 @@
|
|
|
5604
5604
|
},
|
|
5605
5605
|
"patterns": [
|
|
5606
5606
|
{
|
|
5607
|
-
"begin": "\\G(?=.)(
|
|
5607
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5608
5608
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
5609
5609
|
"name": "meta.preprocessor.objcpp",
|
|
5610
5610
|
"patterns": [
|
|
@@ -5638,10 +5638,10 @@
|
|
|
5638
5638
|
"name": "punctuation.definition.directive.objcpp"
|
|
5639
5639
|
}
|
|
5640
5640
|
},
|
|
5641
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5641
|
+
"end": "(?=^\\s*((#)\\s*e(?:lif|lse|ndif)\\b))",
|
|
5642
5642
|
"patterns": [
|
|
5643
5643
|
{
|
|
5644
|
-
"begin": "\\G(?=.)(
|
|
5644
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5645
5645
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
5646
5646
|
"name": "meta.preprocessor.objcpp",
|
|
5647
5647
|
"patterns": [
|
|
@@ -5658,7 +5658,7 @@
|
|
|
5658
5658
|
{
|
|
5659
5659
|
"begin": "\\n",
|
|
5660
5660
|
"contentName": "comment.block.preprocessor.if-branch.objcpp",
|
|
5661
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5661
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
5662
5662
|
"patterns": [
|
|
5663
5663
|
{
|
|
5664
5664
|
"include": "#disabled"
|
|
@@ -5701,7 +5701,7 @@
|
|
|
5701
5701
|
},
|
|
5702
5702
|
"patterns": [
|
|
5703
5703
|
{
|
|
5704
|
-
"begin": "\\G(?=.)(
|
|
5704
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5705
5705
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
5706
5706
|
"name": "meta.preprocessor.objcpp",
|
|
5707
5707
|
"patterns": [
|
|
@@ -5735,10 +5735,10 @@
|
|
|
5735
5735
|
"name": "punctuation.definition.directive.objcpp"
|
|
5736
5736
|
}
|
|
5737
5737
|
},
|
|
5738
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5738
|
+
"end": "(?=^\\s*((#)\\s*e(?:lif|lse|ndif)\\b))",
|
|
5739
5739
|
"patterns": [
|
|
5740
5740
|
{
|
|
5741
|
-
"begin": "\\G(?=.)(
|
|
5741
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5742
5742
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
5743
5743
|
"name": "meta.preprocessor.objcpp",
|
|
5744
5744
|
"patterns": [
|
|
@@ -5755,7 +5755,7 @@
|
|
|
5755
5755
|
{
|
|
5756
5756
|
"begin": "\\n",
|
|
5757
5757
|
"contentName": "comment.block.preprocessor.if-branch.in-block.objcpp",
|
|
5758
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5758
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
5759
5759
|
"patterns": [
|
|
5760
5760
|
{
|
|
5761
5761
|
"include": "#disabled"
|
|
@@ -5782,10 +5782,10 @@
|
|
|
5782
5782
|
"name": "punctuation.definition.directive.objcpp"
|
|
5783
5783
|
}
|
|
5784
5784
|
},
|
|
5785
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5785
|
+
"end": "(?=^\\s*((#)\\s*e(?:lif|lse|ndif)\\b))",
|
|
5786
5786
|
"patterns": [
|
|
5787
5787
|
{
|
|
5788
|
-
"begin": "\\G(?=.)(
|
|
5788
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5789
5789
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
5790
5790
|
"name": "meta.preprocessor.objcpp",
|
|
5791
5791
|
"patterns": [
|
|
@@ -5800,7 +5800,7 @@
|
|
|
5800
5800
|
{
|
|
5801
5801
|
"begin": "\\n",
|
|
5802
5802
|
"contentName": "comment.block.preprocessor.elif-branch.objcpp",
|
|
5803
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5803
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
5804
5804
|
"patterns": [
|
|
5805
5805
|
{
|
|
5806
5806
|
"include": "#disabled"
|
|
@@ -5844,7 +5844,7 @@
|
|
|
5844
5844
|
},
|
|
5845
5845
|
"patterns": [
|
|
5846
5846
|
{
|
|
5847
|
-
"begin": "\\G(?=.)(
|
|
5847
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5848
5848
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
5849
5849
|
"name": "meta.preprocessor.objcpp",
|
|
5850
5850
|
"patterns": [
|
|
@@ -5894,7 +5894,7 @@
|
|
|
5894
5894
|
}
|
|
5895
5895
|
},
|
|
5896
5896
|
"contentName": "comment.block.preprocessor.if-branch.objcpp",
|
|
5897
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5897
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
5898
5898
|
"patterns": [
|
|
5899
5899
|
{
|
|
5900
5900
|
"include": "#disabled"
|
|
@@ -5906,7 +5906,7 @@
|
|
|
5906
5906
|
},
|
|
5907
5907
|
{
|
|
5908
5908
|
"begin": "\\n",
|
|
5909
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5909
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
5910
5910
|
"patterns": [
|
|
5911
5911
|
{
|
|
5912
5912
|
"include": "$base"
|
|
@@ -5946,7 +5946,7 @@
|
|
|
5946
5946
|
},
|
|
5947
5947
|
"patterns": [
|
|
5948
5948
|
{
|
|
5949
|
-
"begin": "\\G(?=.)(
|
|
5949
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
5950
5950
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
5951
5951
|
"name": "meta.preprocessor.objcpp",
|
|
5952
5952
|
"patterns": [
|
|
@@ -5996,7 +5996,7 @@
|
|
|
5996
5996
|
}
|
|
5997
5997
|
},
|
|
5998
5998
|
"contentName": "comment.block.preprocessor.if-branch.in-block.objcpp",
|
|
5999
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
5999
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
6000
6000
|
"patterns": [
|
|
6001
6001
|
{
|
|
6002
6002
|
"include": "#disabled"
|
|
@@ -6008,7 +6008,7 @@
|
|
|
6008
6008
|
},
|
|
6009
6009
|
{
|
|
6010
6010
|
"begin": "\\n",
|
|
6011
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
6011
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
6012
6012
|
"patterns": [
|
|
6013
6013
|
{
|
|
6014
6014
|
"include": "#block_innards-c"
|
|
@@ -6035,7 +6035,7 @@
|
|
|
6035
6035
|
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
6036
6036
|
"patterns": [
|
|
6037
6037
|
{
|
|
6038
|
-
"begin": "\\G(?=.)(
|
|
6038
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
6039
6039
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
6040
6040
|
"name": "meta.preprocessor.objcpp",
|
|
6041
6041
|
"patterns": [
|
|
@@ -6049,7 +6049,7 @@
|
|
|
6049
6049
|
},
|
|
6050
6050
|
{
|
|
6051
6051
|
"begin": "\\n",
|
|
6052
|
-
"end": "(?=^\\s*((#)\\s*
|
|
6052
|
+
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
6053
6053
|
"patterns": [
|
|
6054
6054
|
{
|
|
6055
6055
|
"begin": "^\\s*((#)\\s*(else)\\b)",
|
|
@@ -6089,7 +6089,7 @@
|
|
|
6089
6089
|
}
|
|
6090
6090
|
},
|
|
6091
6091
|
"contentName": "comment.block.preprocessor.elif-branch.objcpp",
|
|
6092
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
6092
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
6093
6093
|
"patterns": [
|
|
6094
6094
|
{
|
|
6095
6095
|
"include": "#disabled"
|
|
@@ -6122,7 +6122,7 @@
|
|
|
6122
6122
|
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
6123
6123
|
"patterns": [
|
|
6124
6124
|
{
|
|
6125
|
-
"begin": "\\G(?=.)(
|
|
6125
|
+
"begin": "\\G(?=.)(?!/(?:/|\\*(?!.*\\\\\\s*\\n)))",
|
|
6126
6126
|
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
6127
6127
|
"name": "meta.preprocessor.objcpp",
|
|
6128
6128
|
"patterns": [
|
|
@@ -6136,7 +6136,7 @@
|
|
|
6136
6136
|
},
|
|
6137
6137
|
{
|
|
6138
6138
|
"begin": "\\n",
|
|
6139
|
-
"end": "(?=^\\s*((#)\\s*
|
|
6139
|
+
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
|
6140
6140
|
"patterns": [
|
|
6141
6141
|
{
|
|
6142
6142
|
"begin": "^\\s*((#)\\s*(else)\\b)",
|
|
@@ -6176,7 +6176,7 @@
|
|
|
6176
6176
|
}
|
|
6177
6177
|
},
|
|
6178
6178
|
"contentName": "comment.block.preprocessor.elif-branch.objcpp",
|
|
6179
|
-
"end": "(?=^\\s*((#)\\s*(?:
|
|
6179
|
+
"end": "(?=^\\s*((#)\\s*e(?:lse|lif|ndif)\\b))",
|
|
6180
6180
|
"patterns": [
|
|
6181
6181
|
{
|
|
6182
6182
|
"include": "#disabled"
|
|
@@ -6242,7 +6242,7 @@
|
|
|
6242
6242
|
"name": "variable.parameter.probably.objcpp"
|
|
6243
6243
|
}
|
|
6244
6244
|
},
|
|
6245
|
-
"match": "(?:(
|
|
6245
|
+
"match": "(?:([a-zA-Z_]\\w*)\\s*(?==)|(?<=\\w\\s|\\*/|[\\&*>\\])])\\s*([a-zA-Z_]\\w*)\\s*(?=(?:\\[]\\s*)?[,)]))"
|
|
6246
6246
|
},
|
|
6247
6247
|
"scope_resolution": {
|
|
6248
6248
|
"captures": {
|
|
@@ -6267,13 +6267,13 @@
|
|
|
6267
6267
|
"name": "punctuation.separator.namespace.access.objcpp"
|
|
6268
6268
|
}
|
|
6269
6269
|
},
|
|
6270
|
-
"match": "((?:[a-zA-Z_]\\w*\\s*(
|
|
6270
|
+
"match": "((?:[a-zA-Z_]\\w*\\s*(?:<[\\s<>,\\w]*>\\s*)?::)*\\s*)([a-zA-Z_]\\w*)\\s*(<[\\s<>,\\w]*>\\s*)?(::)",
|
|
6271
6271
|
"name": "meta.scope-resolution.objcpp"
|
|
6272
6272
|
},
|
|
6273
6273
|
"special_block": {
|
|
6274
6274
|
"patterns": [
|
|
6275
6275
|
{
|
|
6276
|
-
"begin": "\\b(using)\\s+(namespace)\\s+(?:((?:[a-zA-Z_]\\w*\\s*(
|
|
6276
|
+
"begin": "\\b(using)\\s+(namespace)\\s+(?:((?:[a-zA-Z_]\\w*\\s*(?:<[\\s<>,\\w]*>\\s*)?::)*)\\s*)?((?<!\\w)[a-zA-Z_]\\w*(?!\\w))(?=[;\\n])",
|
|
6277
6277
|
"beginCaptures": {
|
|
6278
6278
|
"1": {
|
|
6279
6279
|
"name": "keyword.other.using.directive.objcpp"
|
|
@@ -6301,7 +6301,7 @@
|
|
|
6301
6301
|
"name": "meta.using-namespace-declaration.objcpp"
|
|
6302
6302
|
},
|
|
6303
6303
|
{
|
|
6304
|
-
"begin": "(?<!\\w)(namespace)\\s+(?:(
|
|
6304
|
+
"begin": "(?<!\\w)(namespace)\\s+(?:((?:[a-zA-Z_]\\w*\\s*(?:<[\\s<>,\\w]*>\\s*)?::)*[a-zA-Z_]\\w*)|(?=\\{))",
|
|
6305
6305
|
"beginCaptures": {
|
|
6306
6306
|
"1": {
|
|
6307
6307
|
"name": "keyword.other.namespace.definition.objcpp storage.type.namespace.definition.objcpp"
|
|
@@ -6309,7 +6309,7 @@
|
|
|
6309
6309
|
"2": {
|
|
6310
6310
|
"patterns": [
|
|
6311
6311
|
{
|
|
6312
|
-
"match": "(?-
|
|
6312
|
+
"match": "(?-im:(?<!\\w)[a-zA-Z_]\\w*(?!\\w))",
|
|
6313
6313
|
"name": "entity.name.type.objcpp"
|
|
6314
6314
|
},
|
|
6315
6315
|
{
|
|
@@ -6319,7 +6319,7 @@
|
|
|
6319
6319
|
]
|
|
6320
6320
|
}
|
|
6321
6321
|
},
|
|
6322
|
-
"end": "(
|
|
6322
|
+
"end": "(?<=})|(?=([;,()>\\[\\]=]))",
|
|
6323
6323
|
"name": "meta.namespace-block.objcpp",
|
|
6324
6324
|
"patterns": [
|
|
6325
6325
|
{
|
|
@@ -6329,7 +6329,7 @@
|
|
|
6329
6329
|
"name": "punctuation.definition.scope.objcpp"
|
|
6330
6330
|
}
|
|
6331
6331
|
},
|
|
6332
|
-
"end": "
|
|
6332
|
+
"end": "}",
|
|
6333
6333
|
"endCaptures": {
|
|
6334
6334
|
"0": {
|
|
6335
6335
|
"name": "punctuation.definition.scope.objcpp"
|
|
@@ -6353,7 +6353,7 @@
|
|
|
6353
6353
|
]
|
|
6354
6354
|
},
|
|
6355
6355
|
{
|
|
6356
|
-
"begin": "\\b(?:(class)|(struct))\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(
|
|
6356
|
+
"begin": "\\b(?:(class)|(struct))\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(p(?:ublic|rotected|rivate))\\s*([_A-Za-z][_A-Za-z0-9]*\\b)((\\s*,\\s*(p(?:ublic|rotected|rivate))\\s*[_A-Za-z][_A-Za-z0-9]*\\b)*))?",
|
|
6357
6357
|
"beginCaptures": {
|
|
6358
6358
|
"1": {
|
|
6359
6359
|
"name": "storage.type.class.objcpp"
|
|
@@ -6373,7 +6373,7 @@
|
|
|
6373
6373
|
"7": {
|
|
6374
6374
|
"patterns": [
|
|
6375
6375
|
{
|
|
6376
|
-
"match": "(
|
|
6376
|
+
"match": "(p(?:ublic|rotected|rivate))",
|
|
6377
6377
|
"name": "storage.type.modifier.access.objcpp"
|
|
6378
6378
|
},
|
|
6379
6379
|
{
|
|
@@ -6383,7 +6383,7 @@
|
|
|
6383
6383
|
]
|
|
6384
6384
|
}
|
|
6385
6385
|
},
|
|
6386
|
-
"end": "(
|
|
6386
|
+
"end": "(?<=})|(;)|(?=([()>\\[\\]=]))",
|
|
6387
6387
|
"endCaptures": {
|
|
6388
6388
|
"1": {
|
|
6389
6389
|
"name": "punctuation.terminator.statement.objcpp"
|
|
@@ -6401,7 +6401,7 @@
|
|
|
6401
6401
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
6402
6402
|
}
|
|
6403
6403
|
},
|
|
6404
|
-
"end": "(
|
|
6404
|
+
"end": "(})(\\s*\\n)?",
|
|
6405
6405
|
"endCaptures": {
|
|
6406
6406
|
"1": {
|
|
6407
6407
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -6434,7 +6434,7 @@
|
|
|
6434
6434
|
"name": "storage.modifier.objcpp"
|
|
6435
6435
|
}
|
|
6436
6436
|
},
|
|
6437
|
-
"end": "(
|
|
6437
|
+
"end": "(?<=})|(?=\\w)|(?=\\s*#\\s*endif\\b)",
|
|
6438
6438
|
"name": "meta.extern-block.objcpp",
|
|
6439
6439
|
"patterns": [
|
|
6440
6440
|
{
|
|
@@ -6444,7 +6444,7 @@
|
|
|
6444
6444
|
"name": "punctuation.section.block.begin.bracket.curly.objcpp"
|
|
6445
6445
|
}
|
|
6446
6446
|
},
|
|
6447
|
-
"end": "
|
|
6447
|
+
"end": "}|(?=\\s*#\\s*endif\\b)",
|
|
6448
6448
|
"endCaptures": {
|
|
6449
6449
|
"0": {
|
|
6450
6450
|
"name": "punctuation.section.block.end.bracket.curly.objcpp"
|
|
@@ -6485,7 +6485,7 @@
|
|
|
6485
6485
|
"string_escaped_char-c": {
|
|
6486
6486
|
"patterns": [
|
|
6487
6487
|
{
|
|
6488
|
-
"match": "\\\\(
|
|
6488
|
+
"match": "\\\\([\\\\abefnprtv'\"?]|[0-3]\\d{0,2}|[4-7]\\d?|x\\h{0,2}|u\\h{0,4}|U\\h{0,8})",
|
|
6489
6489
|
"name": "constant.character.escape.objcpp"
|
|
6490
6490
|
},
|
|
6491
6491
|
{
|
|
@@ -6497,7 +6497,7 @@
|
|
|
6497
6497
|
"string_placeholder-c": {
|
|
6498
6498
|
"patterns": [
|
|
6499
6499
|
{
|
|
6500
|
-
"match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|
|
|
6500
|
+
"match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|[ljtzqL]|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]",
|
|
6501
6501
|
"name": "constant.other.placeholder.objcpp"
|
|
6502
6502
|
}
|
|
6503
6503
|
]
|
|
@@ -6505,7 +6505,7 @@
|
|
|
6505
6505
|
"strings": {
|
|
6506
6506
|
"patterns": [
|
|
6507
6507
|
{
|
|
6508
|
-
"begin": "(u|u8|
|
|
6508
|
+
"begin": "(u|u8|[UL])?\"",
|
|
6509
6509
|
"beginCaptures": {
|
|
6510
6510
|
"0": {
|
|
6511
6511
|
"name": "punctuation.definition.string.begin.objcpp"
|
|
@@ -6523,7 +6523,7 @@
|
|
|
6523
6523
|
"name": "string.quoted.double.objcpp",
|
|
6524
6524
|
"patterns": [
|
|
6525
6525
|
{
|
|
6526
|
-
"match": "\\\\u\\h{4}
|
|
6526
|
+
"match": "\\\\(?:u\\h{4}|U\\h{8})",
|
|
6527
6527
|
"name": "constant.character.escape.objcpp"
|
|
6528
6528
|
},
|
|
6529
6529
|
{
|
|
@@ -6544,7 +6544,7 @@
|
|
|
6544
6544
|
]
|
|
6545
6545
|
},
|
|
6546
6546
|
{
|
|
6547
|
-
"begin": "(u|u8|
|
|
6547
|
+
"begin": "(u|u8|[UL])?R\"(?:([^ ()\\\\\\t]{0,16})|([^ ()\\\\\\t]*))\\(",
|
|
6548
6548
|
"beginCaptures": {
|
|
6549
6549
|
"0": {
|
|
6550
6550
|
"name": "punctuation.definition.string.begin.objcpp"
|
|
@@ -6598,7 +6598,7 @@
|
|
|
6598
6598
|
]
|
|
6599
6599
|
},
|
|
6600
6600
|
{
|
|
6601
|
-
"begin": "(?-
|
|
6601
|
+
"begin": "(?-im:(?<![\\da-fA-F])')",
|
|
6602
6602
|
"beginCaptures": {
|
|
6603
6603
|
"0": {
|
|
6604
6604
|
"name": "punctuation.definition.string.begin.objcpp"
|
|
@@ -6656,10 +6656,10 @@
|
|
|
6656
6656
|
]
|
|
6657
6657
|
}
|
|
6658
6658
|
},
|
|
6659
|
-
"match": "<
|
|
6659
|
+
"match": "<[\\s<>,\\w]*>\\s*"
|
|
6660
6660
|
},
|
|
6661
6661
|
"template_definition": {
|
|
6662
|
-
"begin": "(?-
|
|
6662
|
+
"begin": "(?-im:(?<!\\w)(template)\\s*(<))",
|
|
6663
6663
|
"beginCaptures": {
|
|
6664
6664
|
"1": {
|
|
6665
6665
|
"name": "storage.type.template.objcpp"
|
|
@@ -6668,7 +6668,7 @@
|
|
|
6668
6668
|
"name": "punctuation.section.angle-brackets.start.template.definition.objcpp"
|
|
6669
6669
|
}
|
|
6670
6670
|
},
|
|
6671
|
-
"end": "(?-
|
|
6671
|
+
"end": "(?-im:(>))",
|
|
6672
6672
|
"endCaptures": {
|
|
6673
6673
|
"1": {
|
|
6674
6674
|
"name": "punctuation.section.angle-brackets.end.template.definition.objcpp"
|
|
@@ -6723,7 +6723,7 @@
|
|
|
6723
6723
|
"name": "entity.name.type.template.objcpp"
|
|
6724
6724
|
}
|
|
6725
6725
|
},
|
|
6726
|
-
"match": "((?:(?:(
|
|
6726
|
+
"match": "((?:(?:(?:\\s*([a-zA-Z_]\\w*)|((?:[a-zA-Z_]\\w*\\s+)+)([a-zA-Z_]\\w*))|([a-zA-Z_]\\w*)\\s*(\\.\\.\\.)\\s*([a-zA-Z_]\\w*))|((?:[a-zA-Z_]\\w*\\s+)*)([a-zA-Z_]\\w*)\\s*(=)\\s*(\\w+))\\s*(?:(,)|(?=>)))"
|
|
6727
6727
|
},
|
|
6728
6728
|
"vararg_ellipses-c": {
|
|
6729
6729
|
"match": "(?<!\\.)\\.\\.\\.(?!\\.)",
|
|
@@ -6791,8 +6791,8 @@
|
|
|
6791
6791
|
]
|
|
6792
6792
|
},
|
|
6793
6793
|
"method": {
|
|
6794
|
-
"begin": "^(
|
|
6795
|
-
"end": "(
|
|
6794
|
+
"begin": "^([\\-+])\\s*",
|
|
6795
|
+
"end": "(?=[{#])|;",
|
|
6796
6796
|
"name": "meta.function.objcpp",
|
|
6797
6797
|
"patterns": [
|
|
6798
6798
|
{
|
|
@@ -6869,8 +6869,8 @@
|
|
|
6869
6869
|
]
|
|
6870
6870
|
},
|
|
6871
6871
|
"method_super": {
|
|
6872
|
-
"begin": "^(
|
|
6873
|
-
"end": "(
|
|
6872
|
+
"begin": "^(?=[\\-+])",
|
|
6873
|
+
"end": "(?<=})|(?=#)",
|
|
6874
6874
|
"name": "meta.function-with-body.objcpp",
|
|
6875
6875
|
"patterns": [
|
|
6876
6876
|
{
|
|
@@ -6909,7 +6909,7 @@
|
|
|
6909
6909
|
"name": "constant.numeric.preprocessor.objcpp"
|
|
6910
6910
|
}
|
|
6911
6911
|
},
|
|
6912
|
-
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(
|
|
6912
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=/[/*])|$))",
|
|
6913
6913
|
"patterns": [
|
|
6914
6914
|
{
|
|
6915
6915
|
"begin": "^\\s*(#\\s*(else)\\b)",
|
|
@@ -6921,7 +6921,7 @@
|
|
|
6921
6921
|
"name": "keyword.control.import.else.objcpp"
|
|
6922
6922
|
}
|
|
6923
6923
|
},
|
|
6924
|
-
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(
|
|
6924
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=/[/*])|$))",
|
|
6925
6925
|
"patterns": [
|
|
6926
6926
|
{
|
|
6927
6927
|
"include": "#interface_innards"
|
|
@@ -6930,7 +6930,7 @@
|
|
|
6930
6930
|
},
|
|
6931
6931
|
{
|
|
6932
6932
|
"begin": "",
|
|
6933
|
-
"end": "(?=^\\s*#\\s*(
|
|
6933
|
+
"end": "(?=^\\s*#\\s*(e(?:lse|ndif))\\b.*?(?:(?=/[/*])|$))",
|
|
6934
6934
|
"name": "comment.block.preprocessor.if-branch.objcpp",
|
|
6935
6935
|
"patterns": [
|
|
6936
6936
|
{
|
|
@@ -6956,7 +6956,7 @@
|
|
|
6956
6956
|
"name": "constant.numeric.preprocessor.objcpp"
|
|
6957
6957
|
}
|
|
6958
6958
|
},
|
|
6959
|
-
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(
|
|
6959
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=/[/*])|$))",
|
|
6960
6960
|
"patterns": [
|
|
6961
6961
|
{
|
|
6962
6962
|
"begin": "^\\s*(#\\s*(else)\\b)",
|
|
@@ -6968,7 +6968,7 @@
|
|
|
6968
6968
|
"name": "keyword.control.import.else.objcpp"
|
|
6969
6969
|
}
|
|
6970
6970
|
},
|
|
6971
|
-
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(
|
|
6971
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=/[/*])|$))",
|
|
6972
6972
|
"patterns": [
|
|
6973
6973
|
{
|
|
6974
6974
|
"include": "#interface_innards"
|
|
@@ -6977,7 +6977,7 @@
|
|
|
6977
6977
|
},
|
|
6978
6978
|
{
|
|
6979
6979
|
"begin": "",
|
|
6980
|
-
"end": "(?=^\\s*#\\s*(
|
|
6980
|
+
"end": "(?=^\\s*#\\s*(e(?:lse|ndif))\\b.*?(?:(?=/[/*])|$))",
|
|
6981
6981
|
"name": "comment.block.preprocessor.if-branch.objcpp",
|
|
6982
6982
|
"patterns": [
|
|
6983
6983
|
{
|
|
@@ -7003,7 +7003,7 @@
|
|
|
7003
7003
|
"name": "constant.numeric.preprocessor.objcpp"
|
|
7004
7004
|
}
|
|
7005
7005
|
},
|
|
7006
|
-
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(
|
|
7006
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=/[/*])|$))",
|
|
7007
7007
|
"patterns": [
|
|
7008
7008
|
{
|
|
7009
7009
|
"begin": "^\\s*(#\\s*(else)\\b).*",
|
|
@@ -7016,7 +7016,7 @@
|
|
|
7016
7016
|
}
|
|
7017
7017
|
},
|
|
7018
7018
|
"contentName": "comment.block.preprocessor.else-branch.objcpp",
|
|
7019
|
-
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(
|
|
7019
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=/[/*])|$))",
|
|
7020
7020
|
"patterns": [
|
|
7021
7021
|
{
|
|
7022
7022
|
"include": "#disabled"
|
|
@@ -7028,7 +7028,7 @@
|
|
|
7028
7028
|
},
|
|
7029
7029
|
{
|
|
7030
7030
|
"begin": "",
|
|
7031
|
-
"end": "(?=^\\s*#\\s*(
|
|
7031
|
+
"end": "(?=^\\s*#\\s*(e(?:lse|ndif))\\b.*?(?:(?=/[/*])|$))",
|
|
7032
7032
|
"patterns": [
|
|
7033
7033
|
{
|
|
7034
7034
|
"include": "#implementation_innards"
|
|
@@ -7050,7 +7050,7 @@
|
|
|
7050
7050
|
"name": "constant.numeric.preprocessor.objcpp"
|
|
7051
7051
|
}
|
|
7052
7052
|
},
|
|
7053
|
-
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(
|
|
7053
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=/[/*])|$))",
|
|
7054
7054
|
"patterns": [
|
|
7055
7055
|
{
|
|
7056
7056
|
"begin": "^\\s*(#\\s*(else)\\b).*",
|
|
@@ -7063,7 +7063,7 @@
|
|
|
7063
7063
|
}
|
|
7064
7064
|
},
|
|
7065
7065
|
"contentName": "comment.block.preprocessor.else-branch.objcpp",
|
|
7066
|
-
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(
|
|
7066
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=/[/*])|$))",
|
|
7067
7067
|
"patterns": [
|
|
7068
7068
|
{
|
|
7069
7069
|
"include": "#disabled"
|
|
@@ -7075,7 +7075,7 @@
|
|
|
7075
7075
|
},
|
|
7076
7076
|
{
|
|
7077
7077
|
"begin": "",
|
|
7078
|
-
"end": "(?=^\\s*#\\s*(
|
|
7078
|
+
"end": "(?=^\\s*#\\s*(e(?:lse|ndif))\\b.*?(?:(?=/[/*])|$))",
|
|
7079
7079
|
"patterns": [
|
|
7080
7080
|
{
|
|
7081
7081
|
"include": "#interface_innards"
|
|
@@ -7085,7 +7085,7 @@
|
|
|
7085
7085
|
]
|
|
7086
7086
|
},
|
|
7087
7087
|
"preprocessor-rule-other-implementation": {
|
|
7088
|
-
"begin": "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(
|
|
7088
|
+
"begin": "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=/[/*])|$))",
|
|
7089
7089
|
"captures": {
|
|
7090
7090
|
"1": {
|
|
7091
7091
|
"name": "meta.preprocessor.objcpp"
|
|
@@ -7094,7 +7094,7 @@
|
|
|
7094
7094
|
"name": "keyword.control.import.objcpp"
|
|
7095
7095
|
}
|
|
7096
7096
|
},
|
|
7097
|
-
"end": "^\\s*(#\\s*(endif)\\b).*?(?:(
|
|
7097
|
+
"end": "^\\s*(#\\s*(endif)\\b).*?(?:(?=/[/*])|$)",
|
|
7098
7098
|
"patterns": [
|
|
7099
7099
|
{
|
|
7100
7100
|
"include": "#implementation_innards"
|
|
@@ -7102,7 +7102,7 @@
|
|
|
7102
7102
|
]
|
|
7103
7103
|
},
|
|
7104
7104
|
"preprocessor-rule-other-interface": {
|
|
7105
|
-
"begin": "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(
|
|
7105
|
+
"begin": "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=/[/*])|$))",
|
|
7106
7106
|
"captures": {
|
|
7107
7107
|
"1": {
|
|
7108
7108
|
"name": "meta.preprocessor.objcpp"
|
|
@@ -7111,7 +7111,7 @@
|
|
|
7111
7111
|
"name": "keyword.control.import.objcpp"
|
|
7112
7112
|
}
|
|
7113
7113
|
},
|
|
7114
|
-
"end": "^\\s*(#\\s*(endif)\\b).*?(?:(
|
|
7114
|
+
"end": "^\\s*(#\\s*(endif)\\b).*?(?:(?=/[/*])|$)",
|
|
7115
7115
|
"patterns": [
|
|
7116
7116
|
{
|
|
7117
7117
|
"include": "#interface_innards"
|
|
@@ -7202,7 +7202,7 @@
|
|
|
7202
7202
|
"name": "variable.other.selector.objcpp"
|
|
7203
7203
|
},
|
|
7204
7204
|
{
|
|
7205
|
-
"match": "\\b(
|
|
7205
|
+
"match": "\\b(s(?:elf|uper))\\b",
|
|
7206
7206
|
"name": "variable.language.objcpp"
|
|
7207
7207
|
}
|
|
7208
7208
|
]
|
|
@@ -7210,7 +7210,7 @@
|
|
|
7210
7210
|
"string_escaped_char": {
|
|
7211
7211
|
"patterns": [
|
|
7212
7212
|
{
|
|
7213
|
-
"match": "\\\\(
|
|
7213
|
+
"match": "\\\\([\\\\abefnprtv'\"?]|[0-3]\\d{0,2}|[4-7]\\d?|x\\h{0,2}|u\\h{0,4}|U\\h{0,8})",
|
|
7214
7214
|
"name": "constant.character.escape.objcpp"
|
|
7215
7215
|
},
|
|
7216
7216
|
{
|
|
@@ -7222,7 +7222,7 @@
|
|
|
7222
7222
|
"string_placeholder": {
|
|
7223
7223
|
"patterns": [
|
|
7224
7224
|
{
|
|
7225
|
-
"match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|
|
|
7225
|
+
"match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|[ljtzqL]|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]",
|
|
7226
7226
|
"name": "constant.other.placeholder.objcpp"
|
|
7227
7227
|
},
|
|
7228
7228
|
{
|