@codingame/monaco-editor-wrapper 3.9.2 → 4.0.0-next.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/dist/C2Hs-configuration.json.js +3 -0
- package/dist/C2Hs.json.js +3 -0
- package/dist/COBOL.tmLanguage.json.js +3 -0
- package/dist/Erlang.plist.js +2 -1751
- package/dist/Hsc2Hs-configuration.json.js +3 -0
- package/dist/Hsc2Hs.json.js +3 -0
- package/dist/JavaProperties.tmLanguage.json.js +3 -0
- package/dist/Kotlin.tmLanguage.js +2 -723
- package/dist/META.json.js +3 -0
- package/dist/META.json2.js +3 -0
- package/dist/Markdown Redcarpet.json.js +3 -0
- package/dist/RMarkdown.json.js +3 -0
- package/dist/Rcpp.json.js +3 -0
- package/dist/Rd (R Documentation).json.js +3 -0
- package/dist/Scala.tmLanguage.json.js +3 -0
- package/dist/_commonjsHelpers.js +35 -0
- package/dist/_rollupPluginBabelHelpers.js +1 -1
- package/dist/add.svg.js +3 -0
- package/dist/add.svg2.js +3 -0
- package/dist/adddep-dark.svg.js +3 -0
- package/dist/adddep-light.svg.js +3 -0
- package/dist/alex.json.js +3 -0
- package/dist/angular-directives.json.js +3 -0
- package/dist/angular-interpolations.json.js +3 -0
- package/dist/angular-template-language-configuration.json.js +3 -0
- package/dist/arrow-circle-up-dark.svg.js +3 -0
- package/dist/arrow-circle-up-light.svg.js +3 -0
- package/dist/aspnetcorerazor.tmLanguage.json.js +3 -0
- package/dist/atd.json.js +3 -0
- package/dist/book-dark.svg.js +3 -0
- package/dist/book-light.svg.js +3 -0
- package/dist/book-open-dark.svg.js +3 -0
- package/dist/book-open-light.svg.js +3 -0
- package/dist/buildtarget.json.js +3 -0
- package/dist/cabal-configuration.json.js +3 -0
- package/dist/cabal.json.js +3 -0
- package/dist/codeblock-cabal.json.js +3 -0
- package/dist/codeblock-haskell.json.js +3 -0
- package/dist/codeblock-literate-haskell.json.js +3 -0
- package/dist/codeblock.json.js +3 -0
- package/dist/codeblock.json2.js +3 -0
- package/dist/configuration/index.d.ts +0 -1
- package/dist/cram.json.js +3 -0
- package/dist/csharp.json.js +3 -0
- package/dist/css.worker.js +1 -1
- package/dist/d.json.js +3 -0
- package/dist/d.json2.js +3 -0
- package/dist/dart-language-configuration.json.js +3 -0
- package/dist/dart.json.js +3 -0
- package/dist/dcf-configuration.json.js +3 -0
- package/dist/dcf.json.js +3 -0
- package/dist/diet.json.js +3 -0
- package/dist/diet.json2.js +3 -0
- package/dist/diet.json3.js +3 -0
- package/dist/django-html.tmLanguage.json.js +3 -0
- package/dist/django-txt.tmLanguage.json.js +3 -0
- package/dist/dml.json.js +3 -0
- package/dist/document-search-dark.svg.js +3 -0
- package/dist/document-search-light.svg.js +3 -0
- package/dist/documentation-inverse.svg.js +3 -0
- package/dist/documentation.svg.js +3 -0
- package/dist/dub-convert-inverse.svg.js +3 -0
- package/dist/dub-convert.svg.js +3 -0
- package/dist/dune-project.json.js +3 -0
- package/dist/dune-project.json2.js +3 -0
- package/dist/dune-workspace.json.js +3 -0
- package/dist/dune.json.js +3 -0
- package/dist/dune.json2.js +3 -0
- package/dist/dune.json3.js +3 -0
- package/dist/edit-dub-inverse.svg.js +3 -0
- package/dist/edit-dub.svg.js +3 -0
- package/dist/edit-source-inverse.svg.js +3 -0
- package/dist/edit-source.svg.js +3 -0
- package/dist/eex-language-configuration.json.js +3 -0
- package/dist/eex.json.js +3 -0
- package/dist/elixir-language-configuration.json.js +3 -0
- package/dist/elixir.json.js +3 -0
- package/dist/erlang.configuration.json.js +3 -0
- package/dist/erlang.json.js +3 -0
- package/dist/expression.json.js +3 -0
- package/dist/extension-web.js.js +3 -0
- package/dist/extension-web.js2.js +3 -0
- package/dist/extension.browser.js.js +3 -0
- package/dist/extensions.d.ts +35 -0
- package/dist/features/htmlContribution.js +0 -1
- package/dist/features/jsonContribution.d.ts +2 -4
- package/dist/features/jsonContribution.js +10 -29
- package/dist/features/typescriptContribution.js +2 -2
- package/dist/file_type_java.svg.js +3 -0
- package/dist/file_type_scala.svg.js +3 -0
- package/dist/filters.json.js +3 -0
- package/dist/focus-dark.svg.js +3 -0
- package/dist/focus-light.svg.js +3 -0
- package/dist/general.json.js +3 -0
- package/dist/get-inverse.svg.js +3 -0
- package/dist/get.svg.js +3 -0
- package/dist/go.json.js +3 -0
- package/dist/go.mod.language-configuration.json.js +3 -0
- package/dist/go.mod.tmGrammar.json.js +3 -0
- package/dist/go.sum.tmGrammar.json.js +3 -0
- package/dist/govulncheck.tmGrammar.json.js +3 -0
- package/dist/happy.json.js +3 -0
- package/dist/haskell-configuration.json.js +3 -0
- package/dist/haskell.json.js +3 -0
- package/dist/hot-reload-tb.png.js +3 -0
- package/dist/hot-reload.svg.js +3 -0
- package/dist/html-eex.json.js +3 -0
- package/dist/html.worker.js +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +9 -6
- package/dist/index2.js +2 -1351
- package/dist/inline-styles.json.js +3 -0
- package/dist/inline-template.json.js +3 -0
- package/dist/inspector.svg.js +3 -0
- package/dist/java-properties-configuration.json.js +3 -0
- package/dist/java.json.js +3 -0
- package/dist/javascript.json.js +3 -0
- package/dist/json.worker.js +1 -1
- package/dist/jvm-bytecode-verbose.json.js +3 -0
- package/dist/jvm-bytecode.json.js +3 -0
- package/dist/kotlin.configuration.json.js +3 -0
- package/dist/kotlin.json.js +3 -0
- package/dist/lang-config.json.js +3 -0
- package/dist/language-configuration.json.js +3 -0
- package/dist/language-configuration.json2.js +3 -0
- package/dist/language-configuration.json3.js +3 -0
- package/dist/language-configuration.json4.js +3 -0
- package/dist/language-configuration.json5.js +3 -0
- package/dist/language-configuration.json6.js +3 -0
- package/dist/language-configuration.json7.js +3 -0
- package/dist/language-configuration.json8.js +3 -0
- package/dist/languages/index.d.ts +0 -2
- package/dist/literate-haskell-configuration.json.js +3 -0
- package/dist/literateHaskell.json.js +3 -0
- package/dist/main.js +839 -3070
- package/dist/markdown-svelte-css.json.js +3 -0
- package/dist/markdown-svelte-js.json.js +3 -0
- package/dist/markdown-svelte.json.js +3 -0
- package/dist/menhir-action.json.js +3 -0
- package/dist/menhir.json.js +3 -0
- package/dist/menhir.json2.js +3 -0
- package/dist/merlin.json.js +3 -0
- package/dist/monaco.d.ts +6 -9
- package/dist/oasis.json.js +3 -0
- package/dist/oasis.json2.js +3 -0
- package/dist/ocaml-markdown-codeblock.json.js +3 -0
- package/dist/ocaml.interface.json.js +3 -0
- package/dist/ocaml.json.js +3 -0
- package/dist/ocaml.json2.js +3 -0
- package/dist/ocaml.json3.js +3 -0
- package/dist/ocamlbuild.json.js +3 -0
- package/dist/ocamlbuild.json2.js +3 -0
- package/dist/ocamldoc.json.js +3 -0
- package/dist/ocamlformat.json.js +3 -0
- package/dist/ocamlformat.json2.js +3 -0
- package/dist/ocamllex.json.js +3 -0
- package/dist/ocamllex.json2.js +3 -0
- package/dist/ocamllex.json3.js +3 -0
- package/dist/opam-install.json.js +3 -0
- package/dist/opam-install.json2.js +3 -0
- package/dist/opam.json.js +3 -0
- package/dist/opam.json2.js +3 -0
- package/dist/outdated-inverse.svg.js +3 -0
- package/dist/outdated.svg.js +3 -0
- package/dist/pascal.configuration.json.js +3 -0
- package/dist/pascal.json.js +3 -0
- package/dist/pascal.tmLanguage.js +2 -168
- package/dist/performance.svg.js +3 -0
- package/dist/pgsql.tmLanguage.js +2 -283
- package/dist/pip-requirements.json.js +3 -0
- package/dist/pip-requirements.tmLanguage.json.js +3 -0
- package/dist/plus-dark.svg.js +3 -0
- package/dist/plus-light.svg.js +3 -0
- package/dist/postcss.json.js +3 -0
- package/dist/preview-right-dark.svg.js +3 -0
- package/dist/preview-right-light.svg.js +3 -0
- package/dist/pug-svelte-dotblock.json.js +3 -0
- package/dist/pug-svelte-tags.json.js +3 -0
- package/dist/pug-svelte.json.js +3 -0
- package/dist/r-configuration.json.js +3 -0
- package/dist/r-snippets.json.js +3 -0
- package/dist/r.json.js +3 -0
- package/dist/rbuildignore-configuration.json.js +3 -0
- package/dist/rbuildignore.json.js +3 -0
- package/dist/rd-configuration.json.js +3 -0
- package/dist/reason-markdown-codeblock.json.js +3 -0
- package/dist/reason.json.js +3 -0
- package/dist/reason.json2.js +3 -0
- package/dist/ref-group-by-type-dark.svg.js +3 -0
- package/dist/ref-group-by-type-light.svg.js +3 -0
- package/dist/ref-ungroup-by-type-dark.svg.js +3 -0
- package/dist/ref-ungroup-by-type-light.svg.js +3 -0
- package/dist/refresh-dark.svg.js +3 -0
- package/dist/refresh-dark.svg2.js +3 -0
- package/dist/refresh-light.svg.js +3 -0
- package/dist/refresh-light.svg2.js +3 -0
- package/dist/repl.svg.js +3 -0
- package/dist/repl.svg2.js +3 -0
- package/dist/rmarkdown.json2.js +3 -0
- package/dist/rmd-configuration.json.js +3 -0
- package/dist/rnamespace-configuration.json.js +3 -0
- package/dist/rnamespace.json.js +3 -0
- package/dist/save.svg.js +3 -0
- package/dist/save.svg2.js +3 -0
- package/dist/scalameta-logo.png.js +3 -0
- package/dist/sdl.json.js +3 -0
- package/dist/semanticdb.json.js +3 -0
- package/dist/services.d.ts +4 -0
- package/dist/solidity.configuration.json.js +3 -0
- package/dist/solidity.json.js +3 -0
- package/dist/solidity.json2.js +3 -0
- package/dist/svelte.json.js +3 -0
- package/dist/svelte.tmLanguage.json.js +3 -0
- package/dist/switch-impl-intf.dark.svg.js +3 -0
- package/dist/switch-impl-intf.light.svg.js +3 -0
- package/dist/systemverilog.json.js +3 -0
- package/dist/systemverilog.tmLanguage.json.js +3 -0
- package/dist/tags.json.js +3 -0
- package/dist/tasty.json.js +3 -0
- package/dist/tcl.json.js +3 -0
- package/dist/tcl.json2.js +3 -0
- package/dist/template.json.js +3 -0
- package/dist/theme/index.d.ts +1 -4
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +3 -2
- package/dist/ts.worker.js +1 -1
- package/dist/typescript.json.js +3 -0
- package/dist/upgrade-inverse.svg.js +3 -0
- package/dist/upgrade.svg.js +3 -0
- package/dist/vim.js +37 -36
- package/dist/vs2019_dark.json.js +3 -0
- package/dist/vs2019_light.json.js +3 -0
- package/dist/worker.js +14 -2
- package/dist/x-dark.svg.js +3 -0
- package/dist/x-light.svg.js +3 -0
- package/package.json +40 -42
- package/stats.html +90 -1429
- package/dist/COBOL.tmLanguage.js +0 -172
- package/dist/HTML (Eex)2.js +0 -100
- package/dist/JSON.tmLanguage.js +0 -221
- package/dist/JSONC.tmLanguage.js +0 -221
- package/dist/JavaProperties.tmLanguage.js +0 -116
- package/dist/JavaScript.tmLanguage.js +0 -5922
- package/dist/JavaScriptReact.tmLanguage.js +0 -5922
- package/dist/META.js +0 -100
- package/dist/MagicPython.tmLanguage.js +0 -4221
- package/dist/MagicRegExp.tmLanguage.js +0 -505
- package/dist/Markdown Redcarpet.js +0 -221
- package/dist/RMarkdown.js +0 -25
- package/dist/Rcpp.js +0 -50
- package/dist/Rd (R Documentation).js +0 -131
- package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
- package/dist/Scala.tmLanguage.js +0 -1291
- package/dist/TypeScript.tmLanguage.js +0 -5673
- package/dist/TypeScriptReact.tmLanguage.js +0 -5922
- package/dist/angular.js +0 -74
- package/dist/asp-vb-net.tmlanguage.js +0 -247
- package/dist/aspnetcorerazor.js +0 -72
- package/dist/aspnetcorerazor.tmLanguage.js +0 -1522
- package/dist/atd.js +0 -110
- package/dist/atd2.js +0 -114
- package/dist/buildignore.r.js +0 -5
- package/dist/buildtarget.js +0 -53
- package/dist/c.js +0 -101
- package/dist/c.tmLanguage.js +0 -3565
- package/dist/cabal.js +0 -10
- package/dist/cabal.tmLanguage.js +0 -66
- package/dist/clojure.js +0 -68
- package/dist/clojure.tmLanguage.js +0 -439
- package/dist/cobol.js +0 -6
- package/dist/cobol2.js +0 -337
- package/dist/codeblock-cabal.js +0 -42
- package/dist/codeblock-haskell.js +0 -42
- package/dist/codeblock-literate-haskell.js +0 -42
- package/dist/codeblock.js +0 -59
- package/dist/codeblock2.js +0 -36
- package/dist/codeblock3.js +0 -95
- package/dist/coffeescript-coffeescript.code-snippets.js +0 -18
- package/dist/coffeescript.js +0 -91
- package/dist/coffeescript.tmLanguage.js +0 -1324
- package/dist/configuration/files.d.ts +0 -6
- package/dist/cpp-c.code-snippets.js +0 -18
- package/dist/cpp-cpp.code-snippets.js +0 -18
- package/dist/cpp.js +0 -101
- package/dist/cpp.tmLanguage.js +0 -16485
- package/dist/cpptools.js +0 -2608
- package/dist/cram.js +0 -257
- package/dist/csharp.js +0 -92
- package/dist/csharp.tmLanguage.js +0 -4992
- package/dist/css.js +0 -106
- package/dist/css.tmLanguage.js +0 -1873
- package/dist/cuda-cpp.js +0 -101
- package/dist/cuda-cpp.tmLanguage.js +0 -19993
- package/dist/d-diet.js +0 -92
- package/dist/d.js +0 -3173
- package/dist/d2.js +0 -97
- package/dist/d3.js +0 -609
- package/dist/dart.js +0 -543
- package/dist/dart2.js +0 -103
- package/dist/dart3.js +0 -1124
- package/dist/dcf.js +0 -93
- package/dist/debian-control.r.js +0 -69
- package/dist/diet.js +0 -758
- package/dist/diet2.js +0 -100
- package/dist/django-html.js +0 -155
- package/dist/django-html.tmLanguage.js +0 -715
- package/dist/django-txt.js +0 -155
- package/dist/django-txt.tmLanguage.js +0 -269
- package/dist/dml.js +0 -169
- package/dist/dml2.js +0 -90
- package/dist/dockercompose.js +0 -82
- package/dist/dpp.js +0 -97
- package/dist/dscript.js +0 -90
- package/dist/dune-project.js +0 -481
- package/dist/dune-project2.js +0 -65
- package/dist/dune-workspace.js +0 -298
- package/dist/dune-workspace2.js +0 -65
- package/dist/dune.js +0 -2962
- package/dist/dune2.js +0 -65
- package/dist/eex.js +0 -55
- package/dist/elixir-snippets.js +0 -184
- package/dist/elixir.js +0 -2341
- package/dist/elixir2.js +0 -69
- package/dist/elixir3.js +0 -40
- package/dist/erlang-erlang.js +0 -195
- package/dist/erlang.js +0 -81
- package/dist/erlang2.js +0 -92
- package/dist/expression.js +0 -846
- package/dist/features/extensionConfigurations.d.ts +0 -1
- package/dist/features/extensionConfigurations.js +0 -44
- package/dist/fsharp-fsharp.code-snippets.js +0 -18
- package/dist/fsharp.js +0 -80
- package/dist/fsharp.tmLanguage.js +0 -1844
- package/dist/go.js +0 -103
- package/dist/go.mod.js +0 -8
- package/dist/go.mod.tmGrammar.js +0 -182
- package/dist/go.sum.tmGrammar.js +0 -55
- package/dist/go.tmLanguage.js +0 -1025
- package/dist/go.work.js +0 -8
- package/dist/govulncheck.tmGrammar.js +0 -138
- package/dist/groovy-groovy.code-snippets.js +0 -229
- package/dist/groovy.js +0 -79
- package/dist/groovy.tmLanguage.js +0 -1391
- package/dist/haskell.js +0 -88
- package/dist/haskell.tmLanguage.js +0 -629
- package/dist/haskell2.js +0 -16
- package/dist/html (eex).js +0 -31
- package/dist/html-derivative.tmLanguage.js +0 -57
- package/dist/html-html.code-snippets.js +0 -20
- package/dist/html.js +0 -11
- package/dist/html.tmLanguage.js +0 -2652
- package/dist/html.tmLanguage2.js +0 -107
- package/dist/inline-styles.js +0 -104
- package/dist/inline-template.js +0 -88
- package/dist/jade.js +0 -11
- package/dist/java-java.js +0 -125
- package/dist/java-properties.js +0 -73
- package/dist/java.js +0 -95
- package/dist/java.tmLanguage.js +0 -1863
- package/dist/java2.js +0 -888
- package/dist/javascript-javascript.code-snippets.js +0 -205
- package/dist/javascript.js +0 -197
- package/dist/javascriptreact.js +0 -197
- package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
- package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
- package/dist/json.js +0 -75
- package/dist/jsonc.js +0 -75
- package/dist/jsx-tags.js +0 -158
- package/dist/jvm-bytecode-verbose.js +0 -1231
- package/dist/jvm-bytecode.js +0 -565
- package/dist/kotlin-kotlin.js +0 -117
- package/dist/kotlin.js +0 -103
- package/dist/kotlinscript.js +0 -103
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +0 -3
- package/dist/languages/extensions/grammarLoader.d.ts +0 -2
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +0 -2
- package/dist/languages/extensions/snippetLoader.d.ts +0 -2
- package/dist/languages/extensions/themeLoader.d.ts +0 -2
- package/dist/languages/snippets/index.d.ts +0 -1
- package/dist/languages/textMate/index.d.ts +0 -1
- package/dist/languages/textMate/semanticTokens.d.ts +0 -1
- package/dist/literate haskell.js +0 -88
- package/dist/literateHaskell.tmLanguage.js +0 -70
- package/dist/lua.js +0 -84
- package/dist/lua.tmLanguage.js +0 -906
- package/dist/lua2.js +0 -2859
- package/dist/markdown-basics-markdown.code-snippets.js +0 -121
- package/dist/markdown-svelte-css.js +0 -37
- package/dist/markdown-svelte-js.js +0 -37
- package/dist/markdown-svelte.js +0 -59
- package/dist/markdown-vue.js +0 -54
- package/dist/markdown.js +0 -49
- package/dist/markdown.tmLanguage.js +0 -3006
- package/dist/menhir-action.js +0 -51
- package/dist/menhir.js +0 -597
- package/dist/merlin.js +0 -111
- package/dist/namespace.r.js +0 -88
- package/dist/oasis.js +0 -99
- package/dist/objective-c.js +0 -79
- package/dist/objective-c.tmLanguage.js +0 -3763
- package/dist/objective-cpp.js +0 -79
- package/dist/ocaml-dune-project.js +0 -38
- package/dist/ocaml-dune.js +0 -53
- package/dist/ocaml-markdown-codeblock.js +0 -42
- package/dist/ocaml-ocaml.js +0 -88
- package/dist/ocaml-ocamllex.js +0 -12
- package/dist/ocaml.META.js +0 -29
- package/dist/ocaml.interface.js +0 -292
- package/dist/ocaml.interface2.js +0 -114
- package/dist/ocaml.js +0 -903
- package/dist/ocaml.menhir.js +0 -81
- package/dist/ocaml.oasis.js +0 -18
- package/dist/ocaml.ocamlbuild.js +0 -45
- package/dist/ocaml.ocamlformat.js +0 -8
- package/dist/ocaml.ocamllex.js +0 -60
- package/dist/ocaml.opam-install.js +0 -49
- package/dist/ocaml.opam.js +0 -69
- package/dist/ocaml2.js +0 -114
- package/dist/ocaml3.js +0 -136
- package/dist/ocamlbuild.js +0 -189
- package/dist/ocamldoc.js +0 -54
- package/dist/ocamlformat.js +0 -206
- package/dist/ocamllex.js +0 -133
- package/dist/omnisharp-csharp.js +0 -508
- package/dist/omnisharp.js +0 -590
- package/dist/opam-install.js +0 -40
- package/dist/opam.js +0 -140
- package/dist/pascal-pascal.js +0 -382
- package/dist/pascal.js +0 -80
- package/dist/pascal2.js +0 -26
- package/dist/perl.js +0 -93
- package/dist/perl.tmLanguage.js +0 -2986
- package/dist/perl6.js +0 -86
- package/dist/perl6.tmLanguage.js +0 -323
- package/dist/php-php.code-snippets.js +0 -267
- package/dist/php.js +0 -154
- package/dist/php.tmLanguage.js +0 -4008
- package/dist/pip-requirements.js +0 -8
- package/dist/pip-requirements.tmLanguage.js +0 -89
- package/dist/plaintext.js +0 -11
- package/dist/platform.tmLanguage.js +0 -1135
- package/dist/postcss.src.yaml.js +0 -393
- package/dist/postgres.js +0 -80
- package/dist/postgresql.js +0 -75
- package/dist/powershell.js +0 -107
- package/dist/powershell.tmLanguage.js +0 -1037
- package/dist/pug-svelte-dotblock.js +0 -69
- package/dist/pug-svelte-tags.js +0 -215
- package/dist/pug-svelte.js +0 -307
- package/dist/python.js +0 -236
- package/dist/r.js +0 -664
- package/dist/r2.js +0 -88
- package/dist/rbuildignore.js +0 -39
- package/dist/rd.js +0 -81
- package/dist/reason-markdown-codeblock.js +0 -42
- package/dist/reason.js +0 -79
- package/dist/rmd.js +0 -84
- package/dist/rnamespace.js +0 -283
- package/dist/ruby.js +0 -95
- package/dist/ruby.tmLanguage.js +0 -2784
- package/dist/rust.js +0 -84
- package/dist/rust.tmLanguage.js +0 -1178
- package/dist/sassdoc.tmLanguage.js +0 -362
- package/dist/scala.js +0 -85
- package/dist/scalameta.js +0 -223
- package/dist/scss.js +0 -117
- package/dist/scss.tmLanguage.js +0 -1887
- package/dist/sdl.js +0 -162
- package/dist/sdl2.js +0 -90
- package/dist/semanticdb.js +0 -62
- package/dist/shell-unix-bash.tmLanguage.js +0 -2016
- package/dist/shellscript.js +0 -93
- package/dist/solargraph.js +0 -192
- package/dist/solidity-solidity.js +0 -213
- package/dist/solidity.js +0 -1187
- package/dist/solidity2.js +0 -71
- package/dist/solidity3.js +0 -137
- package/dist/sql.js +0 -99
- package/dist/sql.tmLanguage.js +0 -636
- package/dist/svelte.js +0 -120
- package/dist/svelte.svelte-vscode-javascript.js +0 -45
- package/dist/svelte.svelte-vscode-svelte.js +0 -46
- package/dist/svelte.svelte-vscode-typescript.js +0 -43
- package/dist/svelte.svelte-vscode.js +0 -383
- package/dist/svelte.tmLanguage.src.yaml.js +0 -1099
- package/dist/svlangserver-systemverilog.js +0 -395
- package/dist/svlangserver.js +0 -85
- package/dist/swift-swift.code-snippets.js +0 -183
- package/dist/swift.js +0 -90
- package/dist/swift.tmLanguage.js +0 -3312
- package/dist/systemverilog.js +0 -187
- package/dist/systemverilog.tmLanguage.js +0 -1259
- package/dist/tasty.js +0 -72
- package/dist/tcl-tcl.js +0 -151
- package/dist/tcl.js +0 -78
- package/dist/tcl.tmlanguage.yaml.js +0 -5484
- package/dist/template.js +0 -207
- package/dist/theme-defaults~dark_plus.js +0 -207
- package/dist/theme-defaults~dark_plus_experimental.js +0 -146
- package/dist/theme-defaults~dark_vs.js +0 -412
- package/dist/theme-defaults~hc_black.js +0 -471
- package/dist/theme-defaults~hc_light.js +0 -595
- package/dist/theme-defaults~light_plus.js +0 -209
- package/dist/theme-defaults~light_plus_experimental.js +0 -159
- package/dist/theme-defaults~light_vs.js +0 -441
- package/dist/typescript-basics-typescript.code-snippets.js +0 -313
- package/dist/typescript-language-features.js +0 -1090
- package/dist/typescript.js +0 -216
- package/dist/typescriptreact.js +0 -216
- package/dist/vb-vb.code-snippets.js +0 -88
- package/dist/vb.js +0 -79
- package/dist/verilog.js +0 -187
- package/dist/volar-vue.js +0 -343
- package/dist/vscode-R-r-snippets.js +0 -534
- package/dist/vscode-R-rmarkdown.js +0 -461
- package/dist/vscode-R.js +0 -648
- package/dist/vscode-django-filters.js +0 -340
- package/dist/vscode-django.js +0 -37
- package/dist/vscode-go-go.js +0 -276
- package/dist/vscode-go.js +0 -1604
- package/dist/vscode-groovy.js +0 -28
- package/dist/vscode-python.js +0 -686
- package/dist/vue-directives.js +0 -25
- package/dist/vue-interpolations.js +0 -25
- package/dist/vue-sfc-style-variable-injection.js +0 -63
- package/dist/vue.js +0 -151
- package/dist/vue.tmLanguage.js +0 -1218
- package/dist/xml.js +0 -116
- package/dist/xml.tmLanguage.js +0 -395
- package/dist/xsl.js +0 -39
- package/dist/xsl.tmLanguage.js +0 -102
- package/dist/yaml.js +0 -82
- package/dist/yaml.tmLanguage.js +0 -629
- /package/dist/{extensions → editor}/autofold.d.ts +0 -0
- /package/dist/{extensions → editor}/cobol.d.ts +0 -0
- /package/dist/{extensions → editor}/index.d.ts +0 -0
|
@@ -1,3763 +0,0 @@
|
|
|
1
|
-
var information_for_contributors = [
|
|
2
|
-
"This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/objective-c/",
|
|
3
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
4
|
-
"Once accepted there, we are happy to receive an update request."
|
|
5
|
-
];
|
|
6
|
-
var version = "https://github.com/jeff-hykin/better-objc-syntax/commit/119b75fb1f4d3e8726fa62588e3b935e0b719294";
|
|
7
|
-
var name = "Objective-C";
|
|
8
|
-
var scopeName = "source.objc";
|
|
9
|
-
var patterns = [
|
|
10
|
-
{
|
|
11
|
-
include: "#anonymous_pattern_1"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
include: "#anonymous_pattern_2"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
include: "#anonymous_pattern_3"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
include: "#anonymous_pattern_4"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
include: "#anonymous_pattern_5"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
include: "#apple_foundation_functional_macros"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
include: "#anonymous_pattern_7"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
include: "#anonymous_pattern_8"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
include: "#anonymous_pattern_9"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
include: "#anonymous_pattern_10"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
include: "#anonymous_pattern_11"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
include: "#anonymous_pattern_12"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
include: "#anonymous_pattern_13"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
include: "#anonymous_pattern_14"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
include: "#anonymous_pattern_15"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
include: "#anonymous_pattern_16"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
include: "#anonymous_pattern_17"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
include: "#anonymous_pattern_18"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
include: "#anonymous_pattern_19"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
include: "#anonymous_pattern_20"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
include: "#anonymous_pattern_21"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
include: "#anonymous_pattern_22"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
include: "#anonymous_pattern_23"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
include: "#anonymous_pattern_24"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
include: "#anonymous_pattern_25"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
include: "#anonymous_pattern_26"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
include: "#anonymous_pattern_27"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
include: "#anonymous_pattern_28"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
include: "#anonymous_pattern_29"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
include: "#anonymous_pattern_30"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
include: "#bracketed_content"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
include: "#c_lang"
|
|
105
|
-
}
|
|
106
|
-
];
|
|
107
|
-
var repository = {
|
|
108
|
-
anonymous_pattern_1: {
|
|
109
|
-
begin: "((@)(interface|protocol))(?!.+;)\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*((:)(?:\\s*)([A-Za-z][A-Za-z0-9]*))?(\\s|\\n)?",
|
|
110
|
-
captures: {
|
|
111
|
-
"1": {
|
|
112
|
-
name: "storage.type.objc"
|
|
113
|
-
},
|
|
114
|
-
"2": {
|
|
115
|
-
name: "punctuation.definition.storage.type.objc"
|
|
116
|
-
},
|
|
117
|
-
"4": {
|
|
118
|
-
name: "entity.name.type.objc"
|
|
119
|
-
},
|
|
120
|
-
"6": {
|
|
121
|
-
name: "punctuation.definition.entity.other.inherited-class.objc"
|
|
122
|
-
},
|
|
123
|
-
"7": {
|
|
124
|
-
name: "entity.other.inherited-class.objc"
|
|
125
|
-
},
|
|
126
|
-
"8": {
|
|
127
|
-
name: "meta.divider.objc"
|
|
128
|
-
},
|
|
129
|
-
"9": {
|
|
130
|
-
name: "meta.inherited-class.objc"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
contentName: "meta.scope.interface.objc",
|
|
134
|
-
end: "((@)end)\\b",
|
|
135
|
-
name: "meta.interface-or-protocol.objc",
|
|
136
|
-
patterns: [
|
|
137
|
-
{
|
|
138
|
-
include: "#interface_innards"
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
anonymous_pattern_10: {
|
|
143
|
-
captures: {
|
|
144
|
-
"1": {
|
|
145
|
-
name: "punctuation.definition.keyword.objc"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
match: "(@)(defs|encode)\\b",
|
|
149
|
-
name: "keyword.other.objc"
|
|
150
|
-
},
|
|
151
|
-
anonymous_pattern_11: {
|
|
152
|
-
match: "\\bid\\b",
|
|
153
|
-
name: "storage.type.id.objc"
|
|
154
|
-
},
|
|
155
|
-
anonymous_pattern_12: {
|
|
156
|
-
match: "\\b(IBOutlet|IBAction|BOOL|SEL|id|unichar|IMP|Class|instancetype)\\b",
|
|
157
|
-
name: "storage.type.objc"
|
|
158
|
-
},
|
|
159
|
-
anonymous_pattern_13: {
|
|
160
|
-
captures: {
|
|
161
|
-
"1": {
|
|
162
|
-
name: "punctuation.definition.storage.type.objc"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
match: "(@)(class|protocol)\\b",
|
|
166
|
-
name: "storage.type.objc"
|
|
167
|
-
},
|
|
168
|
-
anonymous_pattern_14: {
|
|
169
|
-
begin: "((@)selector)\\s*(\\()",
|
|
170
|
-
beginCaptures: {
|
|
171
|
-
"1": {
|
|
172
|
-
name: "storage.type.objc"
|
|
173
|
-
},
|
|
174
|
-
"2": {
|
|
175
|
-
name: "punctuation.definition.storage.type.objc"
|
|
176
|
-
},
|
|
177
|
-
"3": {
|
|
178
|
-
name: "punctuation.definition.storage.type.objc"
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
contentName: "meta.selector.method-name.objc",
|
|
182
|
-
end: "(\\))",
|
|
183
|
-
endCaptures: {
|
|
184
|
-
"1": {
|
|
185
|
-
name: "punctuation.definition.storage.type.objc"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
name: "meta.selector.objc",
|
|
189
|
-
patterns: [
|
|
190
|
-
{
|
|
191
|
-
captures: {
|
|
192
|
-
"1": {
|
|
193
|
-
name: "punctuation.separator.arguments.objc"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
match: "\\b(?:[a-zA-Z_:][\\w]*)+",
|
|
197
|
-
name: "support.function.any-method.name-of-parameter.objc"
|
|
198
|
-
}
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
anonymous_pattern_15: {
|
|
202
|
-
captures: {
|
|
203
|
-
"1": {
|
|
204
|
-
name: "punctuation.definition.storage.modifier.objc"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
match: "(@)(synchronized|public|package|private|protected)\\b",
|
|
208
|
-
name: "storage.modifier.objc"
|
|
209
|
-
},
|
|
210
|
-
anonymous_pattern_16: {
|
|
211
|
-
match: "\\b(YES|NO|Nil|nil)\\b",
|
|
212
|
-
name: "constant.language.objc"
|
|
213
|
-
},
|
|
214
|
-
anonymous_pattern_17: {
|
|
215
|
-
match: "\\bNSApp\\b",
|
|
216
|
-
name: "support.variable.foundation.objc"
|
|
217
|
-
},
|
|
218
|
-
anonymous_pattern_18: {
|
|
219
|
-
captures: {
|
|
220
|
-
"1": {
|
|
221
|
-
name: "punctuation.whitespace.support.function.cocoa.leopard.objc"
|
|
222
|
-
},
|
|
223
|
-
"2": {
|
|
224
|
-
name: "support.function.cocoa.leopard.objc"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
match: "(\\s*)\\b(NS(Rect(ToCGRect|FromCGRect)|MakeCollectable|S(tringFromProtocol|ize(ToCGSize|FromCGSize))|Draw(NinePartImage|ThreePartImage)|P(oint(ToCGPoint|FromCGPoint)|rotocolFromString)|EventMaskFromType|Value))\\b"
|
|
228
|
-
},
|
|
229
|
-
anonymous_pattern_19: {
|
|
230
|
-
captures: {
|
|
231
|
-
"1": {
|
|
232
|
-
name: "punctuation.whitespace.support.function.leading.cocoa.objc"
|
|
233
|
-
},
|
|
234
|
-
"2": {
|
|
235
|
-
name: "support.function.cocoa.objc"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
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(X|Y)|d(X|Y))|ouseInRect|a(p(Remove|Get|Member|Insert(IfAbsent|KnownAbsent)?)|ke(R(ect|ange)|Size|Point)|x(Range|X|Y)))|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"
|
|
239
|
-
},
|
|
240
|
-
anonymous_pattern_2: {
|
|
241
|
-
begin: "((@)(implementation))\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*(?::\\s*([A-Za-z][A-Za-z0-9]*))?",
|
|
242
|
-
captures: {
|
|
243
|
-
"1": {
|
|
244
|
-
name: "storage.type.objc"
|
|
245
|
-
},
|
|
246
|
-
"2": {
|
|
247
|
-
name: "punctuation.definition.storage.type.objc"
|
|
248
|
-
},
|
|
249
|
-
"4": {
|
|
250
|
-
name: "entity.name.type.objc"
|
|
251
|
-
},
|
|
252
|
-
"5": {
|
|
253
|
-
name: "entity.other.inherited-class.objc"
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
contentName: "meta.scope.implementation.objc",
|
|
257
|
-
end: "((@)end)\\b",
|
|
258
|
-
name: "meta.implementation.objc",
|
|
259
|
-
patterns: [
|
|
260
|
-
{
|
|
261
|
-
include: "#implementation_innards"
|
|
262
|
-
}
|
|
263
|
-
]
|
|
264
|
-
},
|
|
265
|
-
anonymous_pattern_20: {
|
|
266
|
-
match: "\\bNS(RuleEditor|G(arbageCollector|radient)|MapTable|HashTable|Co(ndition|llectionView(Item)?)|T(oolbarItemGroup|extInputClient|r(eeNode|ackingArea))|InvocationOperation|Operation(Queue)?|D(ictionaryController|ockTile)|P(ointer(Functions|Array)|athC(o(ntrol(Delegate)?|mponentCell)|ell(Delegate)?)|r(intPanelAccessorizing|edicateEditor(RowTemplate)?))|ViewController|FastEnumeration|Animat(ionContext|ablePropertyContainer))\\b",
|
|
267
|
-
name: "support.class.cocoa.leopard.objc"
|
|
268
|
-
},
|
|
269
|
-
anonymous_pattern_21: {
|
|
270
|
-
match: "\\bNS(R(u(nLoop|ler(Marker|View))|e(sponder|cursiveLock|lativeSpecifier)|an(domSpecifier|geSpecifier))|G(etCommand|lyph(Generator|Storage|Info)|raphicsContext)|XML(Node|D(ocument|TD(Node)?)|Parser|Element)|M(iddleSpecifier|ov(ie(View)?|eCommand)|utable(S(tring|et)|C(haracterSet|opying)|IndexSet|D(ictionary|ata)|URLRequest|ParagraphStyle|A(ttributedString|rray))|e(ssagePort(NameServer)?|nu(Item(Cell)?|View)?|t(hodSignature|adata(Item|Query(ResultGroup|AttributeValueTuple)?)))|a(ch(BootstrapServer|Port)|trix))|B(itmapImageRep|ox|u(ndle|tton(Cell)?)|ezierPath|rowser(Cell)?)|S(hadow|c(anner|r(ipt(SuiteRegistry|C(o(ercionHandler|mmand(Description)?)|lassDescription)|ObjectSpecifier|ExecutionContext|WhoseTest)|oll(er|View)|een))|t(epper(Cell)?|atus(Bar|Item)|r(ing|eam))|imple(HorizontalTypesetter|CString)|o(cketPort(NameServer)?|und|rtDescriptor)|p(e(cifierTest|ech(Recognizer|Synthesizer)|ll(Server|Checker))|litView)|e(cureTextField(Cell)?|t(Command)?|archField(Cell)?|rializer|gmentedC(ontrol|ell))|lider(Cell)?|avePanel)|H(ost|TTP(Cookie(Storage)?|URLResponse)|elpManager)|N(ib(Con(nector|trolConnector)|OutletConnector)?|otification(Center|Queue)?|u(ll|mber(Formatter)?)|etService(Browser)?|ameSpecifier)|C(ha(ngeSpelling|racterSet)|o(n(stantString|nection|trol(ler)?|ditionLock)|d(ing|er)|unt(Command|edSet)|pying|lor(Space|P(ick(ing(Custom|Default)|er)|anel)|Well|List)?|m(p(oundPredicate|arisonPredicate)|boBox(Cell)?))|u(stomImageRep|rsor)|IImageRep|ell|l(ipView|o(seCommand|neCommand)|assDescription)|a(ched(ImageRep|URLResponse)|lendar(Date)?)|reateCommand)|T(hread|ypesetter|ime(Zone|r)|o(olbar(Item(Validations)?)?|kenField(Cell)?)|ext(Block|Storage|Container|Tab(le(Block)?)?|Input|View|Field(Cell)?|List|Attachment(Cell)?)?|a(sk|b(le(Header(Cell|View)|Column|View)|View(Item)?))|reeController)|I(n(dex(S(pecifier|et)|Path)|put(Manager|S(tream|erv(iceProvider|er(MouseTracker)?)))|vocation)|gnoreMisspelledWords|mage(Rep|Cell|View)?)|O(ut(putStream|lineView)|pen(GL(Context|Pixel(Buffer|Format)|View)|Panel)|bj(CTypeSerializationCallBack|ect(Controller)?))|D(i(st(antObject(Request)?|ributed(NotificationCenter|Lock))|ctionary|rectoryEnumerator)|ocument(Controller)?|e(serializer|cimalNumber(Behaviors|Handler)?|leteCommand)|at(e(Components|Picker(Cell)?|Formatter)?|a)|ra(wer|ggingInfo))|U(ser(InterfaceValidations|Defaults(Controller)?)|RL(Re(sponse|quest)|Handle(Client)?|C(onnection|ache|redential(Storage)?)|Download(Delegate)?|Prot(ocol(Client)?|ectionSpace)|AuthenticationChallenge(Sender)?)?|n(iqueIDSpecifier|doManager|archiver))|P(ipe|o(sitionalSpecifier|pUpButton(Cell)?|rt(Message|NameServer|Coder)?)|ICTImageRep|ersistentDocument|DFImageRep|a(steboard|nel|ragraphStyle|geLayout)|r(int(Info|er|Operation|Panel)|o(cessInfo|tocolChecker|perty(Specifier|ListSerialization)|gressIndicator|xy)|edicate))|E(numerator|vent|PSImageRep|rror|x(ception|istsCommand|pression))|V(iew(Animation)?|al(idated(ToobarItem|UserInterfaceItem)|ue(Transformer)?))|Keyed(Unarchiver|Archiver)|Qui(ckDrawView|tCommand)|F(ile(Manager|Handle|Wrapper)|o(nt(Manager|Descriptor|Panel)?|rm(Cell|atter)))|W(hoseSpecifier|indow(Controller)?|orkspace)|L(o(c(k(ing)?|ale)|gicalTest)|evelIndicator(Cell)?|ayoutManager)|A(ssertionHandler|nimation|ctionCell|ttributedString|utoreleasePool|TSTypesetter|ppl(ication|e(Script|Event(Manager|Descriptor)))|ffineTransform|lert|r(chiver|ray(Controller)?)))\\b",
|
|
271
|
-
name: "support.class.cocoa.objc"
|
|
272
|
-
},
|
|
273
|
-
anonymous_pattern_22: {
|
|
274
|
-
match: "\\bNS(R(oundingMode|ule(Editor(RowType|NestingMode)|rOrientation)|e(questUserAttentionType|lativePosition))|G(lyphInscription|radientDrawingOptions)|XML(NodeKind|D(ocumentContentKind|TDNodeKind)|ParserError)|M(ultibyteGlyphPacking|apTableOptions)|B(itmapFormat|oxType|ezierPathElement|ackgroundStyle|rowserDropOperation)|S(tr(ing(CompareOptions|DrawingOptions|EncodingConversionOptions)|eam(Status|Event))|p(eechBoundary|litViewDividerStyle)|e(archPathD(irectory|omainMask)|gmentS(tyle|witchTracking))|liderType|aveOptions)|H(TTPCookieAcceptPolicy|ashTableOptions)|N(otification(SuspensionBehavior|Coalescing)|umberFormatter(RoundingMode|Behavior|Style|PadPosition)|etService(sError|Options))|C(haracterCollection|o(lor(RenderingIntent|SpaceModel|PanelMode)|mp(oundPredicateType|arisonPredicateModifier))|ellStateValue|al(culationError|endarUnit))|T(ypesetterControlCharacterAction|imeZoneNameStyle|e(stComparisonOperation|xt(Block(Dimension|V(erticalAlignment|alueType)|Layer)|TableLayoutAlgorithm|FieldBezelStyle))|ableView(SelectionHighlightStyle|ColumnAutoresizingStyle)|rackingAreaOptions)|I(n(sertionPosition|te(rfaceStyle|ger))|mage(RepLoadStatus|Scaling|CacheMode|FrameStyle|LoadStatus|Alignment))|Ope(nGLPixelFormatAttribute|rationQueuePriority)|Date(Picker(Mode|Style)|Formatter(Behavior|Style))|U(RL(RequestCachePolicy|HandleStatus|C(acheStoragePolicy|redentialPersistence))|Integer)|P(o(stingStyle|int(ingDeviceType|erFunctionsOptions)|pUpArrowPosition)|athStyle|r(int(ing(Orientation|PaginationMode)|erTableStatus|PanelOptions)|opertyList(MutabilityOptions|Format)|edicateOperatorType))|ExpressionType|KeyValue(SetMutationKind|Change)|QTMovieLoopMode|F(indPanel(SubstringMatchType|Action)|o(nt(RenderingMode|FamilyClass)|cusRingPlacement))|W(hoseSubelementIdentifier|ind(ingRule|ow(B(utton|ackingLocation)|SharingType|CollectionBehavior)))|L(ine(MovementDirection|SweepDirection|CapStyle|JoinStyle)|evelIndicatorStyle)|Animation(BlockingMode|Curve))\\b",
|
|
275
|
-
name: "support.type.cocoa.leopard.objc"
|
|
276
|
-
},
|
|
277
|
-
anonymous_pattern_23: {
|
|
278
|
-
match: "\\bC(I(Sampler|Co(ntext|lor)|Image(Accumulator)?|PlugIn(Registration)?|Vector|Kernel|Filter(Generator|Shape)?)|A(Renderer|MediaTiming(Function)?|BasicAnimation|ScrollLayer|Constraint(LayoutManager)?|T(iledLayer|extLayer|rans(ition|action))|OpenGLLayer|PropertyAnimation|KeyframeAnimation|Layer|A(nimation(Group)?|ction)))\\b",
|
|
279
|
-
name: "support.class.quartz.objc"
|
|
280
|
-
},
|
|
281
|
-
anonymous_pattern_24: {
|
|
282
|
-
match: "\\bC(G(Float|Point|Size|Rect)|IFormat|AConstraintAttribute)\\b",
|
|
283
|
-
name: "support.type.quartz.objc"
|
|
284
|
-
},
|
|
285
|
-
anonymous_pattern_25: {
|
|
286
|
-
match: "\\bNS(R(ect(Edge)?|ange)|G(lyph(Relation|LayoutMode)?|radientType)|M(odalSession|a(trixMode|p(Table|Enumerator)))|B(itmapImageFileType|orderType|uttonType|ezelStyle|ackingStoreType|rowserColumnResizingType)|S(cr(oll(er(Part|Arrow)|ArrowPosition)|eenAuxiliaryOpaque)|tringEncoding|ize|ocketNativeHandle|election(Granularity|Direction|Affinity)|wapped(Double|Float)|aveOperationType)|Ha(sh(Table|Enumerator)|ndler(2)?)|C(o(ntrol(Size|Tint)|mp(ositingOperation|arisonResult))|ell(State|Type|ImagePosition|Attribute))|T(hreadPrivate|ypesetterGlyphInfo|i(ckMarkPosition|tlePosition|meInterval)|o(ol(TipTag|bar(SizeMode|DisplayMode))|kenStyle)|IFFCompression|ext(TabType|Alignment)|ab(State|leViewDropOperation|ViewType)|rackingRectTag)|ImageInterpolation|Zone|OpenGL(ContextAuxiliary|PixelFormatAuxiliary)|D(ocumentChangeType|atePickerElementFlags|ra(werState|gOperation))|UsableScrollerParts|P(oint|r(intingPageOrder|ogressIndicator(Style|Th(ickness|readInfo))))|EventType|KeyValueObservingOptions|Fo(nt(SymbolicTraits|TraitMask|Action)|cusRingType)|W(indow(OrderingMode|Depth)|orkspace(IconCreationOptions|LaunchOptions)|ritingDirection)|L(ineBreakMode|ayout(Status|Direction))|A(nimation(Progress|Effect)|ppl(ication(TerminateReply|DelegateReply|PrintReply)|eEventManagerSuspensionID)|ffineTransformStruct|lertStyle))\\b",
|
|
287
|
-
name: "support.type.cocoa.objc"
|
|
288
|
-
},
|
|
289
|
-
anonymous_pattern_26: {
|
|
290
|
-
match: "\\bNS(NotFound|Ordered(Ascending|Descending|Same))\\b",
|
|
291
|
-
name: "support.constant.cocoa.objc"
|
|
292
|
-
},
|
|
293
|
-
anonymous_pattern_27: {
|
|
294
|
-
match: "\\bNS(MenuDidBeginTracking|ViewDidUpdateTrackingAreas)?Notification\\b",
|
|
295
|
-
name: "support.constant.notification.cocoa.leopard.objc"
|
|
296
|
-
},
|
|
297
|
-
anonymous_pattern_28: {
|
|
298
|
-
match: "\\bNS(Menu(Did(RemoveItem|SendAction|ChangeItem|EndTracking|AddItem)|WillSendAction)|S(ystemColorsDidChange|plitView(DidResizeSubviews|WillResizeSubviews))|C(o(nt(extHelpModeDid(Deactivate|Activate)|rolT(intDidChange|extDid(BeginEditing|Change|EndEditing)))|lor(PanelColorDidChange|ListDidChange)|mboBox(Selection(IsChanging|DidChange)|Will(Dismiss|PopUp)))|lassDescriptionNeededForClass)|T(oolbar(DidRemoveItem|WillAddItem)|ext(Storage(DidProcessEditing|WillProcessEditing)|Did(BeginEditing|Change|EndEditing)|View(DidChange(Selection|TypingAttributes)|WillChangeNotifyingTextView))|ableView(Selection(IsChanging|DidChange)|ColumnDid(Resize|Move)))|ImageRepRegistryDidChange|OutlineView(Selection(IsChanging|DidChange)|ColumnDid(Resize|Move)|Item(Did(Collapse|Expand)|Will(Collapse|Expand)))|Drawer(Did(Close|Open)|Will(Close|Open))|PopUpButton(CellWillPopUp|WillPopUp)|View(GlobalFrameDidChange|BoundsDidChange|F(ocusDidChange|rameDidChange))|FontSetChanged|W(indow(Did(Resi(ze|gn(Main|Key))|M(iniaturize|ove)|Become(Main|Key)|ChangeScreen(|Profile)|Deminiaturize|Update|E(ndSheet|xpose))|Will(M(iniaturize|ove)|BeginSheet|Close))|orkspace(SessionDid(ResignActive|BecomeActive)|Did(Mount|TerminateApplication|Unmount|PerformFileOperation|Wake|LaunchApplication)|Will(Sleep|Unmount|PowerOff|LaunchApplication)))|A(ntialiasThresholdChanged|ppl(ication(Did(ResignActive|BecomeActive|Hide|ChangeScreenParameters|U(nhide|pdate)|FinishLaunching)|Will(ResignActive|BecomeActive|Hide|Terminate|U(nhide|pdate)|FinishLaunching))|eEventManagerWillProcessFirstEvent)))Notification\\b",
|
|
299
|
-
name: "support.constant.notification.cocoa.objc"
|
|
300
|
-
},
|
|
301
|
-
anonymous_pattern_29: {
|
|
302
|
-
match: "\\bNS(RuleEditor(RowType(Simple|Compound)|NestingMode(Si(ngle|mple)|Compound|List))|GradientDraws(BeforeStartingLocation|AfterEndingLocation)|M(inusSetExpressionType|a(chPortDeallocate(ReceiveRight|SendRight|None)|pTable(StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality)))|B(oxCustom|undleExecutableArchitecture(X86|I386|PPC(64)?)|etweenPredicateOperatorType|ackgroundStyle(Raised|Dark|L(ight|owered)))|S(tring(DrawingTruncatesLastVisibleLine|EncodingConversion(ExternalRepresentation|AllowLossy))|ubqueryExpressionType|p(e(ech(SentenceBoundary|ImmediateBoundary|WordBoundary)|llingState(GrammarFlag|SpellingFlag))|litViewDividerStyleThi(n|ck))|e(rvice(RequestTimedOutError|M(iscellaneousError|alformedServiceDictionaryError)|InvalidPasteboardDataError|ErrorM(inimum|aximum)|Application(NotFoundError|LaunchFailedError))|gmentStyle(Round(Rect|ed)|SmallSquare|Capsule|Textured(Rounded|Square)|Automatic)))|H(UDWindowMask|ashTable(StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality))|N(oModeColorPanel|etServiceNoAutoRename)|C(hangeRedone|o(ntainsPredicateOperatorType|l(orRenderingIntent(RelativeColorimetric|Saturation|Default|Perceptual|AbsoluteColorimetric)|lectorDisabledOption))|ellHit(None|ContentArea|TrackableArea|EditableTextArea))|T(imeZoneNameStyle(S(hort(Standard|DaylightSaving)|tandard)|DaylightSaving)|extFieldDatePickerStyle|ableViewSelectionHighlightStyle(Regular|SourceList)|racking(Mouse(Moved|EnteredAndExited)|CursorUpdate|InVisibleRect|EnabledDuringMouseDrag|A(ssumeInside|ctive(In(KeyWindow|ActiveApp)|WhenFirstResponder|Always))))|I(n(tersectSetExpressionType|dexedColorSpaceModel)|mageScale(None|Proportionally(Down|UpOrDown)|AxesIndependently))|Ope(nGLPFAAllowOfflineRenderers|rationQueue(DefaultMaxConcurrentOperationCount|Priority(High|Normal|Very(High|Low)|Low)))|D(iacriticInsensitiveSearch|ownloadsDirectory)|U(nionSetExpressionType|TF(16(BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)|32(BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)))|P(ointerFunctions(Ma(chVirtualMemory|llocMemory)|Str(ongMemory|uctPersonality)|C(StringPersonality|opyIn)|IntegerPersonality|ZeroingWeakMemory|O(paque(Memory|Personality)|bjectP(ointerPersonality|ersonality)))|at(hStyle(Standard|NavigationBar|PopUp)|ternColorSpaceModel)|rintPanelShows(Scaling|Copies|Orientation|P(a(perSize|ge(Range|SetupAccessory))|review)))|Executable(RuntimeMismatchError|NotLoadableError|ErrorM(inimum|aximum)|L(inkError|oadError)|ArchitectureMismatchError)|KeyValueObservingOption(Initial|Prior)|F(i(ndPanelSubstringMatchType(StartsWith|Contains|EndsWith|FullWord)|leRead(TooLargeError|UnknownStringEncodingError))|orcedOrderingSearch)|Wi(ndow(BackingLocation(MainMemory|Default|VideoMemory)|Sharing(Read(Only|Write)|None)|CollectionBehavior(MoveToActiveSpace|CanJoinAllSpaces|Default))|dthInsensitiveSearch)|AggregateExpressionType)\\b",
|
|
303
|
-
name: "support.constant.cocoa.leopard.objc"
|
|
304
|
-
},
|
|
305
|
-
anonymous_pattern_3: {
|
|
306
|
-
begin: "@\"",
|
|
307
|
-
beginCaptures: {
|
|
308
|
-
"0": {
|
|
309
|
-
name: "punctuation.definition.string.begin.objc"
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
end: "\"",
|
|
313
|
-
endCaptures: {
|
|
314
|
-
"0": {
|
|
315
|
-
name: "punctuation.definition.string.end.objc"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
name: "string.quoted.double.objc",
|
|
319
|
-
patterns: [
|
|
320
|
-
{
|
|
321
|
-
include: "#string_escaped_char"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
match: "(?x)%\n\t\t\t\t\t\t(\\d+\\$)? # field (argument #)\n\t\t\t\t\t\t[#0\\- +']* # flags\n\t\t\t\t\t\t((-?\\d+)|\\*(-?\\d+\\$)?)? # minimum field width\n\t\t\t\t\t\t(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? # precision\n\t\t\t\t\t\t[@] # conversion type\n\t\t\t\t\t",
|
|
325
|
-
name: "constant.other.placeholder.objc"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
include: "#string_placeholder"
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
},
|
|
332
|
-
anonymous_pattern_30: {
|
|
333
|
-
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",
|
|
334
|
-
name: "support.constant.cocoa.objc"
|
|
335
|
-
},
|
|
336
|
-
anonymous_pattern_4: {
|
|
337
|
-
begin: "\\b(id)\\s*(?=<)",
|
|
338
|
-
beginCaptures: {
|
|
339
|
-
"1": {
|
|
340
|
-
name: "storage.type.objc"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
end: "(?<=>)",
|
|
344
|
-
name: "meta.id-with-protocol.objc",
|
|
345
|
-
patterns: [
|
|
346
|
-
{
|
|
347
|
-
include: "#protocol_list"
|
|
348
|
-
}
|
|
349
|
-
]
|
|
350
|
-
},
|
|
351
|
-
anonymous_pattern_5: {
|
|
352
|
-
match: "\\b(NS_DURING|NS_HANDLER|NS_ENDHANDLER)\\b",
|
|
353
|
-
name: "keyword.control.macro.objc"
|
|
354
|
-
},
|
|
355
|
-
anonymous_pattern_7: {
|
|
356
|
-
captures: {
|
|
357
|
-
"1": {
|
|
358
|
-
name: "punctuation.definition.keyword.objc"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
match: "(@)(try|catch|finally|throw)\\b",
|
|
362
|
-
name: "keyword.control.exception.objc"
|
|
363
|
-
},
|
|
364
|
-
anonymous_pattern_8: {
|
|
365
|
-
captures: {
|
|
366
|
-
"1": {
|
|
367
|
-
name: "punctuation.definition.keyword.objc"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
match: "(@)(synchronized)\\b",
|
|
371
|
-
name: "keyword.control.synchronize.objc"
|
|
372
|
-
},
|
|
373
|
-
anonymous_pattern_9: {
|
|
374
|
-
captures: {
|
|
375
|
-
"1": {
|
|
376
|
-
name: "punctuation.definition.keyword.objc"
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
match: "(@)(required|optional)\\b",
|
|
380
|
-
name: "keyword.control.protocol-specification.objc"
|
|
381
|
-
},
|
|
382
|
-
apple_foundation_functional_macros: {
|
|
383
|
-
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)+)?(\\()",
|
|
384
|
-
end: "\\)",
|
|
385
|
-
beginCaptures: {
|
|
386
|
-
"1": {
|
|
387
|
-
name: "entity.name.function.preprocessor.apple-foundation.objc"
|
|
388
|
-
},
|
|
389
|
-
"2": {
|
|
390
|
-
name: "punctuation.section.macro.arguments.begin.bracket.round.apple-foundation.objc"
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
endCaptures: {
|
|
394
|
-
"0": {
|
|
395
|
-
name: "punctuation.section.macro.arguments.end.bracket.round.apple-foundation.objc"
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
name: "meta.preprocessor.macro.callable.apple-foundation.objc",
|
|
399
|
-
patterns: [
|
|
400
|
-
{
|
|
401
|
-
include: "#c_lang"
|
|
402
|
-
}
|
|
403
|
-
]
|
|
404
|
-
},
|
|
405
|
-
bracketed_content: {
|
|
406
|
-
begin: "\\[",
|
|
407
|
-
beginCaptures: {
|
|
408
|
-
"0": {
|
|
409
|
-
name: "punctuation.section.scope.begin.objc"
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
end: "\\]",
|
|
413
|
-
endCaptures: {
|
|
414
|
-
"0": {
|
|
415
|
-
name: "punctuation.section.scope.end.objc"
|
|
416
|
-
}
|
|
417
|
-
},
|
|
418
|
-
name: "meta.bracketed.objc",
|
|
419
|
-
patterns: [
|
|
420
|
-
{
|
|
421
|
-
begin: "(?=predicateWithFormat:)(?<=NSPredicate )(predicateWithFormat:)",
|
|
422
|
-
beginCaptures: {
|
|
423
|
-
"1": {
|
|
424
|
-
name: "support.function.any-method.objc"
|
|
425
|
-
},
|
|
426
|
-
"2": {
|
|
427
|
-
name: "punctuation.separator.arguments.objc"
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
end: "(?=\\])",
|
|
431
|
-
name: "meta.function-call.predicate.objc",
|
|
432
|
-
patterns: [
|
|
433
|
-
{
|
|
434
|
-
captures: {
|
|
435
|
-
"1": {
|
|
436
|
-
name: "punctuation.separator.arguments.objc"
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
match: "\\bargument(Array|s)(:)",
|
|
440
|
-
name: "support.function.any-method.name-of-parameter.objc"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
captures: {
|
|
444
|
-
"1": {
|
|
445
|
-
name: "punctuation.separator.arguments.objc"
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
match: "\\b\\w+(:)",
|
|
449
|
-
name: "invalid.illegal.unknown-method.objc"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
begin: "@\"",
|
|
453
|
-
beginCaptures: {
|
|
454
|
-
"0": {
|
|
455
|
-
name: "punctuation.definition.string.begin.objc"
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
end: "\"",
|
|
459
|
-
endCaptures: {
|
|
460
|
-
"0": {
|
|
461
|
-
name: "punctuation.definition.string.end.objc"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
name: "string.quoted.double.objc",
|
|
465
|
-
patterns: [
|
|
466
|
-
{
|
|
467
|
-
match: "\\b(AND|OR|NOT|IN)\\b",
|
|
468
|
-
name: "keyword.operator.logical.predicate.cocoa.objc"
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
match: "\\b(ALL|ANY|SOME|NONE)\\b",
|
|
472
|
-
name: "constant.language.predicate.cocoa.objc"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
match: "\\b(NULL|NIL|SELF|TRUE|YES|FALSE|NO|FIRST|LAST|SIZE)\\b",
|
|
476
|
-
name: "constant.language.predicate.cocoa.objc"
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
match: "\\b(MATCHES|CONTAINS|BEGINSWITH|ENDSWITH|BETWEEN)\\b",
|
|
480
|
-
name: "keyword.operator.comparison.predicate.cocoa.objc"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
match: "\\bC(ASEINSENSITIVE|I)\\b",
|
|
484
|
-
name: "keyword.other.modifier.predicate.cocoa.objc"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
match: "\\b(ANYKEY|SUBQUERY|CAST|TRUEPREDICATE|FALSEPREDICATE)\\b",
|
|
488
|
-
name: "keyword.other.predicate.cocoa.objc"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
match: "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
|
|
492
|
-
name: "constant.character.escape.objc"
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
match: "\\\\.",
|
|
496
|
-
name: "invalid.illegal.unknown-escape.objc"
|
|
497
|
-
}
|
|
498
|
-
]
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
include: "#special_variables"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
include: "#c_functions"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
include: "$base"
|
|
508
|
-
}
|
|
509
|
-
]
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
begin: "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(?=\\])))",
|
|
513
|
-
beginCaptures: {
|
|
514
|
-
"1": {
|
|
515
|
-
name: "support.function.any-method.objc"
|
|
516
|
-
},
|
|
517
|
-
"2": {
|
|
518
|
-
name: "punctuation.separator.arguments.objc"
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
end: "(?=\\])",
|
|
522
|
-
name: "meta.function-call.objc",
|
|
523
|
-
patterns: [
|
|
524
|
-
{
|
|
525
|
-
captures: {
|
|
526
|
-
"1": {
|
|
527
|
-
name: "punctuation.separator.arguments.objc"
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
match: "\\b\\w+(:)",
|
|
531
|
-
name: "support.function.any-method.name-of-parameter.objc"
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
include: "#special_variables"
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
include: "#c_functions"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
include: "$base"
|
|
541
|
-
}
|
|
542
|
-
]
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
include: "#special_variables"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
include: "#c_functions"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
include: "$self"
|
|
552
|
-
}
|
|
553
|
-
]
|
|
554
|
-
},
|
|
555
|
-
c_functions: {
|
|
556
|
-
patterns: [
|
|
557
|
-
{
|
|
558
|
-
captures: {
|
|
559
|
-
"1": {
|
|
560
|
-
name: "punctuation.whitespace.support.function.leading.objc"
|
|
561
|
-
},
|
|
562
|
-
"2": {
|
|
563
|
-
name: "support.function.C99.objc"
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
match: "(\\s*)\\b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|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)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|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(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|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(f|l)?|p(classify|ut(s|c|w(s|c))|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(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|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)|k|f|l(d|l)?|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(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b"
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
captures: {
|
|
570
|
-
"1": {
|
|
571
|
-
name: "punctuation.whitespace.function-call.leading.objc"
|
|
572
|
-
},
|
|
573
|
-
"2": {
|
|
574
|
-
name: "support.function.any-method.objc"
|
|
575
|
-
},
|
|
576
|
-
"3": {
|
|
577
|
-
name: "punctuation.definition.parameters.objc"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
match: "(?x) (?: (?= \\s ) (?:(?<=else|new|return) | (?<!\\w)) (\\s+))?\n \t\t\t(\\b \n \t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n \t\t\t)\n \t\t\t \\s*(\\()",
|
|
581
|
-
name: "meta.function-call.objc"
|
|
582
|
-
}
|
|
583
|
-
]
|
|
584
|
-
},
|
|
585
|
-
c_lang: {
|
|
586
|
-
patterns: [
|
|
587
|
-
{
|
|
588
|
-
include: "#preprocessor-rule-enabled"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
include: "#preprocessor-rule-disabled"
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
include: "#preprocessor-rule-conditional"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
include: "#comments"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
include: "#switch_statement"
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
match: "\\b(break|continue|do|else|for|goto|if|_Pragma|return|while)\\b",
|
|
604
|
-
name: "keyword.control.objc"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
include: "#storage_types"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
match: "typedef",
|
|
611
|
-
name: "keyword.other.typedef.objc"
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
match: "\\bin\\b",
|
|
615
|
-
name: "keyword.other.in.objc"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
match: "\\b(const|extern|register|restrict|static|volatile|inline|__block)\\b",
|
|
619
|
-
name: "storage.modifier.objc"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
match: "\\bk[A-Z]\\w*\\b",
|
|
623
|
-
name: "constant.other.variable.mac-classic.objc"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
match: "\\bg[A-Z]\\w*\\b",
|
|
627
|
-
name: "variable.other.readwrite.global.mac-classic.objc"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
match: "\\bs[A-Z]\\w*\\b",
|
|
631
|
-
name: "variable.other.readwrite.static.mac-classic.objc"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
match: "\\b(NULL|true|false|TRUE|FALSE)\\b",
|
|
635
|
-
name: "constant.language.objc"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
include: "#operators"
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
include: "#numbers"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
include: "#strings"
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
include: "#special_variables"
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
begin: "(?x)\n^\\s* ((\\#)\\s*define) \\s+\t# define\n((?<id>[a-zA-Z_$][\\w$]*))\t # macro name\n(?:\n (\\()\n\t(\n\t \\s* \\g<id> \\s*\t\t # first argument\n\t ((,) \\s* \\g<id> \\s*)* # additional arguments\n\t (?:\\.\\.\\.)?\t\t\t# varargs ellipsis?\n\t)\n (\\))\n)?",
|
|
651
|
-
beginCaptures: {
|
|
652
|
-
"1": {
|
|
653
|
-
name: "keyword.control.directive.define.objc"
|
|
654
|
-
},
|
|
655
|
-
"2": {
|
|
656
|
-
name: "punctuation.definition.directive.objc"
|
|
657
|
-
},
|
|
658
|
-
"3": {
|
|
659
|
-
name: "entity.name.function.preprocessor.objc"
|
|
660
|
-
},
|
|
661
|
-
"5": {
|
|
662
|
-
name: "punctuation.definition.parameters.begin.objc"
|
|
663
|
-
},
|
|
664
|
-
"6": {
|
|
665
|
-
name: "variable.parameter.preprocessor.objc"
|
|
666
|
-
},
|
|
667
|
-
"8": {
|
|
668
|
-
name: "punctuation.separator.parameters.objc"
|
|
669
|
-
},
|
|
670
|
-
"9": {
|
|
671
|
-
name: "punctuation.definition.parameters.end.objc"
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
end: "(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",
|
|
675
|
-
name: "meta.preprocessor.macro.objc",
|
|
676
|
-
patterns: [
|
|
677
|
-
{
|
|
678
|
-
include: "#preprocessor-rule-define-line-contents"
|
|
679
|
-
}
|
|
680
|
-
]
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
begin: "^\\s*((#)\\s*(error|warning))\\b\\s*",
|
|
684
|
-
beginCaptures: {
|
|
685
|
-
"1": {
|
|
686
|
-
name: "keyword.control.directive.diagnostic.$3.objc"
|
|
687
|
-
},
|
|
688
|
-
"2": {
|
|
689
|
-
name: "punctuation.definition.directive.objc"
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
end: "(?<!\\\\)(?=\\n)",
|
|
693
|
-
name: "meta.preprocessor.diagnostic.objc",
|
|
694
|
-
patterns: [
|
|
695
|
-
{
|
|
696
|
-
begin: "\"",
|
|
697
|
-
beginCaptures: {
|
|
698
|
-
"0": {
|
|
699
|
-
name: "punctuation.definition.string.begin.objc"
|
|
700
|
-
}
|
|
701
|
-
},
|
|
702
|
-
end: "\"|(?<!\\\\)(?=\\s*\\n)",
|
|
703
|
-
endCaptures: {
|
|
704
|
-
"0": {
|
|
705
|
-
name: "punctuation.definition.string.end.objc"
|
|
706
|
-
}
|
|
707
|
-
},
|
|
708
|
-
name: "string.quoted.double.objc",
|
|
709
|
-
patterns: [
|
|
710
|
-
{
|
|
711
|
-
include: "#line_continuation_character"
|
|
712
|
-
}
|
|
713
|
-
]
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
begin: "'",
|
|
717
|
-
beginCaptures: {
|
|
718
|
-
"0": {
|
|
719
|
-
name: "punctuation.definition.string.begin.objc"
|
|
720
|
-
}
|
|
721
|
-
},
|
|
722
|
-
end: "'|(?<!\\\\)(?=\\s*\\n)",
|
|
723
|
-
endCaptures: {
|
|
724
|
-
"0": {
|
|
725
|
-
name: "punctuation.definition.string.end.objc"
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
name: "string.quoted.single.objc",
|
|
729
|
-
patterns: [
|
|
730
|
-
{
|
|
731
|
-
include: "#line_continuation_character"
|
|
732
|
-
}
|
|
733
|
-
]
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
begin: "[^'\"]",
|
|
737
|
-
end: "(?<!\\\\)(?=\\s*\\n)",
|
|
738
|
-
name: "string.unquoted.single.objc",
|
|
739
|
-
patterns: [
|
|
740
|
-
{
|
|
741
|
-
include: "#line_continuation_character"
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
include: "#comments"
|
|
745
|
-
}
|
|
746
|
-
]
|
|
747
|
-
}
|
|
748
|
-
]
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
begin: "^\\s*((#)\\s*(include(?:_next)?|import))\\b\\s*",
|
|
752
|
-
beginCaptures: {
|
|
753
|
-
"1": {
|
|
754
|
-
name: "keyword.control.directive.$3.objc"
|
|
755
|
-
},
|
|
756
|
-
"2": {
|
|
757
|
-
name: "punctuation.definition.directive.objc"
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
end: "(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",
|
|
761
|
-
name: "meta.preprocessor.include.objc",
|
|
762
|
-
patterns: [
|
|
763
|
-
{
|
|
764
|
-
include: "#line_continuation_character"
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
begin: "\"",
|
|
768
|
-
beginCaptures: {
|
|
769
|
-
"0": {
|
|
770
|
-
name: "punctuation.definition.string.begin.objc"
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
end: "\"",
|
|
774
|
-
endCaptures: {
|
|
775
|
-
"0": {
|
|
776
|
-
name: "punctuation.definition.string.end.objc"
|
|
777
|
-
}
|
|
778
|
-
},
|
|
779
|
-
name: "string.quoted.double.include.objc"
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
begin: "<",
|
|
783
|
-
beginCaptures: {
|
|
784
|
-
"0": {
|
|
785
|
-
name: "punctuation.definition.string.begin.objc"
|
|
786
|
-
}
|
|
787
|
-
},
|
|
788
|
-
end: ">",
|
|
789
|
-
endCaptures: {
|
|
790
|
-
"0": {
|
|
791
|
-
name: "punctuation.definition.string.end.objc"
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
name: "string.quoted.other.lt-gt.include.objc"
|
|
795
|
-
}
|
|
796
|
-
]
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
include: "#pragma-mark"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
begin: "^\\s*((#)\\s*line)\\b",
|
|
803
|
-
beginCaptures: {
|
|
804
|
-
"1": {
|
|
805
|
-
name: "keyword.control.directive.line.objc"
|
|
806
|
-
},
|
|
807
|
-
"2": {
|
|
808
|
-
name: "punctuation.definition.directive.objc"
|
|
809
|
-
}
|
|
810
|
-
},
|
|
811
|
-
end: "(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",
|
|
812
|
-
name: "meta.preprocessor.objc",
|
|
813
|
-
patterns: [
|
|
814
|
-
{
|
|
815
|
-
include: "#strings"
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
include: "#numbers"
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
include: "#line_continuation_character"
|
|
822
|
-
}
|
|
823
|
-
]
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
begin: "^\\s*(?:((#)\\s*undef))\\b",
|
|
827
|
-
beginCaptures: {
|
|
828
|
-
"1": {
|
|
829
|
-
name: "keyword.control.directive.undef.objc"
|
|
830
|
-
},
|
|
831
|
-
"2": {
|
|
832
|
-
name: "punctuation.definition.directive.objc"
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
end: "(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",
|
|
836
|
-
name: "meta.preprocessor.objc",
|
|
837
|
-
patterns: [
|
|
838
|
-
{
|
|
839
|
-
match: "[a-zA-Z_$][\\w$]*",
|
|
840
|
-
name: "entity.name.function.preprocessor.objc"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
include: "#line_continuation_character"
|
|
844
|
-
}
|
|
845
|
-
]
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
begin: "^\\s*(?:((#)\\s*pragma))\\b",
|
|
849
|
-
beginCaptures: {
|
|
850
|
-
"1": {
|
|
851
|
-
name: "keyword.control.directive.pragma.objc"
|
|
852
|
-
},
|
|
853
|
-
"2": {
|
|
854
|
-
name: "punctuation.definition.directive.objc"
|
|
855
|
-
}
|
|
856
|
-
},
|
|
857
|
-
end: "(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",
|
|
858
|
-
name: "meta.preprocessor.pragma.objc",
|
|
859
|
-
patterns: [
|
|
860
|
-
{
|
|
861
|
-
include: "#strings"
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
match: "[a-zA-Z_$][\\w\\-$]*",
|
|
865
|
-
name: "entity.other.attribute-name.pragma.preprocessor.objc"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
include: "#numbers"
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
include: "#line_continuation_character"
|
|
872
|
-
}
|
|
873
|
-
]
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
match: "\\b(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)\\b",
|
|
877
|
-
name: "support.type.sys-types.objc"
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
match: "\\b(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)\\b",
|
|
881
|
-
name: "support.type.pthread.objc"
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
match: "(?x) \\b\n(int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t\n|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t\n|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t\n|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t\n|uintmax_t|uintmax_t)\n\\b",
|
|
885
|
-
name: "support.type.stdint.objc"
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
match: "\\b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\\b",
|
|
889
|
-
name: "support.constant.mac-classic.objc"
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
match: "(?x) \\b\n(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam\n|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr\n|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber\n|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64\n|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32\n|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr\n|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\n\\b",
|
|
893
|
-
name: "support.type.mac-classic.objc"
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
match: "\\b([A-Za-z0-9_]+_t)\\b",
|
|
897
|
-
name: "support.type.posix-reserved.objc"
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
include: "#block"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
include: "#parens"
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
name: "meta.function.objc",
|
|
907
|
-
begin: "(?<!\\w)(?!\\s*(?:not|compl|sizeof|not_eq|bitand|xor|bitor|and|or|and_eq|xor_eq|or_eq|alignof|alignas|_Alignof|_Alignas|while|for|do|if|else|goto|switch|return|break|case|continue|default|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|NULL|true|false|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|struct|union|enum|typedef|auto|register|static|extern|thread_local|inline|_Noreturn|const|volatile|restrict|_Atomic)\\s*\\()(?=[a-zA-Z_]\\w*\\s*\\()",
|
|
908
|
-
end: "(?<=\\))",
|
|
909
|
-
patterns: [
|
|
910
|
-
{
|
|
911
|
-
include: "#function-innards"
|
|
912
|
-
}
|
|
913
|
-
]
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
include: "#line_continuation_character"
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
name: "meta.bracket.square.access.objc",
|
|
920
|
-
begin: "([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]\\)]))?(\\[)(?!\\])",
|
|
921
|
-
beginCaptures: {
|
|
922
|
-
"1": {
|
|
923
|
-
name: "variable.object.objc"
|
|
924
|
-
},
|
|
925
|
-
"2": {
|
|
926
|
-
name: "punctuation.definition.begin.bracket.square.objc"
|
|
927
|
-
}
|
|
928
|
-
},
|
|
929
|
-
end: "\\]",
|
|
930
|
-
endCaptures: {
|
|
931
|
-
"0": {
|
|
932
|
-
name: "punctuation.definition.end.bracket.square.objc"
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
patterns: [
|
|
936
|
-
{
|
|
937
|
-
include: "#function-call-innards"
|
|
938
|
-
}
|
|
939
|
-
]
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
name: "storage.modifier.array.bracket.square.objc",
|
|
943
|
-
match: "\\[\\s*\\]"
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
match: ";",
|
|
947
|
-
name: "punctuation.terminator.statement.objc"
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
match: ",",
|
|
951
|
-
name: "punctuation.separator.delimiter.objc"
|
|
952
|
-
}
|
|
953
|
-
],
|
|
954
|
-
repository: {
|
|
955
|
-
probably_a_parameter: {
|
|
956
|
-
match: "(?<=(?:[a-zA-Z_0-9] |[&*>\\]\\)]))\\s*([a-zA-Z_]\\w*)\\s*(?=(?:\\[\\]\\s*)?(?:,|\\)))",
|
|
957
|
-
captures: {
|
|
958
|
-
"1": {
|
|
959
|
-
name: "variable.parameter.probably.objc"
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
"access-method": {
|
|
964
|
-
name: "meta.function-call.member.objc",
|
|
965
|
-
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]*)(\\()",
|
|
966
|
-
beginCaptures: {
|
|
967
|
-
"1": {
|
|
968
|
-
name: "variable.object.objc"
|
|
969
|
-
},
|
|
970
|
-
"2": {
|
|
971
|
-
name: "punctuation.separator.dot-access.objc"
|
|
972
|
-
},
|
|
973
|
-
"3": {
|
|
974
|
-
name: "punctuation.separator.pointer-access.objc"
|
|
975
|
-
},
|
|
976
|
-
"4": {
|
|
977
|
-
patterns: [
|
|
978
|
-
{
|
|
979
|
-
match: "\\.",
|
|
980
|
-
name: "punctuation.separator.dot-access.objc"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
match: "->",
|
|
984
|
-
name: "punctuation.separator.pointer-access.objc"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
match: "[a-zA-Z_][a-zA-Z_0-9]*",
|
|
988
|
-
name: "variable.object.objc"
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
name: "everything.else.objc",
|
|
992
|
-
match: ".+"
|
|
993
|
-
}
|
|
994
|
-
]
|
|
995
|
-
},
|
|
996
|
-
"5": {
|
|
997
|
-
name: "entity.name.function.member.objc"
|
|
998
|
-
},
|
|
999
|
-
"6": {
|
|
1000
|
-
name: "punctuation.section.arguments.begin.bracket.round.function.member.objc"
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
|
-
end: "\\)",
|
|
1004
|
-
endCaptures: {
|
|
1005
|
-
"0": {
|
|
1006
|
-
name: "punctuation.section.arguments.end.bracket.round.function.member.objc"
|
|
1007
|
-
}
|
|
1008
|
-
},
|
|
1009
|
-
patterns: [
|
|
1010
|
-
{
|
|
1011
|
-
include: "#function-call-innards"
|
|
1012
|
-
}
|
|
1013
|
-
]
|
|
1014
|
-
},
|
|
1015
|
-
block: {
|
|
1016
|
-
patterns: [
|
|
1017
|
-
{
|
|
1018
|
-
begin: "{",
|
|
1019
|
-
beginCaptures: {
|
|
1020
|
-
"0": {
|
|
1021
|
-
name: "punctuation.section.block.begin.bracket.curly.objc"
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
end: "}|(?=\\s*#\\s*(?:elif|else|endif)\\b)",
|
|
1025
|
-
endCaptures: {
|
|
1026
|
-
"0": {
|
|
1027
|
-
name: "punctuation.section.block.end.bracket.curly.objc"
|
|
1028
|
-
}
|
|
1029
|
-
},
|
|
1030
|
-
name: "meta.block.objc",
|
|
1031
|
-
patterns: [
|
|
1032
|
-
{
|
|
1033
|
-
include: "#block_innards"
|
|
1034
|
-
}
|
|
1035
|
-
]
|
|
1036
|
-
}
|
|
1037
|
-
]
|
|
1038
|
-
},
|
|
1039
|
-
block_innards: {
|
|
1040
|
-
patterns: [
|
|
1041
|
-
{
|
|
1042
|
-
include: "#preprocessor-rule-enabled-block"
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
include: "#preprocessor-rule-disabled-block"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
include: "#preprocessor-rule-conditional-block"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
include: "#method_access"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
include: "#member_access"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
include: "#c_function_call"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
name: "meta.initialization.objc",
|
|
1061
|
-
begin: "(?x)\n(?:\n (?:\n\t(?=\\s)(?<!else|new|return)\n\t(?<=\\w) \\s+(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas) # or word + space before name\n )\n)\n(\n (?:[A-Za-z_][A-Za-z0-9_]*+ | :: )++ # actual name\n |\n (?:(?<=operator) (?:[-*&<>=+!]+ | \\(\\) | \\[\\]))\n)\n\\s*(\\() # opening bracket",
|
|
1062
|
-
beginCaptures: {
|
|
1063
|
-
"1": {
|
|
1064
|
-
name: "variable.other.objc"
|
|
1065
|
-
},
|
|
1066
|
-
"2": {
|
|
1067
|
-
name: "punctuation.section.parens.begin.bracket.round.initialization.objc"
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
end: "\\)",
|
|
1071
|
-
endCaptures: {
|
|
1072
|
-
"0": {
|
|
1073
|
-
name: "punctuation.section.parens.end.bracket.round.initialization.objc"
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
patterns: [
|
|
1077
|
-
{
|
|
1078
|
-
include: "#function-call-innards"
|
|
1079
|
-
}
|
|
1080
|
-
]
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
begin: "{",
|
|
1084
|
-
beginCaptures: {
|
|
1085
|
-
"0": {
|
|
1086
|
-
name: "punctuation.section.block.begin.bracket.curly.objc"
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
end: "}|(?=\\s*#\\s*(?:elif|else|endif)\\b)",
|
|
1090
|
-
endCaptures: {
|
|
1091
|
-
"0": {
|
|
1092
|
-
name: "punctuation.section.block.end.bracket.curly.objc"
|
|
1093
|
-
}
|
|
1094
|
-
},
|
|
1095
|
-
patterns: [
|
|
1096
|
-
{
|
|
1097
|
-
include: "#block_innards"
|
|
1098
|
-
}
|
|
1099
|
-
]
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
include: "#parens-block"
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
include: "$base"
|
|
1106
|
-
}
|
|
1107
|
-
]
|
|
1108
|
-
},
|
|
1109
|
-
c_function_call: {
|
|
1110
|
-
begin: "(?x)\n(?!(?: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*\\()\n(?=\n(?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\( # actual name\n|\n(?:(?<=operator)(?:[-*&<>=+!]+|\\(\\)|\\[\\]))\\s*\\(\n)",
|
|
1111
|
-
end: "(?<=\\))(?!\\w)",
|
|
1112
|
-
name: "meta.function-call.objc",
|
|
1113
|
-
patterns: [
|
|
1114
|
-
{
|
|
1115
|
-
include: "#function-call-innards"
|
|
1116
|
-
}
|
|
1117
|
-
]
|
|
1118
|
-
},
|
|
1119
|
-
comments: {
|
|
1120
|
-
patterns: [
|
|
1121
|
-
{
|
|
1122
|
-
captures: {
|
|
1123
|
-
"1": {
|
|
1124
|
-
name: "meta.toc-list.banner.block.objc"
|
|
1125
|
-
}
|
|
1126
|
-
},
|
|
1127
|
-
match: "^/\\* =(\\s*.*?)\\s*= \\*/$\\n?",
|
|
1128
|
-
name: "comment.block.objc"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
begin: "/\\*",
|
|
1132
|
-
beginCaptures: {
|
|
1133
|
-
"0": {
|
|
1134
|
-
name: "punctuation.definition.comment.begin.objc"
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
end: "\\*/",
|
|
1138
|
-
endCaptures: {
|
|
1139
|
-
"0": {
|
|
1140
|
-
name: "punctuation.definition.comment.end.objc"
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
name: "comment.block.objc"
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
captures: {
|
|
1147
|
-
"1": {
|
|
1148
|
-
name: "meta.toc-list.banner.line.objc"
|
|
1149
|
-
}
|
|
1150
|
-
},
|
|
1151
|
-
match: "^// =(\\s*.*?)\\s*=\\s*$\\n?",
|
|
1152
|
-
name: "comment.line.banner.objc"
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
begin: "(^[ \\t]+)?(?=//)",
|
|
1156
|
-
beginCaptures: {
|
|
1157
|
-
"1": {
|
|
1158
|
-
name: "punctuation.whitespace.comment.leading.objc"
|
|
1159
|
-
}
|
|
1160
|
-
},
|
|
1161
|
-
end: "(?!\\G)",
|
|
1162
|
-
patterns: [
|
|
1163
|
-
{
|
|
1164
|
-
begin: "//",
|
|
1165
|
-
beginCaptures: {
|
|
1166
|
-
"0": {
|
|
1167
|
-
name: "punctuation.definition.comment.objc"
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
end: "(?=\\n)",
|
|
1171
|
-
name: "comment.line.double-slash.objc",
|
|
1172
|
-
patterns: [
|
|
1173
|
-
{
|
|
1174
|
-
include: "#line_continuation_character"
|
|
1175
|
-
}
|
|
1176
|
-
]
|
|
1177
|
-
}
|
|
1178
|
-
]
|
|
1179
|
-
}
|
|
1180
|
-
]
|
|
1181
|
-
},
|
|
1182
|
-
disabled: {
|
|
1183
|
-
begin: "^\\s*#\\s*if(n?def)?\\b.*$",
|
|
1184
|
-
end: "^\\s*#\\s*endif\\b",
|
|
1185
|
-
patterns: [
|
|
1186
|
-
{
|
|
1187
|
-
include: "#disabled"
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
include: "#pragma-mark"
|
|
1191
|
-
}
|
|
1192
|
-
]
|
|
1193
|
-
},
|
|
1194
|
-
line_continuation_character: {
|
|
1195
|
-
patterns: [
|
|
1196
|
-
{
|
|
1197
|
-
match: "(\\\\)\\n",
|
|
1198
|
-
captures: {
|
|
1199
|
-
"1": {
|
|
1200
|
-
name: "constant.character.escape.line-continuation.objc"
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
]
|
|
1205
|
-
},
|
|
1206
|
-
parens: {
|
|
1207
|
-
name: "meta.parens.objc",
|
|
1208
|
-
begin: "\\(",
|
|
1209
|
-
beginCaptures: {
|
|
1210
|
-
"0": {
|
|
1211
|
-
name: "punctuation.section.parens.begin.bracket.round.objc"
|
|
1212
|
-
}
|
|
1213
|
-
},
|
|
1214
|
-
end: "\\)",
|
|
1215
|
-
endCaptures: {
|
|
1216
|
-
"0": {
|
|
1217
|
-
name: "punctuation.section.parens.end.bracket.round.objc"
|
|
1218
|
-
}
|
|
1219
|
-
},
|
|
1220
|
-
patterns: [
|
|
1221
|
-
{
|
|
1222
|
-
include: "$base"
|
|
1223
|
-
}
|
|
1224
|
-
]
|
|
1225
|
-
},
|
|
1226
|
-
"parens-block": {
|
|
1227
|
-
name: "meta.parens.block.objc",
|
|
1228
|
-
begin: "\\(",
|
|
1229
|
-
beginCaptures: {
|
|
1230
|
-
"0": {
|
|
1231
|
-
name: "punctuation.section.parens.begin.bracket.round.objc"
|
|
1232
|
-
}
|
|
1233
|
-
},
|
|
1234
|
-
end: "\\)",
|
|
1235
|
-
endCaptures: {
|
|
1236
|
-
"0": {
|
|
1237
|
-
name: "punctuation.section.parens.end.bracket.round.objc"
|
|
1238
|
-
}
|
|
1239
|
-
},
|
|
1240
|
-
patterns: [
|
|
1241
|
-
{
|
|
1242
|
-
include: "#block_innards"
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
match: "(?-mix:(?<!:):(?!:))",
|
|
1246
|
-
name: "punctuation.range-based.objc"
|
|
1247
|
-
}
|
|
1248
|
-
]
|
|
1249
|
-
},
|
|
1250
|
-
"pragma-mark": {
|
|
1251
|
-
captures: {
|
|
1252
|
-
"1": {
|
|
1253
|
-
name: "meta.preprocessor.pragma.objc"
|
|
1254
|
-
},
|
|
1255
|
-
"2": {
|
|
1256
|
-
name: "keyword.control.directive.pragma.pragma-mark.objc"
|
|
1257
|
-
},
|
|
1258
|
-
"3": {
|
|
1259
|
-
name: "punctuation.definition.directive.objc"
|
|
1260
|
-
},
|
|
1261
|
-
"4": {
|
|
1262
|
-
name: "entity.name.tag.pragma-mark.objc"
|
|
1263
|
-
}
|
|
1264
|
-
},
|
|
1265
|
-
match: "^\\s*(((#)\\s*pragma\\s+mark)\\s+(.*))",
|
|
1266
|
-
name: "meta.section.objc"
|
|
1267
|
-
},
|
|
1268
|
-
operators: {
|
|
1269
|
-
patterns: [
|
|
1270
|
-
{
|
|
1271
|
-
match: "(?<![\\w$])(sizeof)(?![\\w$])",
|
|
1272
|
-
name: "keyword.operator.sizeof.objc"
|
|
1273
|
-
},
|
|
1274
|
-
{
|
|
1275
|
-
match: "--",
|
|
1276
|
-
name: "keyword.operator.decrement.objc"
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
match: "\\+\\+",
|
|
1280
|
-
name: "keyword.operator.increment.objc"
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
match: "%=|\\+=|-=|\\*=|(?<!\\()/=",
|
|
1284
|
-
name: "keyword.operator.assignment.compound.objc"
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
match: "&=|\\^=|<<=|>>=|\\|=",
|
|
1288
|
-
name: "keyword.operator.assignment.compound.bitwise.objc"
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
match: "<<|>>",
|
|
1292
|
-
name: "keyword.operator.bitwise.shift.objc"
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
match: "!=|<=|>=|==|<|>",
|
|
1296
|
-
name: "keyword.operator.comparison.objc"
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
match: "&&|!|\\|\\|",
|
|
1300
|
-
name: "keyword.operator.logical.objc"
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
match: "&|\\||\\^|~",
|
|
1304
|
-
name: "keyword.operator.objc"
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
match: "=",
|
|
1308
|
-
name: "keyword.operator.assignment.objc"
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
match: "%|\\*|/|-|\\+",
|
|
1312
|
-
name: "keyword.operator.objc"
|
|
1313
|
-
},
|
|
1314
|
-
{
|
|
1315
|
-
begin: "(\\?)",
|
|
1316
|
-
beginCaptures: {
|
|
1317
|
-
"1": {
|
|
1318
|
-
name: "keyword.operator.ternary.objc"
|
|
1319
|
-
}
|
|
1320
|
-
},
|
|
1321
|
-
end: "(:)",
|
|
1322
|
-
endCaptures: {
|
|
1323
|
-
"1": {
|
|
1324
|
-
name: "keyword.operator.ternary.objc"
|
|
1325
|
-
}
|
|
1326
|
-
},
|
|
1327
|
-
patterns: [
|
|
1328
|
-
{
|
|
1329
|
-
include: "#function-call-innards"
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
include: "$base"
|
|
1333
|
-
}
|
|
1334
|
-
]
|
|
1335
|
-
}
|
|
1336
|
-
]
|
|
1337
|
-
},
|
|
1338
|
-
strings: {
|
|
1339
|
-
patterns: [
|
|
1340
|
-
{
|
|
1341
|
-
begin: "\"",
|
|
1342
|
-
beginCaptures: {
|
|
1343
|
-
"0": {
|
|
1344
|
-
name: "punctuation.definition.string.begin.objc"
|
|
1345
|
-
}
|
|
1346
|
-
},
|
|
1347
|
-
end: "\"",
|
|
1348
|
-
endCaptures: {
|
|
1349
|
-
"0": {
|
|
1350
|
-
name: "punctuation.definition.string.end.objc"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
name: "string.quoted.double.objc",
|
|
1354
|
-
patterns: [
|
|
1355
|
-
{
|
|
1356
|
-
include: "#string_escaped_char"
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
include: "#string_placeholder"
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
include: "#line_continuation_character"
|
|
1363
|
-
}
|
|
1364
|
-
]
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
begin: "'",
|
|
1368
|
-
beginCaptures: {
|
|
1369
|
-
"0": {
|
|
1370
|
-
name: "punctuation.definition.string.begin.objc"
|
|
1371
|
-
}
|
|
1372
|
-
},
|
|
1373
|
-
end: "'",
|
|
1374
|
-
endCaptures: {
|
|
1375
|
-
"0": {
|
|
1376
|
-
name: "punctuation.definition.string.end.objc"
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
name: "string.quoted.single.objc",
|
|
1380
|
-
patterns: [
|
|
1381
|
-
{
|
|
1382
|
-
include: "#string_escaped_char"
|
|
1383
|
-
},
|
|
1384
|
-
{
|
|
1385
|
-
include: "#line_continuation_character"
|
|
1386
|
-
}
|
|
1387
|
-
]
|
|
1388
|
-
}
|
|
1389
|
-
]
|
|
1390
|
-
},
|
|
1391
|
-
string_escaped_char: {
|
|
1392
|
-
patterns: [
|
|
1393
|
-
{
|
|
1394
|
-
match: "(?x)\\\\ (\n\\\\\t\t\t |\n[abefnprtv'\"?] |\n[0-3]\\d{,2}\t |\n[4-7]\\d?\t\t|\nx[a-fA-F0-9]{,2} |\nu[a-fA-F0-9]{,4} |\nU[a-fA-F0-9]{,8} )",
|
|
1395
|
-
name: "constant.character.escape.objc"
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
match: "\\\\.",
|
|
1399
|
-
name: "invalid.illegal.unknown-escape.objc"
|
|
1400
|
-
}
|
|
1401
|
-
]
|
|
1402
|
-
},
|
|
1403
|
-
string_placeholder: {
|
|
1404
|
-
patterns: [
|
|
1405
|
-
{
|
|
1406
|
-
match: "(?x) %\n(\\d+\\$)?\t\t\t\t\t\t # field (argument #)\n[#0\\- +']*\t\t\t\t\t\t # flags\n[,;:_]?\t\t\t\t\t\t\t # separator character (AltiVec)\n((-?\\d+)|\\*(-?\\d+\\$)?)?\t\t # minimum field width\n(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?\t# precision\n(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n[diouxXDOUeEfFgGaACcSspn%]\t\t # conversion type",
|
|
1407
|
-
name: "constant.other.placeholder.objc"
|
|
1408
|
-
},
|
|
1409
|
-
{
|
|
1410
|
-
match: "(%)(?!\"\\s*(PRI|SCN))",
|
|
1411
|
-
captures: {
|
|
1412
|
-
"1": {
|
|
1413
|
-
name: "invalid.illegal.placeholder.objc"
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
]
|
|
1418
|
-
},
|
|
1419
|
-
storage_types: {
|
|
1420
|
-
patterns: [
|
|
1421
|
-
{
|
|
1422
|
-
match: "(?-mix:(?<!\\w)(?:void|char|short|int|signed|unsigned|long|float|double|bool|_Bool)(?!\\w))",
|
|
1423
|
-
name: "storage.type.built-in.primitive.objc"
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
match: "(?-mix:(?<!\\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))",
|
|
1427
|
-
name: "storage.type.built-in.objc"
|
|
1428
|
-
},
|
|
1429
|
-
{
|
|
1430
|
-
match: "(?-mix:\\b(asm|__asm__|enum|struct|union)\\b)",
|
|
1431
|
-
name: "storage.type.$1.objc"
|
|
1432
|
-
}
|
|
1433
|
-
]
|
|
1434
|
-
},
|
|
1435
|
-
vararg_ellipses: {
|
|
1436
|
-
match: "(?<!\\.)\\.\\.\\.(?!\\.)",
|
|
1437
|
-
name: "punctuation.vararg-ellipses.objc"
|
|
1438
|
-
},
|
|
1439
|
-
"preprocessor-rule-conditional": {
|
|
1440
|
-
patterns: [
|
|
1441
|
-
{
|
|
1442
|
-
begin: "^\\s*((#)\\s*if(?:n?def)?\\b)",
|
|
1443
|
-
beginCaptures: {
|
|
1444
|
-
"0": {
|
|
1445
|
-
name: "meta.preprocessor.objc"
|
|
1446
|
-
},
|
|
1447
|
-
"1": {
|
|
1448
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1449
|
-
},
|
|
1450
|
-
"2": {
|
|
1451
|
-
name: "punctuation.definition.directive.objc"
|
|
1452
|
-
}
|
|
1453
|
-
},
|
|
1454
|
-
end: "^\\s*((#)\\s*endif\\b)",
|
|
1455
|
-
endCaptures: {
|
|
1456
|
-
"0": {
|
|
1457
|
-
name: "meta.preprocessor.objc"
|
|
1458
|
-
},
|
|
1459
|
-
"1": {
|
|
1460
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1461
|
-
},
|
|
1462
|
-
"2": {
|
|
1463
|
-
name: "punctuation.definition.directive.objc"
|
|
1464
|
-
}
|
|
1465
|
-
},
|
|
1466
|
-
patterns: [
|
|
1467
|
-
{
|
|
1468
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1469
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1470
|
-
name: "meta.preprocessor.objc",
|
|
1471
|
-
patterns: [
|
|
1472
|
-
{
|
|
1473
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1474
|
-
}
|
|
1475
|
-
]
|
|
1476
|
-
},
|
|
1477
|
-
{
|
|
1478
|
-
include: "#preprocessor-rule-enabled-elif"
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
include: "#preprocessor-rule-enabled-else"
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
include: "#preprocessor-rule-disabled-elif"
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
begin: "^\\s*((#)\\s*elif\\b)",
|
|
1488
|
-
beginCaptures: {
|
|
1489
|
-
"1": {
|
|
1490
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1491
|
-
},
|
|
1492
|
-
"2": {
|
|
1493
|
-
name: "punctuation.definition.directive.objc"
|
|
1494
|
-
}
|
|
1495
|
-
},
|
|
1496
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1497
|
-
name: "meta.preprocessor.objc",
|
|
1498
|
-
patterns: [
|
|
1499
|
-
{
|
|
1500
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1501
|
-
}
|
|
1502
|
-
]
|
|
1503
|
-
},
|
|
1504
|
-
{
|
|
1505
|
-
include: "$base"
|
|
1506
|
-
}
|
|
1507
|
-
]
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
match: "^\\s*#\\s*(else|elif|endif)\\b",
|
|
1511
|
-
captures: {
|
|
1512
|
-
"0": {
|
|
1513
|
-
name: "invalid.illegal.stray-$1.objc"
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
]
|
|
1518
|
-
},
|
|
1519
|
-
"preprocessor-rule-conditional-block": {
|
|
1520
|
-
patterns: [
|
|
1521
|
-
{
|
|
1522
|
-
begin: "^\\s*((#)\\s*if(?:n?def)?\\b)",
|
|
1523
|
-
beginCaptures: {
|
|
1524
|
-
"0": {
|
|
1525
|
-
name: "meta.preprocessor.objc"
|
|
1526
|
-
},
|
|
1527
|
-
"1": {
|
|
1528
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1529
|
-
},
|
|
1530
|
-
"2": {
|
|
1531
|
-
name: "punctuation.definition.directive.objc"
|
|
1532
|
-
}
|
|
1533
|
-
},
|
|
1534
|
-
end: "^\\s*((#)\\s*endif\\b)",
|
|
1535
|
-
endCaptures: {
|
|
1536
|
-
"0": {
|
|
1537
|
-
name: "meta.preprocessor.objc"
|
|
1538
|
-
},
|
|
1539
|
-
"1": {
|
|
1540
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1541
|
-
},
|
|
1542
|
-
"2": {
|
|
1543
|
-
name: "punctuation.definition.directive.objc"
|
|
1544
|
-
}
|
|
1545
|
-
},
|
|
1546
|
-
patterns: [
|
|
1547
|
-
{
|
|
1548
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1549
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1550
|
-
name: "meta.preprocessor.objc",
|
|
1551
|
-
patterns: [
|
|
1552
|
-
{
|
|
1553
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1554
|
-
}
|
|
1555
|
-
]
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
include: "#preprocessor-rule-enabled-elif-block"
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
include: "#preprocessor-rule-enabled-else-block"
|
|
1562
|
-
},
|
|
1563
|
-
{
|
|
1564
|
-
include: "#preprocessor-rule-disabled-elif"
|
|
1565
|
-
},
|
|
1566
|
-
{
|
|
1567
|
-
begin: "^\\s*((#)\\s*elif\\b)",
|
|
1568
|
-
beginCaptures: {
|
|
1569
|
-
"1": {
|
|
1570
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1571
|
-
},
|
|
1572
|
-
"2": {
|
|
1573
|
-
name: "punctuation.definition.directive.objc"
|
|
1574
|
-
}
|
|
1575
|
-
},
|
|
1576
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1577
|
-
name: "meta.preprocessor.objc",
|
|
1578
|
-
patterns: [
|
|
1579
|
-
{
|
|
1580
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1581
|
-
}
|
|
1582
|
-
]
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
include: "#block_innards"
|
|
1586
|
-
}
|
|
1587
|
-
]
|
|
1588
|
-
},
|
|
1589
|
-
{
|
|
1590
|
-
match: "^\\s*#\\s*(else|elif|endif)\\b",
|
|
1591
|
-
captures: {
|
|
1592
|
-
"0": {
|
|
1593
|
-
name: "invalid.illegal.stray-$1.objc"
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
]
|
|
1598
|
-
},
|
|
1599
|
-
"preprocessor-rule-conditional-line": {
|
|
1600
|
-
patterns: [
|
|
1601
|
-
{
|
|
1602
|
-
match: "(?:\\bdefined\\b\\s*$)|(?:\\bdefined\\b(?=\\s*\\(*\\s*(?:(?!defined\\b)[a-zA-Z_$][\\w$]*\\b)\\s*\\)*\\s*(?:\\n|//|/\\*|\\?|\\:|&&|\\|\\||\\\\\\s*\\n)))",
|
|
1603
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1604
|
-
},
|
|
1605
|
-
{
|
|
1606
|
-
match: "\\bdefined\\b",
|
|
1607
|
-
name: "invalid.illegal.macro-name.objc"
|
|
1608
|
-
},
|
|
1609
|
-
{
|
|
1610
|
-
include: "#comments"
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
include: "#strings"
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
include: "#numbers"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
begin: "\\?",
|
|
1620
|
-
beginCaptures: {
|
|
1621
|
-
"0": {
|
|
1622
|
-
name: "keyword.operator.ternary.objc"
|
|
1623
|
-
}
|
|
1624
|
-
},
|
|
1625
|
-
end: ":",
|
|
1626
|
-
endCaptures: {
|
|
1627
|
-
"0": {
|
|
1628
|
-
name: "keyword.operator.ternary.objc"
|
|
1629
|
-
}
|
|
1630
|
-
},
|
|
1631
|
-
patterns: [
|
|
1632
|
-
{
|
|
1633
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1634
|
-
}
|
|
1635
|
-
]
|
|
1636
|
-
},
|
|
1637
|
-
{
|
|
1638
|
-
include: "#operators"
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
match: "\\b(NULL|true|false|TRUE|FALSE)\\b",
|
|
1642
|
-
name: "constant.language.objc"
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
match: "[a-zA-Z_$][\\w$]*",
|
|
1646
|
-
name: "entity.name.function.preprocessor.objc"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
include: "#line_continuation_character"
|
|
1650
|
-
},
|
|
1651
|
-
{
|
|
1652
|
-
begin: "\\(",
|
|
1653
|
-
beginCaptures: {
|
|
1654
|
-
"0": {
|
|
1655
|
-
name: "punctuation.section.parens.begin.bracket.round.objc"
|
|
1656
|
-
}
|
|
1657
|
-
},
|
|
1658
|
-
end: "\\)|(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1659
|
-
endCaptures: {
|
|
1660
|
-
"0": {
|
|
1661
|
-
name: "punctuation.section.parens.end.bracket.round.objc"
|
|
1662
|
-
}
|
|
1663
|
-
},
|
|
1664
|
-
patterns: [
|
|
1665
|
-
{
|
|
1666
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1667
|
-
}
|
|
1668
|
-
]
|
|
1669
|
-
}
|
|
1670
|
-
]
|
|
1671
|
-
},
|
|
1672
|
-
"preprocessor-rule-disabled": {
|
|
1673
|
-
patterns: [
|
|
1674
|
-
{
|
|
1675
|
-
begin: "^\\s*((#)\\s*if\\b)(?=\\s*\\(*\\b0+\\b\\)*\\s*(?:$|//|/\\*))",
|
|
1676
|
-
beginCaptures: {
|
|
1677
|
-
"0": {
|
|
1678
|
-
name: "meta.preprocessor.objc"
|
|
1679
|
-
},
|
|
1680
|
-
"1": {
|
|
1681
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1682
|
-
},
|
|
1683
|
-
"2": {
|
|
1684
|
-
name: "punctuation.definition.directive.objc"
|
|
1685
|
-
}
|
|
1686
|
-
},
|
|
1687
|
-
end: "^\\s*((#)\\s*endif\\b)",
|
|
1688
|
-
endCaptures: {
|
|
1689
|
-
"0": {
|
|
1690
|
-
name: "meta.preprocessor.objc"
|
|
1691
|
-
},
|
|
1692
|
-
"1": {
|
|
1693
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1694
|
-
},
|
|
1695
|
-
"2": {
|
|
1696
|
-
name: "punctuation.definition.directive.objc"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
patterns: [
|
|
1700
|
-
{
|
|
1701
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1702
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
1703
|
-
name: "meta.preprocessor.objc",
|
|
1704
|
-
patterns: [
|
|
1705
|
-
{
|
|
1706
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1707
|
-
}
|
|
1708
|
-
]
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
include: "#comments"
|
|
1712
|
-
},
|
|
1713
|
-
{
|
|
1714
|
-
include: "#preprocessor-rule-enabled-elif"
|
|
1715
|
-
},
|
|
1716
|
-
{
|
|
1717
|
-
include: "#preprocessor-rule-enabled-else"
|
|
1718
|
-
},
|
|
1719
|
-
{
|
|
1720
|
-
include: "#preprocessor-rule-disabled-elif"
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
begin: "^\\s*((#)\\s*elif\\b)",
|
|
1724
|
-
beginCaptures: {
|
|
1725
|
-
"0": {
|
|
1726
|
-
name: "meta.preprocessor.objc"
|
|
1727
|
-
},
|
|
1728
|
-
"1": {
|
|
1729
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1730
|
-
},
|
|
1731
|
-
"2": {
|
|
1732
|
-
name: "punctuation.definition.directive.objc"
|
|
1733
|
-
}
|
|
1734
|
-
},
|
|
1735
|
-
end: "(?=^\\s*((#)\\s*(?:elif|else|endif)\\b))",
|
|
1736
|
-
patterns: [
|
|
1737
|
-
{
|
|
1738
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1739
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1740
|
-
name: "meta.preprocessor.objc",
|
|
1741
|
-
patterns: [
|
|
1742
|
-
{
|
|
1743
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1744
|
-
}
|
|
1745
|
-
]
|
|
1746
|
-
},
|
|
1747
|
-
{
|
|
1748
|
-
include: "$base"
|
|
1749
|
-
}
|
|
1750
|
-
]
|
|
1751
|
-
},
|
|
1752
|
-
{
|
|
1753
|
-
contentName: "comment.block.preprocessor.if-branch.objc",
|
|
1754
|
-
begin: "\\n",
|
|
1755
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
1756
|
-
patterns: [
|
|
1757
|
-
{
|
|
1758
|
-
include: "#disabled"
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
include: "#pragma-mark"
|
|
1762
|
-
}
|
|
1763
|
-
]
|
|
1764
|
-
}
|
|
1765
|
-
]
|
|
1766
|
-
}
|
|
1767
|
-
]
|
|
1768
|
-
},
|
|
1769
|
-
"preprocessor-rule-disabled-block": {
|
|
1770
|
-
patterns: [
|
|
1771
|
-
{
|
|
1772
|
-
begin: "^\\s*((#)\\s*if\\b)(?=\\s*\\(*\\b0+\\b\\)*\\s*(?:$|//|/\\*))",
|
|
1773
|
-
beginCaptures: {
|
|
1774
|
-
"0": {
|
|
1775
|
-
name: "meta.preprocessor.objc"
|
|
1776
|
-
},
|
|
1777
|
-
"1": {
|
|
1778
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1779
|
-
},
|
|
1780
|
-
"2": {
|
|
1781
|
-
name: "punctuation.definition.directive.objc"
|
|
1782
|
-
}
|
|
1783
|
-
},
|
|
1784
|
-
end: "^\\s*((#)\\s*endif\\b)",
|
|
1785
|
-
endCaptures: {
|
|
1786
|
-
"0": {
|
|
1787
|
-
name: "meta.preprocessor.objc"
|
|
1788
|
-
},
|
|
1789
|
-
"1": {
|
|
1790
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1791
|
-
},
|
|
1792
|
-
"2": {
|
|
1793
|
-
name: "punctuation.definition.directive.objc"
|
|
1794
|
-
}
|
|
1795
|
-
},
|
|
1796
|
-
patterns: [
|
|
1797
|
-
{
|
|
1798
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1799
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
1800
|
-
name: "meta.preprocessor.objc",
|
|
1801
|
-
patterns: [
|
|
1802
|
-
{
|
|
1803
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1804
|
-
}
|
|
1805
|
-
]
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
include: "#comments"
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
include: "#preprocessor-rule-enabled-elif-block"
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
include: "#preprocessor-rule-enabled-else-block"
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
include: "#preprocessor-rule-disabled-elif"
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
begin: "^\\s*((#)\\s*elif\\b)",
|
|
1821
|
-
beginCaptures: {
|
|
1822
|
-
"0": {
|
|
1823
|
-
name: "meta.preprocessor.objc"
|
|
1824
|
-
},
|
|
1825
|
-
"1": {
|
|
1826
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1827
|
-
},
|
|
1828
|
-
"2": {
|
|
1829
|
-
name: "punctuation.definition.directive.objc"
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
end: "(?=^\\s*((#)\\s*(?:elif|else|endif)\\b))",
|
|
1833
|
-
patterns: [
|
|
1834
|
-
{
|
|
1835
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1836
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1837
|
-
name: "meta.preprocessor.objc",
|
|
1838
|
-
patterns: [
|
|
1839
|
-
{
|
|
1840
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1841
|
-
}
|
|
1842
|
-
]
|
|
1843
|
-
},
|
|
1844
|
-
{
|
|
1845
|
-
include: "#block_innards"
|
|
1846
|
-
}
|
|
1847
|
-
]
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
contentName: "comment.block.preprocessor.if-branch.in-block.objc",
|
|
1851
|
-
begin: "\\n",
|
|
1852
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
1853
|
-
patterns: [
|
|
1854
|
-
{
|
|
1855
|
-
include: "#disabled"
|
|
1856
|
-
},
|
|
1857
|
-
{
|
|
1858
|
-
include: "#pragma-mark"
|
|
1859
|
-
}
|
|
1860
|
-
]
|
|
1861
|
-
}
|
|
1862
|
-
]
|
|
1863
|
-
}
|
|
1864
|
-
]
|
|
1865
|
-
},
|
|
1866
|
-
"preprocessor-rule-disabled-elif": {
|
|
1867
|
-
begin: "^\\s*((#)\\s*elif\\b)(?=\\s*\\(*\\b0+\\b\\)*\\s*(?:$|//|/\\*))",
|
|
1868
|
-
beginCaptures: {
|
|
1869
|
-
"0": {
|
|
1870
|
-
name: "meta.preprocessor.objc"
|
|
1871
|
-
},
|
|
1872
|
-
"1": {
|
|
1873
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1874
|
-
},
|
|
1875
|
-
"2": {
|
|
1876
|
-
name: "punctuation.definition.directive.objc"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
end: "(?=^\\s*((#)\\s*(?:elif|else|endif)\\b))",
|
|
1880
|
-
patterns: [
|
|
1881
|
-
{
|
|
1882
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1883
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
1884
|
-
name: "meta.preprocessor.objc",
|
|
1885
|
-
patterns: [
|
|
1886
|
-
{
|
|
1887
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1888
|
-
}
|
|
1889
|
-
]
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
include: "#comments"
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
contentName: "comment.block.preprocessor.elif-branch.objc",
|
|
1896
|
-
begin: "\\n",
|
|
1897
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
1898
|
-
patterns: [
|
|
1899
|
-
{
|
|
1900
|
-
include: "#disabled"
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
include: "#pragma-mark"
|
|
1904
|
-
}
|
|
1905
|
-
]
|
|
1906
|
-
}
|
|
1907
|
-
]
|
|
1908
|
-
},
|
|
1909
|
-
"preprocessor-rule-enabled": {
|
|
1910
|
-
patterns: [
|
|
1911
|
-
{
|
|
1912
|
-
begin: "^\\s*((#)\\s*if\\b)(?=\\s*\\(*\\b0*1\\b\\)*\\s*(?:$|//|/\\*))",
|
|
1913
|
-
beginCaptures: {
|
|
1914
|
-
"0": {
|
|
1915
|
-
name: "meta.preprocessor.objc"
|
|
1916
|
-
},
|
|
1917
|
-
"1": {
|
|
1918
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1919
|
-
},
|
|
1920
|
-
"2": {
|
|
1921
|
-
name: "punctuation.definition.directive.objc"
|
|
1922
|
-
},
|
|
1923
|
-
"3": {
|
|
1924
|
-
name: "constant.numeric.preprocessor.objc"
|
|
1925
|
-
}
|
|
1926
|
-
},
|
|
1927
|
-
end: "^\\s*((#)\\s*endif\\b)",
|
|
1928
|
-
endCaptures: {
|
|
1929
|
-
"0": {
|
|
1930
|
-
name: "meta.preprocessor.objc"
|
|
1931
|
-
},
|
|
1932
|
-
"1": {
|
|
1933
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1934
|
-
},
|
|
1935
|
-
"2": {
|
|
1936
|
-
name: "punctuation.definition.directive.objc"
|
|
1937
|
-
}
|
|
1938
|
-
},
|
|
1939
|
-
patterns: [
|
|
1940
|
-
{
|
|
1941
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
1942
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
1943
|
-
name: "meta.preprocessor.objc",
|
|
1944
|
-
patterns: [
|
|
1945
|
-
{
|
|
1946
|
-
include: "#preprocessor-rule-conditional-line"
|
|
1947
|
-
}
|
|
1948
|
-
]
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
include: "#comments"
|
|
1952
|
-
},
|
|
1953
|
-
{
|
|
1954
|
-
contentName: "comment.block.preprocessor.else-branch.objc",
|
|
1955
|
-
begin: "^\\s*((#)\\s*else\\b)",
|
|
1956
|
-
beginCaptures: {
|
|
1957
|
-
"0": {
|
|
1958
|
-
name: "meta.preprocessor.objc"
|
|
1959
|
-
},
|
|
1960
|
-
"1": {
|
|
1961
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1962
|
-
},
|
|
1963
|
-
"2": {
|
|
1964
|
-
name: "punctuation.definition.directive.objc"
|
|
1965
|
-
}
|
|
1966
|
-
},
|
|
1967
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
1968
|
-
patterns: [
|
|
1969
|
-
{
|
|
1970
|
-
include: "#disabled"
|
|
1971
|
-
},
|
|
1972
|
-
{
|
|
1973
|
-
include: "#pragma-mark"
|
|
1974
|
-
}
|
|
1975
|
-
]
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
contentName: "comment.block.preprocessor.if-branch.objc",
|
|
1979
|
-
begin: "^\\s*((#)\\s*elif\\b)",
|
|
1980
|
-
beginCaptures: {
|
|
1981
|
-
"0": {
|
|
1982
|
-
name: "meta.preprocessor.objc"
|
|
1983
|
-
},
|
|
1984
|
-
"1": {
|
|
1985
|
-
name: "keyword.control.directive.conditional.objc"
|
|
1986
|
-
},
|
|
1987
|
-
"2": {
|
|
1988
|
-
name: "punctuation.definition.directive.objc"
|
|
1989
|
-
}
|
|
1990
|
-
},
|
|
1991
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
1992
|
-
patterns: [
|
|
1993
|
-
{
|
|
1994
|
-
include: "#disabled"
|
|
1995
|
-
},
|
|
1996
|
-
{
|
|
1997
|
-
include: "#pragma-mark"
|
|
1998
|
-
}
|
|
1999
|
-
]
|
|
2000
|
-
},
|
|
2001
|
-
{
|
|
2002
|
-
begin: "\\n",
|
|
2003
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
2004
|
-
patterns: [
|
|
2005
|
-
{
|
|
2006
|
-
include: "$base"
|
|
2007
|
-
}
|
|
2008
|
-
]
|
|
2009
|
-
}
|
|
2010
|
-
]
|
|
2011
|
-
}
|
|
2012
|
-
]
|
|
2013
|
-
},
|
|
2014
|
-
"preprocessor-rule-enabled-block": {
|
|
2015
|
-
patterns: [
|
|
2016
|
-
{
|
|
2017
|
-
begin: "^\\s*((#)\\s*if\\b)(?=\\s*\\(*\\b0*1\\b\\)*\\s*(?:$|//|/\\*))",
|
|
2018
|
-
beginCaptures: {
|
|
2019
|
-
"0": {
|
|
2020
|
-
name: "meta.preprocessor.objc"
|
|
2021
|
-
},
|
|
2022
|
-
"1": {
|
|
2023
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2024
|
-
},
|
|
2025
|
-
"2": {
|
|
2026
|
-
name: "punctuation.definition.directive.objc"
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
end: "^\\s*((#)\\s*endif\\b)",
|
|
2030
|
-
endCaptures: {
|
|
2031
|
-
"0": {
|
|
2032
|
-
name: "meta.preprocessor.objc"
|
|
2033
|
-
},
|
|
2034
|
-
"1": {
|
|
2035
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2036
|
-
},
|
|
2037
|
-
"2": {
|
|
2038
|
-
name: "punctuation.definition.directive.objc"
|
|
2039
|
-
}
|
|
2040
|
-
},
|
|
2041
|
-
patterns: [
|
|
2042
|
-
{
|
|
2043
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
2044
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
|
2045
|
-
name: "meta.preprocessor.objc",
|
|
2046
|
-
patterns: [
|
|
2047
|
-
{
|
|
2048
|
-
include: "#preprocessor-rule-conditional-line"
|
|
2049
|
-
}
|
|
2050
|
-
]
|
|
2051
|
-
},
|
|
2052
|
-
{
|
|
2053
|
-
include: "#comments"
|
|
2054
|
-
},
|
|
2055
|
-
{
|
|
2056
|
-
contentName: "comment.block.preprocessor.else-branch.in-block.objc",
|
|
2057
|
-
begin: "^\\s*((#)\\s*else\\b)",
|
|
2058
|
-
beginCaptures: {
|
|
2059
|
-
"0": {
|
|
2060
|
-
name: "meta.preprocessor.objc"
|
|
2061
|
-
},
|
|
2062
|
-
"1": {
|
|
2063
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2064
|
-
},
|
|
2065
|
-
"2": {
|
|
2066
|
-
name: "punctuation.definition.directive.objc"
|
|
2067
|
-
}
|
|
2068
|
-
},
|
|
2069
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
2070
|
-
patterns: [
|
|
2071
|
-
{
|
|
2072
|
-
include: "#disabled"
|
|
2073
|
-
},
|
|
2074
|
-
{
|
|
2075
|
-
include: "#pragma-mark"
|
|
2076
|
-
}
|
|
2077
|
-
]
|
|
2078
|
-
},
|
|
2079
|
-
{
|
|
2080
|
-
contentName: "comment.block.preprocessor.if-branch.in-block.objc",
|
|
2081
|
-
begin: "^\\s*((#)\\s*elif\\b)",
|
|
2082
|
-
beginCaptures: {
|
|
2083
|
-
"0": {
|
|
2084
|
-
name: "meta.preprocessor.objc"
|
|
2085
|
-
},
|
|
2086
|
-
"1": {
|
|
2087
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2088
|
-
},
|
|
2089
|
-
"2": {
|
|
2090
|
-
name: "punctuation.definition.directive.objc"
|
|
2091
|
-
}
|
|
2092
|
-
},
|
|
2093
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
2094
|
-
patterns: [
|
|
2095
|
-
{
|
|
2096
|
-
include: "#disabled"
|
|
2097
|
-
},
|
|
2098
|
-
{
|
|
2099
|
-
include: "#pragma-mark"
|
|
2100
|
-
}
|
|
2101
|
-
]
|
|
2102
|
-
},
|
|
2103
|
-
{
|
|
2104
|
-
begin: "\\n",
|
|
2105
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
2106
|
-
patterns: [
|
|
2107
|
-
{
|
|
2108
|
-
include: "#block_innards"
|
|
2109
|
-
}
|
|
2110
|
-
]
|
|
2111
|
-
}
|
|
2112
|
-
]
|
|
2113
|
-
}
|
|
2114
|
-
]
|
|
2115
|
-
},
|
|
2116
|
-
"preprocessor-rule-enabled-elif": {
|
|
2117
|
-
begin: "^\\s*((#)\\s*elif\\b)(?=\\s*\\(*\\b0*1\\b\\)*\\s*(?:$|//|/\\*))",
|
|
2118
|
-
beginCaptures: {
|
|
2119
|
-
"0": {
|
|
2120
|
-
name: "meta.preprocessor.objc"
|
|
2121
|
-
},
|
|
2122
|
-
"1": {
|
|
2123
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2124
|
-
},
|
|
2125
|
-
"2": {
|
|
2126
|
-
name: "punctuation.definition.directive.objc"
|
|
2127
|
-
}
|
|
2128
|
-
},
|
|
2129
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
2130
|
-
patterns: [
|
|
2131
|
-
{
|
|
2132
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
2133
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
2134
|
-
name: "meta.preprocessor.objc",
|
|
2135
|
-
patterns: [
|
|
2136
|
-
{
|
|
2137
|
-
include: "#preprocessor-rule-conditional-line"
|
|
2138
|
-
}
|
|
2139
|
-
]
|
|
2140
|
-
},
|
|
2141
|
-
{
|
|
2142
|
-
include: "#comments"
|
|
2143
|
-
},
|
|
2144
|
-
{
|
|
2145
|
-
begin: "\\n",
|
|
2146
|
-
end: "(?=^\\s*((#)\\s*(?:endif)\\b))",
|
|
2147
|
-
patterns: [
|
|
2148
|
-
{
|
|
2149
|
-
contentName: "comment.block.preprocessor.elif-branch.objc",
|
|
2150
|
-
begin: "^\\s*((#)\\s*(else)\\b)",
|
|
2151
|
-
beginCaptures: {
|
|
2152
|
-
"0": {
|
|
2153
|
-
name: "meta.preprocessor.objc"
|
|
2154
|
-
},
|
|
2155
|
-
"1": {
|
|
2156
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2157
|
-
},
|
|
2158
|
-
"2": {
|
|
2159
|
-
name: "punctuation.definition.directive.objc"
|
|
2160
|
-
}
|
|
2161
|
-
},
|
|
2162
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
2163
|
-
patterns: [
|
|
2164
|
-
{
|
|
2165
|
-
include: "#disabled"
|
|
2166
|
-
},
|
|
2167
|
-
{
|
|
2168
|
-
include: "#pragma-mark"
|
|
2169
|
-
}
|
|
2170
|
-
]
|
|
2171
|
-
},
|
|
2172
|
-
{
|
|
2173
|
-
contentName: "comment.block.preprocessor.elif-branch.objc",
|
|
2174
|
-
begin: "^\\s*((#)\\s*(elif)\\b)",
|
|
2175
|
-
beginCaptures: {
|
|
2176
|
-
"0": {
|
|
2177
|
-
name: "meta.preprocessor.objc"
|
|
2178
|
-
},
|
|
2179
|
-
"1": {
|
|
2180
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2181
|
-
},
|
|
2182
|
-
"2": {
|
|
2183
|
-
name: "punctuation.definition.directive.objc"
|
|
2184
|
-
}
|
|
2185
|
-
},
|
|
2186
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
2187
|
-
patterns: [
|
|
2188
|
-
{
|
|
2189
|
-
include: "#disabled"
|
|
2190
|
-
},
|
|
2191
|
-
{
|
|
2192
|
-
include: "#pragma-mark"
|
|
2193
|
-
}
|
|
2194
|
-
]
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
include: "$base"
|
|
2198
|
-
}
|
|
2199
|
-
]
|
|
2200
|
-
}
|
|
2201
|
-
]
|
|
2202
|
-
},
|
|
2203
|
-
"preprocessor-rule-enabled-elif-block": {
|
|
2204
|
-
begin: "^\\s*((#)\\s*elif\\b)(?=\\s*\\(*\\b0*1\\b\\)*\\s*(?:$|//|/\\*))",
|
|
2205
|
-
beginCaptures: {
|
|
2206
|
-
"0": {
|
|
2207
|
-
name: "meta.preprocessor.objc"
|
|
2208
|
-
},
|
|
2209
|
-
"1": {
|
|
2210
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2211
|
-
},
|
|
2212
|
-
"2": {
|
|
2213
|
-
name: "punctuation.definition.directive.objc"
|
|
2214
|
-
}
|
|
2215
|
-
},
|
|
2216
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
2217
|
-
patterns: [
|
|
2218
|
-
{
|
|
2219
|
-
begin: "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
|
2220
|
-
end: "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
|
2221
|
-
name: "meta.preprocessor.objc",
|
|
2222
|
-
patterns: [
|
|
2223
|
-
{
|
|
2224
|
-
include: "#preprocessor-rule-conditional-line"
|
|
2225
|
-
}
|
|
2226
|
-
]
|
|
2227
|
-
},
|
|
2228
|
-
{
|
|
2229
|
-
include: "#comments"
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
begin: "\\n",
|
|
2233
|
-
end: "(?=^\\s*((#)\\s*(?:endif)\\b))",
|
|
2234
|
-
patterns: [
|
|
2235
|
-
{
|
|
2236
|
-
contentName: "comment.block.preprocessor.elif-branch.in-block.objc",
|
|
2237
|
-
begin: "^\\s*((#)\\s*(else)\\b)",
|
|
2238
|
-
beginCaptures: {
|
|
2239
|
-
"0": {
|
|
2240
|
-
name: "meta.preprocessor.objc"
|
|
2241
|
-
},
|
|
2242
|
-
"1": {
|
|
2243
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2244
|
-
},
|
|
2245
|
-
"2": {
|
|
2246
|
-
name: "punctuation.definition.directive.objc"
|
|
2247
|
-
}
|
|
2248
|
-
},
|
|
2249
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
2250
|
-
patterns: [
|
|
2251
|
-
{
|
|
2252
|
-
include: "#disabled"
|
|
2253
|
-
},
|
|
2254
|
-
{
|
|
2255
|
-
include: "#pragma-mark"
|
|
2256
|
-
}
|
|
2257
|
-
]
|
|
2258
|
-
},
|
|
2259
|
-
{
|
|
2260
|
-
contentName: "comment.block.preprocessor.elif-branch.objc",
|
|
2261
|
-
begin: "^\\s*((#)\\s*(elif)\\b)",
|
|
2262
|
-
beginCaptures: {
|
|
2263
|
-
"0": {
|
|
2264
|
-
name: "meta.preprocessor.objc"
|
|
2265
|
-
},
|
|
2266
|
-
"1": {
|
|
2267
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2268
|
-
},
|
|
2269
|
-
"2": {
|
|
2270
|
-
name: "punctuation.definition.directive.objc"
|
|
2271
|
-
}
|
|
2272
|
-
},
|
|
2273
|
-
end: "(?=^\\s*((#)\\s*(?:else|elif|endif)\\b))",
|
|
2274
|
-
patterns: [
|
|
2275
|
-
{
|
|
2276
|
-
include: "#disabled"
|
|
2277
|
-
},
|
|
2278
|
-
{
|
|
2279
|
-
include: "#pragma-mark"
|
|
2280
|
-
}
|
|
2281
|
-
]
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
include: "#block_innards"
|
|
2285
|
-
}
|
|
2286
|
-
]
|
|
2287
|
-
}
|
|
2288
|
-
]
|
|
2289
|
-
},
|
|
2290
|
-
"preprocessor-rule-enabled-else": {
|
|
2291
|
-
begin: "^\\s*((#)\\s*else\\b)",
|
|
2292
|
-
beginCaptures: {
|
|
2293
|
-
"0": {
|
|
2294
|
-
name: "meta.preprocessor.objc"
|
|
2295
|
-
},
|
|
2296
|
-
"1": {
|
|
2297
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2298
|
-
},
|
|
2299
|
-
"2": {
|
|
2300
|
-
name: "punctuation.definition.directive.objc"
|
|
2301
|
-
}
|
|
2302
|
-
},
|
|
2303
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
2304
|
-
patterns: [
|
|
2305
|
-
{
|
|
2306
|
-
include: "$base"
|
|
2307
|
-
}
|
|
2308
|
-
]
|
|
2309
|
-
},
|
|
2310
|
-
"preprocessor-rule-enabled-else-block": {
|
|
2311
|
-
begin: "^\\s*((#)\\s*else\\b)",
|
|
2312
|
-
beginCaptures: {
|
|
2313
|
-
"0": {
|
|
2314
|
-
name: "meta.preprocessor.objc"
|
|
2315
|
-
},
|
|
2316
|
-
"1": {
|
|
2317
|
-
name: "keyword.control.directive.conditional.objc"
|
|
2318
|
-
},
|
|
2319
|
-
"2": {
|
|
2320
|
-
name: "punctuation.definition.directive.objc"
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
|
-
end: "(?=^\\s*((#)\\s*endif\\b))",
|
|
2324
|
-
patterns: [
|
|
2325
|
-
{
|
|
2326
|
-
include: "#block_innards"
|
|
2327
|
-
}
|
|
2328
|
-
]
|
|
2329
|
-
},
|
|
2330
|
-
"preprocessor-rule-define-line-contents": {
|
|
2331
|
-
patterns: [
|
|
2332
|
-
{
|
|
2333
|
-
include: "#vararg_ellipses"
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
begin: "{",
|
|
2337
|
-
beginCaptures: {
|
|
2338
|
-
"0": {
|
|
2339
|
-
name: "punctuation.section.block.begin.bracket.curly.objc"
|
|
2340
|
-
}
|
|
2341
|
-
},
|
|
2342
|
-
end: "}|(?=\\s*#\\s*(?:elif|else|endif)\\b)|(?<!\\\\)(?=\\s*\\n)",
|
|
2343
|
-
endCaptures: {
|
|
2344
|
-
"0": {
|
|
2345
|
-
name: "punctuation.section.block.end.bracket.curly.objc"
|
|
2346
|
-
}
|
|
2347
|
-
},
|
|
2348
|
-
name: "meta.block.objc",
|
|
2349
|
-
patterns: [
|
|
2350
|
-
{
|
|
2351
|
-
include: "#preprocessor-rule-define-line-blocks"
|
|
2352
|
-
}
|
|
2353
|
-
]
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
match: "\\(",
|
|
2357
|
-
name: "punctuation.section.parens.begin.bracket.round.objc"
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
match: "\\)",
|
|
2361
|
-
name: "punctuation.section.parens.end.bracket.round.objc"
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
begin: "(?x)\n(?!(?: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*\\()\n(?=\n (?:[A-Za-z_][A-Za-z0-9_]*+|::)++\\s*\\( # actual name\n |\n (?:(?<=operator)(?:[-*&<>=+!]+|\\(\\)|\\[\\]))\\s*\\(\n)",
|
|
2365
|
-
end: "(?<=\\))(?!\\w)|(?<!\\\\)(?=\\s*\\n)",
|
|
2366
|
-
name: "meta.function.objc",
|
|
2367
|
-
patterns: [
|
|
2368
|
-
{
|
|
2369
|
-
include: "#preprocessor-rule-define-line-functions"
|
|
2370
|
-
}
|
|
2371
|
-
]
|
|
2372
|
-
},
|
|
2373
|
-
{
|
|
2374
|
-
begin: "\"",
|
|
2375
|
-
beginCaptures: {
|
|
2376
|
-
"0": {
|
|
2377
|
-
name: "punctuation.definition.string.begin.objc"
|
|
2378
|
-
}
|
|
2379
|
-
},
|
|
2380
|
-
end: "\"|(?<!\\\\)(?=\\s*\\n)",
|
|
2381
|
-
endCaptures: {
|
|
2382
|
-
"0": {
|
|
2383
|
-
name: "punctuation.definition.string.end.objc"
|
|
2384
|
-
}
|
|
2385
|
-
},
|
|
2386
|
-
name: "string.quoted.double.objc",
|
|
2387
|
-
patterns: [
|
|
2388
|
-
{
|
|
2389
|
-
include: "#string_escaped_char"
|
|
2390
|
-
},
|
|
2391
|
-
{
|
|
2392
|
-
include: "#string_placeholder"
|
|
2393
|
-
},
|
|
2394
|
-
{
|
|
2395
|
-
include: "#line_continuation_character"
|
|
2396
|
-
}
|
|
2397
|
-
]
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
begin: "'",
|
|
2401
|
-
beginCaptures: {
|
|
2402
|
-
"0": {
|
|
2403
|
-
name: "punctuation.definition.string.begin.objc"
|
|
2404
|
-
}
|
|
2405
|
-
},
|
|
2406
|
-
end: "'|(?<!\\\\)(?=\\s*\\n)",
|
|
2407
|
-
endCaptures: {
|
|
2408
|
-
"0": {
|
|
2409
|
-
name: "punctuation.definition.string.end.objc"
|
|
2410
|
-
}
|
|
2411
|
-
},
|
|
2412
|
-
name: "string.quoted.single.objc",
|
|
2413
|
-
patterns: [
|
|
2414
|
-
{
|
|
2415
|
-
include: "#string_escaped_char"
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
include: "#line_continuation_character"
|
|
2419
|
-
}
|
|
2420
|
-
]
|
|
2421
|
-
},
|
|
2422
|
-
{
|
|
2423
|
-
include: "#method_access"
|
|
2424
|
-
},
|
|
2425
|
-
{
|
|
2426
|
-
include: "#member_access"
|
|
2427
|
-
},
|
|
2428
|
-
{
|
|
2429
|
-
include: "$base"
|
|
2430
|
-
}
|
|
2431
|
-
]
|
|
2432
|
-
},
|
|
2433
|
-
"preprocessor-rule-define-line-blocks": {
|
|
2434
|
-
patterns: [
|
|
2435
|
-
{
|
|
2436
|
-
begin: "{",
|
|
2437
|
-
beginCaptures: {
|
|
2438
|
-
"0": {
|
|
2439
|
-
name: "punctuation.section.block.begin.bracket.curly.objc"
|
|
2440
|
-
}
|
|
2441
|
-
},
|
|
2442
|
-
end: "}|(?=\\s*#\\s*(?:elif|else|endif)\\b)|(?<!\\\\)(?=\\s*\\n)",
|
|
2443
|
-
endCaptures: {
|
|
2444
|
-
"0": {
|
|
2445
|
-
name: "punctuation.section.block.end.bracket.curly.objc"
|
|
2446
|
-
}
|
|
2447
|
-
},
|
|
2448
|
-
patterns: [
|
|
2449
|
-
{
|
|
2450
|
-
include: "#preprocessor-rule-define-line-blocks"
|
|
2451
|
-
},
|
|
2452
|
-
{
|
|
2453
|
-
include: "#preprocessor-rule-define-line-contents"
|
|
2454
|
-
}
|
|
2455
|
-
]
|
|
2456
|
-
},
|
|
2457
|
-
{
|
|
2458
|
-
include: "#preprocessor-rule-define-line-contents"
|
|
2459
|
-
}
|
|
2460
|
-
]
|
|
2461
|
-
},
|
|
2462
|
-
"preprocessor-rule-define-line-functions": {
|
|
2463
|
-
patterns: [
|
|
2464
|
-
{
|
|
2465
|
-
include: "#comments"
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
include: "#storage_types"
|
|
2469
|
-
},
|
|
2470
|
-
{
|
|
2471
|
-
include: "#vararg_ellipses"
|
|
2472
|
-
},
|
|
2473
|
-
{
|
|
2474
|
-
include: "#method_access"
|
|
2475
|
-
},
|
|
2476
|
-
{
|
|
2477
|
-
include: "#member_access"
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
include: "#operators"
|
|
2481
|
-
},
|
|
2482
|
-
{
|
|
2483
|
-
begin: "(?x)\n(?!(?: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*\\()\n(\n(?:[A-Za-z_][A-Za-z0-9_]*+|::)++ # actual name\n|\n(?:(?<=operator)(?:[-*&<>=+!]+|\\(\\)|\\[\\]))\n)\n\\s*(\\()",
|
|
2484
|
-
beginCaptures: {
|
|
2485
|
-
"1": {
|
|
2486
|
-
name: "entity.name.function.objc"
|
|
2487
|
-
},
|
|
2488
|
-
"2": {
|
|
2489
|
-
name: "punctuation.section.arguments.begin.bracket.round.objc"
|
|
2490
|
-
}
|
|
2491
|
-
},
|
|
2492
|
-
end: "(\\))|(?<!\\\\)(?=\\s*\\n)",
|
|
2493
|
-
endCaptures: {
|
|
2494
|
-
"1": {
|
|
2495
|
-
name: "punctuation.section.arguments.end.bracket.round.objc"
|
|
2496
|
-
}
|
|
2497
|
-
},
|
|
2498
|
-
patterns: [
|
|
2499
|
-
{
|
|
2500
|
-
include: "#preprocessor-rule-define-line-functions"
|
|
2501
|
-
}
|
|
2502
|
-
]
|
|
2503
|
-
},
|
|
2504
|
-
{
|
|
2505
|
-
begin: "\\(",
|
|
2506
|
-
beginCaptures: {
|
|
2507
|
-
"0": {
|
|
2508
|
-
name: "punctuation.section.parens.begin.bracket.round.objc"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
end: "(\\))|(?<!\\\\)(?=\\s*\\n)",
|
|
2512
|
-
endCaptures: {
|
|
2513
|
-
"1": {
|
|
2514
|
-
name: "punctuation.section.parens.end.bracket.round.objc"
|
|
2515
|
-
}
|
|
2516
|
-
},
|
|
2517
|
-
patterns: [
|
|
2518
|
-
{
|
|
2519
|
-
include: "#preprocessor-rule-define-line-functions"
|
|
2520
|
-
}
|
|
2521
|
-
]
|
|
2522
|
-
},
|
|
2523
|
-
{
|
|
2524
|
-
include: "#preprocessor-rule-define-line-contents"
|
|
2525
|
-
}
|
|
2526
|
-
]
|
|
2527
|
-
},
|
|
2528
|
-
"function-innards": {
|
|
2529
|
-
patterns: [
|
|
2530
|
-
{
|
|
2531
|
-
include: "#comments"
|
|
2532
|
-
},
|
|
2533
|
-
{
|
|
2534
|
-
include: "#storage_types"
|
|
2535
|
-
},
|
|
2536
|
-
{
|
|
2537
|
-
include: "#operators"
|
|
2538
|
-
},
|
|
2539
|
-
{
|
|
2540
|
-
include: "#vararg_ellipses"
|
|
2541
|
-
},
|
|
2542
|
-
{
|
|
2543
|
-
name: "meta.function.definition.parameters.objc",
|
|
2544
|
-
begin: "(?x)\n(?!(?: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*\\()\n(\n(?:[A-Za-z_][A-Za-z0-9_]*+|::)++ # actual name\n|\n(?:(?<=operator)(?:[-*&<>=+!]+|\\(\\)|\\[\\]))\n)\n\\s*(\\()",
|
|
2545
|
-
beginCaptures: {
|
|
2546
|
-
"1": {
|
|
2547
|
-
name: "entity.name.function.objc"
|
|
2548
|
-
},
|
|
2549
|
-
"2": {
|
|
2550
|
-
name: "punctuation.section.parameters.begin.bracket.round.objc"
|
|
2551
|
-
}
|
|
2552
|
-
},
|
|
2553
|
-
end: "\\)",
|
|
2554
|
-
endCaptures: {
|
|
2555
|
-
"0": {
|
|
2556
|
-
name: "punctuation.section.parameters.end.bracket.round.objc"
|
|
2557
|
-
}
|
|
2558
|
-
},
|
|
2559
|
-
patterns: [
|
|
2560
|
-
{
|
|
2561
|
-
include: "#probably_a_parameter"
|
|
2562
|
-
},
|
|
2563
|
-
{
|
|
2564
|
-
include: "#function-innards"
|
|
2565
|
-
}
|
|
2566
|
-
]
|
|
2567
|
-
},
|
|
2568
|
-
{
|
|
2569
|
-
begin: "\\(",
|
|
2570
|
-
beginCaptures: {
|
|
2571
|
-
"0": {
|
|
2572
|
-
name: "punctuation.section.parens.begin.bracket.round.objc"
|
|
2573
|
-
}
|
|
2574
|
-
},
|
|
2575
|
-
end: "\\)",
|
|
2576
|
-
endCaptures: {
|
|
2577
|
-
"0": {
|
|
2578
|
-
name: "punctuation.section.parens.end.bracket.round.objc"
|
|
2579
|
-
}
|
|
2580
|
-
},
|
|
2581
|
-
patterns: [
|
|
2582
|
-
{
|
|
2583
|
-
include: "#function-innards"
|
|
2584
|
-
}
|
|
2585
|
-
]
|
|
2586
|
-
},
|
|
2587
|
-
{
|
|
2588
|
-
include: "$base"
|
|
2589
|
-
}
|
|
2590
|
-
]
|
|
2591
|
-
},
|
|
2592
|
-
"function-call-innards": {
|
|
2593
|
-
patterns: [
|
|
2594
|
-
{
|
|
2595
|
-
include: "#comments"
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
include: "#storage_types"
|
|
2599
|
-
},
|
|
2600
|
-
{
|
|
2601
|
-
include: "#method_access"
|
|
2602
|
-
},
|
|
2603
|
-
{
|
|
2604
|
-
include: "#member_access"
|
|
2605
|
-
},
|
|
2606
|
-
{
|
|
2607
|
-
include: "#operators"
|
|
2608
|
-
},
|
|
2609
|
-
{
|
|
2610
|
-
begin: "(?x)\n(?!(?: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*\\()\n(\n(?:[A-Za-z_][A-Za-z0-9_]*+|::)++ # actual name\n|\n(?:(?<=operator)(?:[-*&<>=+!]+|\\(\\)|\\[\\]))\n)\n\\s*(\\()",
|
|
2611
|
-
beginCaptures: {
|
|
2612
|
-
"1": {
|
|
2613
|
-
name: "entity.name.function.objc"
|
|
2614
|
-
},
|
|
2615
|
-
"2": {
|
|
2616
|
-
name: "punctuation.section.arguments.begin.bracket.round.objc"
|
|
2617
|
-
}
|
|
2618
|
-
},
|
|
2619
|
-
end: "\\)",
|
|
2620
|
-
endCaptures: {
|
|
2621
|
-
"0": {
|
|
2622
|
-
name: "punctuation.section.arguments.end.bracket.round.objc"
|
|
2623
|
-
}
|
|
2624
|
-
},
|
|
2625
|
-
patterns: [
|
|
2626
|
-
{
|
|
2627
|
-
include: "#function-call-innards"
|
|
2628
|
-
}
|
|
2629
|
-
]
|
|
2630
|
-
},
|
|
2631
|
-
{
|
|
2632
|
-
begin: "\\(",
|
|
2633
|
-
beginCaptures: {
|
|
2634
|
-
"0": {
|
|
2635
|
-
name: "punctuation.section.parens.begin.bracket.round.objc"
|
|
2636
|
-
}
|
|
2637
|
-
},
|
|
2638
|
-
end: "\\)",
|
|
2639
|
-
endCaptures: {
|
|
2640
|
-
"0": {
|
|
2641
|
-
name: "punctuation.section.parens.end.bracket.round.objc"
|
|
2642
|
-
}
|
|
2643
|
-
},
|
|
2644
|
-
patterns: [
|
|
2645
|
-
{
|
|
2646
|
-
include: "#function-call-innards"
|
|
2647
|
-
}
|
|
2648
|
-
]
|
|
2649
|
-
},
|
|
2650
|
-
{
|
|
2651
|
-
include: "#block_innards"
|
|
2652
|
-
}
|
|
2653
|
-
]
|
|
2654
|
-
},
|
|
2655
|
-
default_statement: {
|
|
2656
|
-
name: "meta.conditional.case.objc",
|
|
2657
|
-
begin: "((?<!\\w)default(?!\\w))",
|
|
2658
|
-
beginCaptures: {
|
|
2659
|
-
"1": {
|
|
2660
|
-
name: "keyword.control.default.objc"
|
|
2661
|
-
}
|
|
2662
|
-
},
|
|
2663
|
-
end: "(:)",
|
|
2664
|
-
endCaptures: {
|
|
2665
|
-
"1": {
|
|
2666
|
-
name: "punctuation.separator.case.default.objc"
|
|
2667
|
-
}
|
|
2668
|
-
},
|
|
2669
|
-
patterns: [
|
|
2670
|
-
{
|
|
2671
|
-
include: "#conditional_context"
|
|
2672
|
-
}
|
|
2673
|
-
]
|
|
2674
|
-
},
|
|
2675
|
-
case_statement: {
|
|
2676
|
-
name: "meta.conditional.case.objc",
|
|
2677
|
-
begin: "((?<!\\w)case(?!\\w))",
|
|
2678
|
-
beginCaptures: {
|
|
2679
|
-
"1": {
|
|
2680
|
-
name: "keyword.control.case.objc"
|
|
2681
|
-
}
|
|
2682
|
-
},
|
|
2683
|
-
end: "(:)",
|
|
2684
|
-
endCaptures: {
|
|
2685
|
-
"1": {
|
|
2686
|
-
name: "punctuation.separator.case.objc"
|
|
2687
|
-
}
|
|
2688
|
-
},
|
|
2689
|
-
patterns: [
|
|
2690
|
-
{
|
|
2691
|
-
include: "#conditional_context"
|
|
2692
|
-
}
|
|
2693
|
-
]
|
|
2694
|
-
},
|
|
2695
|
-
switch_statement: {
|
|
2696
|
-
name: "meta.block.switch.objc",
|
|
2697
|
-
begin: "(((?<!\\w)switch(?!\\w)))",
|
|
2698
|
-
beginCaptures: {
|
|
2699
|
-
"1": {
|
|
2700
|
-
name: "meta.head.switch.objc"
|
|
2701
|
-
},
|
|
2702
|
-
"2": {
|
|
2703
|
-
name: "keyword.control.switch.objc"
|
|
2704
|
-
}
|
|
2705
|
-
},
|
|
2706
|
-
end: "(?:(?<=\\})|(?=[;>\\[\\]=]))",
|
|
2707
|
-
patterns: [
|
|
2708
|
-
{
|
|
2709
|
-
name: "meta.head.switch.objc",
|
|
2710
|
-
begin: "\\G ?",
|
|
2711
|
-
end: "((?:\\{|(?=;)))",
|
|
2712
|
-
endCaptures: {
|
|
2713
|
-
"1": {
|
|
2714
|
-
name: "punctuation.section.block.begin.bracket.curly.switch.objc"
|
|
2715
|
-
}
|
|
2716
|
-
},
|
|
2717
|
-
patterns: [
|
|
2718
|
-
{
|
|
2719
|
-
include: "#switch_conditional_parentheses"
|
|
2720
|
-
},
|
|
2721
|
-
{
|
|
2722
|
-
include: "$base"
|
|
2723
|
-
}
|
|
2724
|
-
]
|
|
2725
|
-
},
|
|
2726
|
-
{
|
|
2727
|
-
name: "meta.body.switch.objc",
|
|
2728
|
-
begin: "(?<=\\{)",
|
|
2729
|
-
end: "(\\})",
|
|
2730
|
-
endCaptures: {
|
|
2731
|
-
"1": {
|
|
2732
|
-
name: "punctuation.section.block.end.bracket.curly.switch.objc"
|
|
2733
|
-
}
|
|
2734
|
-
},
|
|
2735
|
-
patterns: [
|
|
2736
|
-
{
|
|
2737
|
-
include: "#default_statement"
|
|
2738
|
-
},
|
|
2739
|
-
{
|
|
2740
|
-
include: "#case_statement"
|
|
2741
|
-
},
|
|
2742
|
-
{
|
|
2743
|
-
include: "$base"
|
|
2744
|
-
},
|
|
2745
|
-
{
|
|
2746
|
-
include: "#block_innards"
|
|
2747
|
-
}
|
|
2748
|
-
]
|
|
2749
|
-
},
|
|
2750
|
-
{
|
|
2751
|
-
name: "meta.tail.switch.objc",
|
|
2752
|
-
begin: "(?<=})[\\s\\n]*",
|
|
2753
|
-
end: "[\\s\\n]*(?=;)",
|
|
2754
|
-
patterns: [
|
|
2755
|
-
{
|
|
2756
|
-
include: "$base"
|
|
2757
|
-
}
|
|
2758
|
-
]
|
|
2759
|
-
}
|
|
2760
|
-
]
|
|
2761
|
-
},
|
|
2762
|
-
switch_conditional_parentheses: {
|
|
2763
|
-
name: "meta.conditional.switch.objc",
|
|
2764
|
-
begin: "(\\()",
|
|
2765
|
-
beginCaptures: {
|
|
2766
|
-
"1": {
|
|
2767
|
-
name: "punctuation.section.parens.begin.bracket.round.conditional.switch.objc"
|
|
2768
|
-
}
|
|
2769
|
-
},
|
|
2770
|
-
end: "(\\))",
|
|
2771
|
-
endCaptures: {
|
|
2772
|
-
"1": {
|
|
2773
|
-
name: "punctuation.section.parens.end.bracket.round.conditional.switch.objc"
|
|
2774
|
-
}
|
|
2775
|
-
},
|
|
2776
|
-
patterns: [
|
|
2777
|
-
{
|
|
2778
|
-
include: "#conditional_context"
|
|
2779
|
-
}
|
|
2780
|
-
]
|
|
2781
|
-
},
|
|
2782
|
-
static_assert: {
|
|
2783
|
-
begin: "(static_assert|_Static_assert)\\s*(\\()",
|
|
2784
|
-
beginCaptures: {
|
|
2785
|
-
"1": {
|
|
2786
|
-
name: "keyword.other.static_assert.objc"
|
|
2787
|
-
},
|
|
2788
|
-
"2": {
|
|
2789
|
-
name: "punctuation.section.arguments.begin.bracket.round.objc"
|
|
2790
|
-
}
|
|
2791
|
-
},
|
|
2792
|
-
end: "(\\))",
|
|
2793
|
-
endCaptures: {
|
|
2794
|
-
"1": {
|
|
2795
|
-
name: "punctuation.section.arguments.end.bracket.round.objc"
|
|
2796
|
-
}
|
|
2797
|
-
},
|
|
2798
|
-
patterns: [
|
|
2799
|
-
{
|
|
2800
|
-
name: "meta.static_assert.message.objc",
|
|
2801
|
-
begin: "(,)\\s*(?=(?:L|u8|u|U\\s*\\\")?)",
|
|
2802
|
-
beginCaptures: {
|
|
2803
|
-
"1": {
|
|
2804
|
-
name: "punctuation.separator.delimiter.objc"
|
|
2805
|
-
}
|
|
2806
|
-
},
|
|
2807
|
-
end: "(?=\\))",
|
|
2808
|
-
patterns: [
|
|
2809
|
-
{
|
|
2810
|
-
include: "#string_context"
|
|
2811
|
-
},
|
|
2812
|
-
{
|
|
2813
|
-
include: "#string_context_c"
|
|
2814
|
-
}
|
|
2815
|
-
]
|
|
2816
|
-
},
|
|
2817
|
-
{
|
|
2818
|
-
include: "#function_call_context"
|
|
2819
|
-
}
|
|
2820
|
-
]
|
|
2821
|
-
},
|
|
2822
|
-
conditional_context: {
|
|
2823
|
-
patterns: [
|
|
2824
|
-
{
|
|
2825
|
-
include: "$base"
|
|
2826
|
-
},
|
|
2827
|
-
{
|
|
2828
|
-
include: "#block_innards"
|
|
2829
|
-
}
|
|
2830
|
-
]
|
|
2831
|
-
},
|
|
2832
|
-
member_access: {
|
|
2833
|
-
match: "((?:[a-zA-Z_]\\w*|(?<=\\]|\\)))\\s*)(?:((?:\\.\\*|\\.))|((?:->\\*|->)))((?:[a-zA-Z_]\\w*\\s*(?-mix:(?:(?:\\.\\*|\\.))|(?:(?:->\\*|->)))\\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(?!\\())",
|
|
2834
|
-
captures: {
|
|
2835
|
-
"1": {
|
|
2836
|
-
patterns: [
|
|
2837
|
-
{
|
|
2838
|
-
include: "#special_variables"
|
|
2839
|
-
},
|
|
2840
|
-
{
|
|
2841
|
-
name: "variable.other.object.access.objc",
|
|
2842
|
-
match: "(.+)"
|
|
2843
|
-
}
|
|
2844
|
-
]
|
|
2845
|
-
},
|
|
2846
|
-
"2": {
|
|
2847
|
-
name: "punctuation.separator.dot-access.objc"
|
|
2848
|
-
},
|
|
2849
|
-
"3": {
|
|
2850
|
-
name: "punctuation.separator.pointer-access.objc"
|
|
2851
|
-
},
|
|
2852
|
-
"4": {
|
|
2853
|
-
patterns: [
|
|
2854
|
-
{
|
|
2855
|
-
include: "#member_access"
|
|
2856
|
-
},
|
|
2857
|
-
{
|
|
2858
|
-
include: "#method_access"
|
|
2859
|
-
},
|
|
2860
|
-
{
|
|
2861
|
-
match: "((?:[a-zA-Z_]\\w*|(?<=\\]|\\)))\\s*)(?:((?:\\.\\*|\\.))|((?:->\\*|->)))",
|
|
2862
|
-
captures: {
|
|
2863
|
-
"1": {
|
|
2864
|
-
patterns: [
|
|
2865
|
-
{
|
|
2866
|
-
include: "#special_variables"
|
|
2867
|
-
},
|
|
2868
|
-
{
|
|
2869
|
-
name: "variable.other.object.access.objc",
|
|
2870
|
-
match: "(.+)"
|
|
2871
|
-
}
|
|
2872
|
-
]
|
|
2873
|
-
},
|
|
2874
|
-
"2": {
|
|
2875
|
-
name: "punctuation.separator.dot-access.objc"
|
|
2876
|
-
},
|
|
2877
|
-
"3": {
|
|
2878
|
-
name: "punctuation.separator.pointer-access.objc"
|
|
2879
|
-
}
|
|
2880
|
-
}
|
|
2881
|
-
}
|
|
2882
|
-
]
|
|
2883
|
-
},
|
|
2884
|
-
"5": {
|
|
2885
|
-
name: "variable.other.member.objc"
|
|
2886
|
-
}
|
|
2887
|
-
}
|
|
2888
|
-
},
|
|
2889
|
-
method_access: {
|
|
2890
|
-
contentName: "meta.function-call.member.objc",
|
|
2891
|
-
begin: "((?:[a-zA-Z_]\\w*|(?<=\\]|\\)))\\s*)(?:((?:\\.\\*|\\.))|((?:->\\*|->)))((?:[a-zA-Z_]\\w*\\s*(?-mix:(?:(?:\\.\\*|\\.))|(?:(?:->\\*|->)))\\s*)*)\\s*([a-zA-Z_]\\w*)(\\()",
|
|
2892
|
-
beginCaptures: {
|
|
2893
|
-
"1": {
|
|
2894
|
-
patterns: [
|
|
2895
|
-
{
|
|
2896
|
-
include: "#special_variables"
|
|
2897
|
-
},
|
|
2898
|
-
{
|
|
2899
|
-
name: "variable.other.object.access.objc",
|
|
2900
|
-
match: "(.+)"
|
|
2901
|
-
}
|
|
2902
|
-
]
|
|
2903
|
-
},
|
|
2904
|
-
"2": {
|
|
2905
|
-
name: "punctuation.separator.dot-access.objc"
|
|
2906
|
-
},
|
|
2907
|
-
"3": {
|
|
2908
|
-
name: "punctuation.separator.pointer-access.objc"
|
|
2909
|
-
},
|
|
2910
|
-
"4": {
|
|
2911
|
-
patterns: [
|
|
2912
|
-
{
|
|
2913
|
-
include: "#member_access"
|
|
2914
|
-
},
|
|
2915
|
-
{
|
|
2916
|
-
include: "#method_access"
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
match: "((?:[a-zA-Z_]\\w*|(?<=\\]|\\)))\\s*)(?:((?:\\.\\*|\\.))|((?:->\\*|->)))",
|
|
2920
|
-
captures: {
|
|
2921
|
-
"1": {
|
|
2922
|
-
patterns: [
|
|
2923
|
-
{
|
|
2924
|
-
include: "#special_variables"
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
name: "variable.other.object.access.objc",
|
|
2928
|
-
match: "(.+)"
|
|
2929
|
-
}
|
|
2930
|
-
]
|
|
2931
|
-
},
|
|
2932
|
-
"2": {
|
|
2933
|
-
name: "punctuation.separator.dot-access.objc"
|
|
2934
|
-
},
|
|
2935
|
-
"3": {
|
|
2936
|
-
name: "punctuation.separator.pointer-access.objc"
|
|
2937
|
-
}
|
|
2938
|
-
}
|
|
2939
|
-
}
|
|
2940
|
-
]
|
|
2941
|
-
},
|
|
2942
|
-
"5": {
|
|
2943
|
-
name: "entity.name.function.member.objc"
|
|
2944
|
-
},
|
|
2945
|
-
"6": {
|
|
2946
|
-
name: "punctuation.section.arguments.begin.bracket.round.function.member.objc"
|
|
2947
|
-
}
|
|
2948
|
-
},
|
|
2949
|
-
end: "(\\))",
|
|
2950
|
-
endCaptures: {
|
|
2951
|
-
"1": {
|
|
2952
|
-
name: "punctuation.section.arguments.end.bracket.round.function.member.objc"
|
|
2953
|
-
}
|
|
2954
|
-
},
|
|
2955
|
-
patterns: [
|
|
2956
|
-
{
|
|
2957
|
-
include: "#function-call-innards"
|
|
2958
|
-
}
|
|
2959
|
-
]
|
|
2960
|
-
},
|
|
2961
|
-
numbers: {
|
|
2962
|
-
begin: "(?<!\\w)(?=\\d|\\.\\d)",
|
|
2963
|
-
end: "(?!(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))",
|
|
2964
|
-
patterns: [
|
|
2965
|
-
{
|
|
2966
|
-
match: "(\\G0[xX])(?:([0-9a-fA-F](?:(?:[0-9a-fA-F]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*))?((?:(?<=[0-9a-fA-F])\\.|\\.(?=[0-9a-fA-F])))(?:([0-9a-fA-F](?:(?:[0-9a-fA-F]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*))?(?:((?<!')([pP])(\\+)?(\\-)?((?-mix:(?:[0-9](?:(?:[0-9]|(?:(?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*)))))?(?:([lLfF](?!\\w)))?(?!(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))",
|
|
2967
|
-
captures: {
|
|
2968
|
-
"1": {
|
|
2969
|
-
name: "keyword.other.unit.hexadecimal.objc"
|
|
2970
|
-
},
|
|
2971
|
-
"2": {
|
|
2972
|
-
name: "constant.numeric.hexadecimal.objc",
|
|
2973
|
-
patterns: [
|
|
2974
|
-
{
|
|
2975
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
2976
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
2977
|
-
}
|
|
2978
|
-
]
|
|
2979
|
-
},
|
|
2980
|
-
"3": {
|
|
2981
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
2982
|
-
},
|
|
2983
|
-
"4": {
|
|
2984
|
-
name: "constant.numeric.hexadecimal.objc"
|
|
2985
|
-
},
|
|
2986
|
-
"5": {
|
|
2987
|
-
name: "constant.numeric.hexadecimal.objc",
|
|
2988
|
-
patterns: [
|
|
2989
|
-
{
|
|
2990
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
2991
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
2992
|
-
}
|
|
2993
|
-
]
|
|
2994
|
-
},
|
|
2995
|
-
"6": {
|
|
2996
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
2997
|
-
},
|
|
2998
|
-
"8": {
|
|
2999
|
-
name: "keyword.other.unit.exponent.hexadecimal.objc"
|
|
3000
|
-
},
|
|
3001
|
-
"9": {
|
|
3002
|
-
name: "keyword.operator.plus.exponent.hexadecimal.objc"
|
|
3003
|
-
},
|
|
3004
|
-
"10": {
|
|
3005
|
-
name: "keyword.operator.minus.exponent.hexadecimal.objc"
|
|
3006
|
-
},
|
|
3007
|
-
"11": {
|
|
3008
|
-
name: "constant.numeric.exponent.hexadecimal.objc",
|
|
3009
|
-
patterns: [
|
|
3010
|
-
{
|
|
3011
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3012
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3013
|
-
}
|
|
3014
|
-
]
|
|
3015
|
-
},
|
|
3016
|
-
"12": {
|
|
3017
|
-
name: "keyword.other.unit.suffix.floating-point.objc"
|
|
3018
|
-
}
|
|
3019
|
-
}
|
|
3020
|
-
},
|
|
3021
|
-
{
|
|
3022
|
-
match: "(\\G(?=[0-9.])(?!0[xXbB]))(?:([0-9](?:(?:[0-9]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*))?((?:(?<=[0-9])\\.|\\.(?=[0-9])))(?:([0-9](?:(?:[0-9]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*))?(?:((?<!')([eE])(\\+)?(\\-)?((?-mix:(?:[0-9](?:(?:[0-9]|(?:(?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*)))))?(?:([lLfF](?!\\w)))?(?!(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))",
|
|
3023
|
-
captures: {
|
|
3024
|
-
"2": {
|
|
3025
|
-
name: "constant.numeric.decimal.objc",
|
|
3026
|
-
patterns: [
|
|
3027
|
-
{
|
|
3028
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3029
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3030
|
-
}
|
|
3031
|
-
]
|
|
3032
|
-
},
|
|
3033
|
-
"3": {
|
|
3034
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3035
|
-
},
|
|
3036
|
-
"4": {
|
|
3037
|
-
name: "constant.numeric.decimal.point.objc"
|
|
3038
|
-
},
|
|
3039
|
-
"5": {
|
|
3040
|
-
name: "constant.numeric.decimal.objc",
|
|
3041
|
-
patterns: [
|
|
3042
|
-
{
|
|
3043
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3044
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3045
|
-
}
|
|
3046
|
-
]
|
|
3047
|
-
},
|
|
3048
|
-
"6": {
|
|
3049
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3050
|
-
},
|
|
3051
|
-
"8": {
|
|
3052
|
-
name: "keyword.other.unit.exponent.decimal.objc"
|
|
3053
|
-
},
|
|
3054
|
-
"9": {
|
|
3055
|
-
name: "keyword.operator.plus.exponent.decimal.objc"
|
|
3056
|
-
},
|
|
3057
|
-
"10": {
|
|
3058
|
-
name: "keyword.operator.minus.exponent.decimal.objc"
|
|
3059
|
-
},
|
|
3060
|
-
"11": {
|
|
3061
|
-
name: "constant.numeric.exponent.decimal.objc",
|
|
3062
|
-
patterns: [
|
|
3063
|
-
{
|
|
3064
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3065
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3066
|
-
}
|
|
3067
|
-
]
|
|
3068
|
-
},
|
|
3069
|
-
"12": {
|
|
3070
|
-
name: "keyword.other.unit.suffix.floating-point.objc"
|
|
3071
|
-
}
|
|
3072
|
-
}
|
|
3073
|
-
},
|
|
3074
|
-
{
|
|
3075
|
-
match: "(\\G0[bB])([01](?:(?:[01]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*)(?:((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w)))?(?!(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))",
|
|
3076
|
-
captures: {
|
|
3077
|
-
"1": {
|
|
3078
|
-
name: "keyword.other.unit.binary.objc"
|
|
3079
|
-
},
|
|
3080
|
-
"2": {
|
|
3081
|
-
name: "constant.numeric.binary.objc",
|
|
3082
|
-
patterns: [
|
|
3083
|
-
{
|
|
3084
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3085
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3086
|
-
}
|
|
3087
|
-
]
|
|
3088
|
-
},
|
|
3089
|
-
"3": {
|
|
3090
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3091
|
-
},
|
|
3092
|
-
"4": {
|
|
3093
|
-
name: "keyword.other.unit.suffix.integer.objc"
|
|
3094
|
-
}
|
|
3095
|
-
}
|
|
3096
|
-
},
|
|
3097
|
-
{
|
|
3098
|
-
match: "(\\G0)((?:(?:[0-7]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))+)(?:((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w)))?(?!(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))",
|
|
3099
|
-
captures: {
|
|
3100
|
-
"1": {
|
|
3101
|
-
name: "keyword.other.unit.octal.objc"
|
|
3102
|
-
},
|
|
3103
|
-
"2": {
|
|
3104
|
-
name: "constant.numeric.octal.objc",
|
|
3105
|
-
patterns: [
|
|
3106
|
-
{
|
|
3107
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3108
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3109
|
-
}
|
|
3110
|
-
]
|
|
3111
|
-
},
|
|
3112
|
-
"3": {
|
|
3113
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3114
|
-
},
|
|
3115
|
-
"4": {
|
|
3116
|
-
name: "keyword.other.unit.suffix.integer.objc"
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
match: "(\\G0[xX])([0-9a-fA-F](?:(?:[0-9a-fA-F]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*)(?:((?<!')([pP])(\\+)?(\\-)?((?-mix:(?:[0-9](?:(?:[0-9]|(?:(?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*)))))?(?:((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w)))?(?!(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))",
|
|
3122
|
-
captures: {
|
|
3123
|
-
"1": {
|
|
3124
|
-
name: "keyword.other.unit.hexadecimal.objc"
|
|
3125
|
-
},
|
|
3126
|
-
"2": {
|
|
3127
|
-
name: "constant.numeric.hexadecimal.objc",
|
|
3128
|
-
patterns: [
|
|
3129
|
-
{
|
|
3130
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3131
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3132
|
-
}
|
|
3133
|
-
]
|
|
3134
|
-
},
|
|
3135
|
-
"3": {
|
|
3136
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3137
|
-
},
|
|
3138
|
-
"5": {
|
|
3139
|
-
name: "keyword.other.unit.exponent.hexadecimal.objc"
|
|
3140
|
-
},
|
|
3141
|
-
"6": {
|
|
3142
|
-
name: "keyword.operator.plus.exponent.hexadecimal.objc"
|
|
3143
|
-
},
|
|
3144
|
-
"7": {
|
|
3145
|
-
name: "keyword.operator.minus.exponent.hexadecimal.objc"
|
|
3146
|
-
},
|
|
3147
|
-
"8": {
|
|
3148
|
-
name: "constant.numeric.exponent.hexadecimal.objc",
|
|
3149
|
-
patterns: [
|
|
3150
|
-
{
|
|
3151
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3152
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3153
|
-
}
|
|
3154
|
-
]
|
|
3155
|
-
},
|
|
3156
|
-
"9": {
|
|
3157
|
-
name: "keyword.other.unit.suffix.integer.objc"
|
|
3158
|
-
}
|
|
3159
|
-
}
|
|
3160
|
-
},
|
|
3161
|
-
{
|
|
3162
|
-
match: "(\\G(?=[0-9.])(?!0[xXbB]))([0-9](?:(?:[0-9]|((?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*)(?:((?<!')([eE])(\\+)?(\\-)?((?-mix:(?:[0-9](?:(?:[0-9]|(?:(?<=[0-9a-fA-F])'(?=[0-9a-fA-F]))))*)))))?(?:((?:(?:(?:(?:(?:[uU]|[uU]ll?)|[uU]LL?)|ll?[uU]?)|LL?[uU]?)|[fF])(?!\\w)))?(?!(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))",
|
|
3163
|
-
captures: {
|
|
3164
|
-
"2": {
|
|
3165
|
-
name: "constant.numeric.decimal.objc",
|
|
3166
|
-
patterns: [
|
|
3167
|
-
{
|
|
3168
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3169
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3170
|
-
}
|
|
3171
|
-
]
|
|
3172
|
-
},
|
|
3173
|
-
"3": {
|
|
3174
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3175
|
-
},
|
|
3176
|
-
"5": {
|
|
3177
|
-
name: "keyword.other.unit.exponent.decimal.objc"
|
|
3178
|
-
},
|
|
3179
|
-
"6": {
|
|
3180
|
-
name: "keyword.operator.plus.exponent.decimal.objc"
|
|
3181
|
-
},
|
|
3182
|
-
"7": {
|
|
3183
|
-
name: "keyword.operator.minus.exponent.decimal.objc"
|
|
3184
|
-
},
|
|
3185
|
-
"8": {
|
|
3186
|
-
name: "constant.numeric.exponent.decimal.objc",
|
|
3187
|
-
patterns: [
|
|
3188
|
-
{
|
|
3189
|
-
match: "(?<=[0-9a-fA-F])'(?=[0-9a-fA-F])",
|
|
3190
|
-
name: "punctuation.separator.constant.numeric.objc"
|
|
3191
|
-
}
|
|
3192
|
-
]
|
|
3193
|
-
},
|
|
3194
|
-
"9": {
|
|
3195
|
-
name: "keyword.other.unit.suffix.integer.objc"
|
|
3196
|
-
}
|
|
3197
|
-
}
|
|
3198
|
-
},
|
|
3199
|
-
{
|
|
3200
|
-
match: "(?:(?:['0-9a-zA-Z_\\.']|(?<=[eEpP])[+-]))+",
|
|
3201
|
-
name: "invalid.illegal.constant.numeric.objc"
|
|
3202
|
-
}
|
|
3203
|
-
]
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
},
|
|
3207
|
-
comment: {
|
|
3208
|
-
patterns: [
|
|
3209
|
-
{
|
|
3210
|
-
begin: "/\\*",
|
|
3211
|
-
captures: {
|
|
3212
|
-
"0": {
|
|
3213
|
-
name: "punctuation.definition.comment.objc"
|
|
3214
|
-
}
|
|
3215
|
-
},
|
|
3216
|
-
end: "\\*/",
|
|
3217
|
-
name: "comment.block.objc"
|
|
3218
|
-
},
|
|
3219
|
-
{
|
|
3220
|
-
begin: "(^[ \\t]+)?(?=//)",
|
|
3221
|
-
beginCaptures: {
|
|
3222
|
-
"1": {
|
|
3223
|
-
name: "punctuation.whitespace.comment.leading.objc"
|
|
3224
|
-
}
|
|
3225
|
-
},
|
|
3226
|
-
end: "(?!\\G)",
|
|
3227
|
-
patterns: [
|
|
3228
|
-
{
|
|
3229
|
-
begin: "//",
|
|
3230
|
-
beginCaptures: {
|
|
3231
|
-
"0": {
|
|
3232
|
-
name: "punctuation.definition.comment.objc"
|
|
3233
|
-
}
|
|
3234
|
-
},
|
|
3235
|
-
end: "\\n",
|
|
3236
|
-
name: "comment.line.double-slash.objc",
|
|
3237
|
-
patterns: [
|
|
3238
|
-
{
|
|
3239
|
-
match: "(?>\\\\\\s*\\n)",
|
|
3240
|
-
name: "punctuation.separator.continuation.objc"
|
|
3241
|
-
}
|
|
3242
|
-
]
|
|
3243
|
-
}
|
|
3244
|
-
]
|
|
3245
|
-
}
|
|
3246
|
-
]
|
|
3247
|
-
},
|
|
3248
|
-
disabled: {
|
|
3249
|
-
begin: "^\\s*#\\s*if(n?def)?\\b.*$",
|
|
3250
|
-
comment: "eat nested preprocessor if(def)s",
|
|
3251
|
-
end: "^\\s*#\\s*endif\\b.*$",
|
|
3252
|
-
patterns: [
|
|
3253
|
-
{
|
|
3254
|
-
include: "#disabled"
|
|
3255
|
-
},
|
|
3256
|
-
{
|
|
3257
|
-
include: "#pragma-mark"
|
|
3258
|
-
}
|
|
3259
|
-
]
|
|
3260
|
-
},
|
|
3261
|
-
implementation_innards: {
|
|
3262
|
-
patterns: [
|
|
3263
|
-
{
|
|
3264
|
-
include: "#preprocessor-rule-enabled-implementation"
|
|
3265
|
-
},
|
|
3266
|
-
{
|
|
3267
|
-
include: "#preprocessor-rule-disabled-implementation"
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
include: "#preprocessor-rule-other-implementation"
|
|
3271
|
-
},
|
|
3272
|
-
{
|
|
3273
|
-
include: "#property_directive"
|
|
3274
|
-
},
|
|
3275
|
-
{
|
|
3276
|
-
include: "#method_super"
|
|
3277
|
-
},
|
|
3278
|
-
{
|
|
3279
|
-
include: "$base"
|
|
3280
|
-
}
|
|
3281
|
-
]
|
|
3282
|
-
},
|
|
3283
|
-
interface_innards: {
|
|
3284
|
-
patterns: [
|
|
3285
|
-
{
|
|
3286
|
-
include: "#preprocessor-rule-enabled-interface"
|
|
3287
|
-
},
|
|
3288
|
-
{
|
|
3289
|
-
include: "#preprocessor-rule-disabled-interface"
|
|
3290
|
-
},
|
|
3291
|
-
{
|
|
3292
|
-
include: "#preprocessor-rule-other-interface"
|
|
3293
|
-
},
|
|
3294
|
-
{
|
|
3295
|
-
include: "#properties"
|
|
3296
|
-
},
|
|
3297
|
-
{
|
|
3298
|
-
include: "#protocol_list"
|
|
3299
|
-
},
|
|
3300
|
-
{
|
|
3301
|
-
include: "#method"
|
|
3302
|
-
},
|
|
3303
|
-
{
|
|
3304
|
-
include: "$base"
|
|
3305
|
-
}
|
|
3306
|
-
]
|
|
3307
|
-
},
|
|
3308
|
-
method: {
|
|
3309
|
-
begin: "^(-|\\+)\\s*",
|
|
3310
|
-
end: "(?=\\{|#)|;",
|
|
3311
|
-
name: "meta.function.objc",
|
|
3312
|
-
patterns: [
|
|
3313
|
-
{
|
|
3314
|
-
begin: "(\\()",
|
|
3315
|
-
beginCaptures: {
|
|
3316
|
-
"1": {
|
|
3317
|
-
name: "punctuation.definition.type.begin.objc"
|
|
3318
|
-
}
|
|
3319
|
-
},
|
|
3320
|
-
end: "(\\))\\s*(\\w+\\b)",
|
|
3321
|
-
endCaptures: {
|
|
3322
|
-
"1": {
|
|
3323
|
-
name: "punctuation.definition.type.end.objc"
|
|
3324
|
-
},
|
|
3325
|
-
"2": {
|
|
3326
|
-
name: "entity.name.function.objc"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
name: "meta.return-type.objc",
|
|
3330
|
-
patterns: [
|
|
3331
|
-
{
|
|
3332
|
-
include: "#protocol_list"
|
|
3333
|
-
},
|
|
3334
|
-
{
|
|
3335
|
-
include: "#protocol_type_qualifier"
|
|
3336
|
-
},
|
|
3337
|
-
{
|
|
3338
|
-
include: "$base"
|
|
3339
|
-
}
|
|
3340
|
-
]
|
|
3341
|
-
},
|
|
3342
|
-
{
|
|
3343
|
-
match: "\\b\\w+(?=:)",
|
|
3344
|
-
name: "entity.name.function.name-of-parameter.objc"
|
|
3345
|
-
},
|
|
3346
|
-
{
|
|
3347
|
-
begin: "((:))\\s*(\\()",
|
|
3348
|
-
beginCaptures: {
|
|
3349
|
-
"1": {
|
|
3350
|
-
name: "entity.name.function.name-of-parameter.objc"
|
|
3351
|
-
},
|
|
3352
|
-
"2": {
|
|
3353
|
-
name: "punctuation.separator.arguments.objc"
|
|
3354
|
-
},
|
|
3355
|
-
"3": {
|
|
3356
|
-
name: "punctuation.definition.type.begin.objc"
|
|
3357
|
-
}
|
|
3358
|
-
},
|
|
3359
|
-
end: "(\\))\\s*(\\w+\\b)?",
|
|
3360
|
-
endCaptures: {
|
|
3361
|
-
"1": {
|
|
3362
|
-
name: "punctuation.definition.type.end.objc"
|
|
3363
|
-
},
|
|
3364
|
-
"2": {
|
|
3365
|
-
name: "variable.parameter.function.objc"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
name: "meta.argument-type.objc",
|
|
3369
|
-
patterns: [
|
|
3370
|
-
{
|
|
3371
|
-
include: "#protocol_list"
|
|
3372
|
-
},
|
|
3373
|
-
{
|
|
3374
|
-
include: "#protocol_type_qualifier"
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
include: "$base"
|
|
3378
|
-
}
|
|
3379
|
-
]
|
|
3380
|
-
},
|
|
3381
|
-
{
|
|
3382
|
-
include: "#comment"
|
|
3383
|
-
}
|
|
3384
|
-
]
|
|
3385
|
-
},
|
|
3386
|
-
method_super: {
|
|
3387
|
-
begin: "^(?=-|\\+)",
|
|
3388
|
-
end: "(?<=\\})|(?=#)",
|
|
3389
|
-
name: "meta.function-with-body.objc",
|
|
3390
|
-
patterns: [
|
|
3391
|
-
{
|
|
3392
|
-
include: "#method"
|
|
3393
|
-
},
|
|
3394
|
-
{
|
|
3395
|
-
include: "$base"
|
|
3396
|
-
}
|
|
3397
|
-
]
|
|
3398
|
-
},
|
|
3399
|
-
"pragma-mark": {
|
|
3400
|
-
captures: {
|
|
3401
|
-
"1": {
|
|
3402
|
-
name: "meta.preprocessor.objc"
|
|
3403
|
-
},
|
|
3404
|
-
"2": {
|
|
3405
|
-
name: "keyword.control.import.pragma.objc"
|
|
3406
|
-
},
|
|
3407
|
-
"3": {
|
|
3408
|
-
name: "meta.toc-list.pragma-mark.objc"
|
|
3409
|
-
}
|
|
3410
|
-
},
|
|
3411
|
-
match: "^\\s*(#\\s*(pragma\\s+mark)\\s+(.*))",
|
|
3412
|
-
name: "meta.section.objc"
|
|
3413
|
-
},
|
|
3414
|
-
"preprocessor-rule-disabled-implementation": {
|
|
3415
|
-
begin: "^\\s*(#(if)\\s+(0)\\b).*",
|
|
3416
|
-
captures: {
|
|
3417
|
-
"1": {
|
|
3418
|
-
name: "meta.preprocessor.objc"
|
|
3419
|
-
},
|
|
3420
|
-
"2": {
|
|
3421
|
-
name: "keyword.control.import.if.objc"
|
|
3422
|
-
},
|
|
3423
|
-
"3": {
|
|
3424
|
-
name: "constant.numeric.preprocessor.objc"
|
|
3425
|
-
}
|
|
3426
|
-
},
|
|
3427
|
-
end: "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3428
|
-
patterns: [
|
|
3429
|
-
{
|
|
3430
|
-
begin: "^\\s*(#\\s*(else)\\b)",
|
|
3431
|
-
captures: {
|
|
3432
|
-
"1": {
|
|
3433
|
-
name: "meta.preprocessor.objc"
|
|
3434
|
-
},
|
|
3435
|
-
"2": {
|
|
3436
|
-
name: "keyword.control.import.else.objc"
|
|
3437
|
-
}
|
|
3438
|
-
},
|
|
3439
|
-
end: "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3440
|
-
patterns: [
|
|
3441
|
-
{
|
|
3442
|
-
include: "#interface_innards"
|
|
3443
|
-
}
|
|
3444
|
-
]
|
|
3445
|
-
},
|
|
3446
|
-
{
|
|
3447
|
-
begin: "",
|
|
3448
|
-
end: "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3449
|
-
name: "comment.block.preprocessor.if-branch.objc",
|
|
3450
|
-
patterns: [
|
|
3451
|
-
{
|
|
3452
|
-
include: "#disabled"
|
|
3453
|
-
},
|
|
3454
|
-
{
|
|
3455
|
-
include: "#pragma-mark"
|
|
3456
|
-
}
|
|
3457
|
-
]
|
|
3458
|
-
}
|
|
3459
|
-
]
|
|
3460
|
-
},
|
|
3461
|
-
"preprocessor-rule-disabled-interface": {
|
|
3462
|
-
begin: "^\\s*(#(if)\\s+(0)\\b).*",
|
|
3463
|
-
captures: {
|
|
3464
|
-
"1": {
|
|
3465
|
-
name: "meta.preprocessor.objc"
|
|
3466
|
-
},
|
|
3467
|
-
"2": {
|
|
3468
|
-
name: "keyword.control.import.if.objc"
|
|
3469
|
-
},
|
|
3470
|
-
"3": {
|
|
3471
|
-
name: "constant.numeric.preprocessor.objc"
|
|
3472
|
-
}
|
|
3473
|
-
},
|
|
3474
|
-
end: "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3475
|
-
patterns: [
|
|
3476
|
-
{
|
|
3477
|
-
begin: "^\\s*(#\\s*(else)\\b)",
|
|
3478
|
-
captures: {
|
|
3479
|
-
"1": {
|
|
3480
|
-
name: "meta.preprocessor.objc"
|
|
3481
|
-
},
|
|
3482
|
-
"2": {
|
|
3483
|
-
name: "keyword.control.import.else.objc"
|
|
3484
|
-
}
|
|
3485
|
-
},
|
|
3486
|
-
end: "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3487
|
-
patterns: [
|
|
3488
|
-
{
|
|
3489
|
-
include: "#interface_innards"
|
|
3490
|
-
}
|
|
3491
|
-
]
|
|
3492
|
-
},
|
|
3493
|
-
{
|
|
3494
|
-
begin: "",
|
|
3495
|
-
end: "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3496
|
-
name: "comment.block.preprocessor.if-branch.objc",
|
|
3497
|
-
patterns: [
|
|
3498
|
-
{
|
|
3499
|
-
include: "#disabled"
|
|
3500
|
-
},
|
|
3501
|
-
{
|
|
3502
|
-
include: "#pragma-mark"
|
|
3503
|
-
}
|
|
3504
|
-
]
|
|
3505
|
-
}
|
|
3506
|
-
]
|
|
3507
|
-
},
|
|
3508
|
-
"preprocessor-rule-enabled-implementation": {
|
|
3509
|
-
begin: "^\\s*(#(if)\\s+(0*1)\\b)",
|
|
3510
|
-
captures: {
|
|
3511
|
-
"1": {
|
|
3512
|
-
name: "meta.preprocessor.objc"
|
|
3513
|
-
},
|
|
3514
|
-
"2": {
|
|
3515
|
-
name: "keyword.control.import.if.objc"
|
|
3516
|
-
},
|
|
3517
|
-
"3": {
|
|
3518
|
-
name: "constant.numeric.preprocessor.objc"
|
|
3519
|
-
}
|
|
3520
|
-
},
|
|
3521
|
-
end: "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3522
|
-
patterns: [
|
|
3523
|
-
{
|
|
3524
|
-
begin: "^\\s*(#\\s*(else)\\b).*",
|
|
3525
|
-
captures: {
|
|
3526
|
-
"1": {
|
|
3527
|
-
name: "meta.preprocessor.objc"
|
|
3528
|
-
},
|
|
3529
|
-
"2": {
|
|
3530
|
-
name: "keyword.control.import.else.objc"
|
|
3531
|
-
}
|
|
3532
|
-
},
|
|
3533
|
-
contentName: "comment.block.preprocessor.else-branch.objc",
|
|
3534
|
-
end: "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3535
|
-
patterns: [
|
|
3536
|
-
{
|
|
3537
|
-
include: "#disabled"
|
|
3538
|
-
},
|
|
3539
|
-
{
|
|
3540
|
-
include: "#pragma-mark"
|
|
3541
|
-
}
|
|
3542
|
-
]
|
|
3543
|
-
},
|
|
3544
|
-
{
|
|
3545
|
-
begin: "",
|
|
3546
|
-
end: "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3547
|
-
patterns: [
|
|
3548
|
-
{
|
|
3549
|
-
include: "#implementation_innards"
|
|
3550
|
-
}
|
|
3551
|
-
]
|
|
3552
|
-
}
|
|
3553
|
-
]
|
|
3554
|
-
},
|
|
3555
|
-
"preprocessor-rule-enabled-interface": {
|
|
3556
|
-
begin: "^\\s*(#(if)\\s+(0*1)\\b)",
|
|
3557
|
-
captures: {
|
|
3558
|
-
"1": {
|
|
3559
|
-
name: "meta.preprocessor.objc"
|
|
3560
|
-
},
|
|
3561
|
-
"2": {
|
|
3562
|
-
name: "keyword.control.import.if.objc"
|
|
3563
|
-
},
|
|
3564
|
-
"3": {
|
|
3565
|
-
name: "constant.numeric.preprocessor.objc"
|
|
3566
|
-
}
|
|
3567
|
-
},
|
|
3568
|
-
end: "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3569
|
-
patterns: [
|
|
3570
|
-
{
|
|
3571
|
-
begin: "^\\s*(#\\s*(else)\\b).*",
|
|
3572
|
-
captures: {
|
|
3573
|
-
"1": {
|
|
3574
|
-
name: "meta.preprocessor.objc"
|
|
3575
|
-
},
|
|
3576
|
-
"2": {
|
|
3577
|
-
name: "keyword.control.import.else.objc"
|
|
3578
|
-
}
|
|
3579
|
-
},
|
|
3580
|
-
contentName: "comment.block.preprocessor.else-branch.objc",
|
|
3581
|
-
end: "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3582
|
-
patterns: [
|
|
3583
|
-
{
|
|
3584
|
-
include: "#disabled"
|
|
3585
|
-
},
|
|
3586
|
-
{
|
|
3587
|
-
include: "#pragma-mark"
|
|
3588
|
-
}
|
|
3589
|
-
]
|
|
3590
|
-
},
|
|
3591
|
-
{
|
|
3592
|
-
begin: "",
|
|
3593
|
-
end: "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3594
|
-
patterns: [
|
|
3595
|
-
{
|
|
3596
|
-
include: "#interface_innards"
|
|
3597
|
-
}
|
|
3598
|
-
]
|
|
3599
|
-
}
|
|
3600
|
-
]
|
|
3601
|
-
},
|
|
3602
|
-
"preprocessor-rule-other-implementation": {
|
|
3603
|
-
begin: "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3604
|
-
captures: {
|
|
3605
|
-
"1": {
|
|
3606
|
-
name: "meta.preprocessor.objc"
|
|
3607
|
-
},
|
|
3608
|
-
"2": {
|
|
3609
|
-
name: "keyword.control.import.objc"
|
|
3610
|
-
}
|
|
3611
|
-
},
|
|
3612
|
-
end: "^\\s*(#\\s*(endif)\\b).*?(?:(?=(?://|/\\*))|$)",
|
|
3613
|
-
patterns: [
|
|
3614
|
-
{
|
|
3615
|
-
include: "#implementation_innards"
|
|
3616
|
-
}
|
|
3617
|
-
]
|
|
3618
|
-
},
|
|
3619
|
-
"preprocessor-rule-other-interface": {
|
|
3620
|
-
begin: "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))",
|
|
3621
|
-
captures: {
|
|
3622
|
-
"1": {
|
|
3623
|
-
name: "meta.preprocessor.objc"
|
|
3624
|
-
},
|
|
3625
|
-
"2": {
|
|
3626
|
-
name: "keyword.control.import.objc"
|
|
3627
|
-
}
|
|
3628
|
-
},
|
|
3629
|
-
end: "^\\s*(#\\s*(endif)\\b).*?(?:(?=(?://|/\\*))|$)",
|
|
3630
|
-
patterns: [
|
|
3631
|
-
{
|
|
3632
|
-
include: "#interface_innards"
|
|
3633
|
-
}
|
|
3634
|
-
]
|
|
3635
|
-
},
|
|
3636
|
-
properties: {
|
|
3637
|
-
patterns: [
|
|
3638
|
-
{
|
|
3639
|
-
begin: "((@)property)\\s*(\\()",
|
|
3640
|
-
beginCaptures: {
|
|
3641
|
-
"1": {
|
|
3642
|
-
name: "keyword.other.property.objc"
|
|
3643
|
-
},
|
|
3644
|
-
"2": {
|
|
3645
|
-
name: "punctuation.definition.keyword.objc"
|
|
3646
|
-
},
|
|
3647
|
-
"3": {
|
|
3648
|
-
name: "punctuation.section.scope.begin.objc"
|
|
3649
|
-
}
|
|
3650
|
-
},
|
|
3651
|
-
end: "(\\))",
|
|
3652
|
-
endCaptures: {
|
|
3653
|
-
"1": {
|
|
3654
|
-
name: "punctuation.section.scope.end.objc"
|
|
3655
|
-
}
|
|
3656
|
-
},
|
|
3657
|
-
name: "meta.property-with-attributes.objc",
|
|
3658
|
-
patterns: [
|
|
3659
|
-
{
|
|
3660
|
-
match: "\\b(getter|setter|readonly|readwrite|assign|retain|copy|nonatomic|atomic|strong|weak|nonnull|nullable|null_resettable|null_unspecified|class|direct)\\b",
|
|
3661
|
-
name: "keyword.other.property.attribute.objc"
|
|
3662
|
-
}
|
|
3663
|
-
]
|
|
3664
|
-
},
|
|
3665
|
-
{
|
|
3666
|
-
captures: {
|
|
3667
|
-
"1": {
|
|
3668
|
-
name: "keyword.other.property.objc"
|
|
3669
|
-
},
|
|
3670
|
-
"2": {
|
|
3671
|
-
name: "punctuation.definition.keyword.objc"
|
|
3672
|
-
}
|
|
3673
|
-
},
|
|
3674
|
-
match: "((@)property)\\b",
|
|
3675
|
-
name: "meta.property.objc"
|
|
3676
|
-
}
|
|
3677
|
-
]
|
|
3678
|
-
},
|
|
3679
|
-
property_directive: {
|
|
3680
|
-
captures: {
|
|
3681
|
-
"1": {
|
|
3682
|
-
name: "punctuation.definition.keyword.objc"
|
|
3683
|
-
}
|
|
3684
|
-
},
|
|
3685
|
-
match: "(@)(dynamic|synthesize)\\b",
|
|
3686
|
-
name: "keyword.other.property.directive.objc"
|
|
3687
|
-
},
|
|
3688
|
-
protocol_list: {
|
|
3689
|
-
begin: "(<)",
|
|
3690
|
-
beginCaptures: {
|
|
3691
|
-
"1": {
|
|
3692
|
-
name: "punctuation.section.scope.begin.objc"
|
|
3693
|
-
}
|
|
3694
|
-
},
|
|
3695
|
-
end: "(>)",
|
|
3696
|
-
endCaptures: {
|
|
3697
|
-
"1": {
|
|
3698
|
-
name: "punctuation.section.scope.end.objc"
|
|
3699
|
-
}
|
|
3700
|
-
},
|
|
3701
|
-
name: "meta.protocol-list.objc",
|
|
3702
|
-
patterns: [
|
|
3703
|
-
{
|
|
3704
|
-
match: "\\bNS(GlyphStorage|M(utableCopying|enuItem)|C(hangeSpelling|o(ding|pying|lorPicking(Custom|Default)))|T(oolbarItemValidations|ext(Input|AttachmentCell))|I(nputServ(iceProvider|erMouseTracker)|gnoreMisspelledWords)|Obj(CTypeSerializationCallBack|ect)|D(ecimalNumberBehaviors|raggingInfo)|U(serInterfaceValidations|RL(HandleClient|DownloadDelegate|ProtocolClient|AuthenticationChallengeSender))|Validated(ToobarItem|UserInterfaceItem)|Locking)\\b",
|
|
3705
|
-
name: "support.other.protocol.objc"
|
|
3706
|
-
}
|
|
3707
|
-
]
|
|
3708
|
-
},
|
|
3709
|
-
protocol_type_qualifier: {
|
|
3710
|
-
match: "\\b(in|out|inout|oneway|bycopy|byref|nonnull|nullable|_Nonnull|_Nullable|_Null_unspecified)\\b",
|
|
3711
|
-
name: "storage.modifier.protocol.objc"
|
|
3712
|
-
},
|
|
3713
|
-
special_variables: {
|
|
3714
|
-
patterns: [
|
|
3715
|
-
{
|
|
3716
|
-
match: "\\b_cmd\\b",
|
|
3717
|
-
name: "variable.other.selector.objc"
|
|
3718
|
-
},
|
|
3719
|
-
{
|
|
3720
|
-
match: "\\b(self|super)\\b",
|
|
3721
|
-
name: "variable.language.objc"
|
|
3722
|
-
}
|
|
3723
|
-
]
|
|
3724
|
-
},
|
|
3725
|
-
string_escaped_char: {
|
|
3726
|
-
patterns: [
|
|
3727
|
-
{
|
|
3728
|
-
match: "(?x)\\\\ (\n\\\\\t\t\t |\n[abefnprtv'\"?] |\n[0-3]\\d{,2}\t |\n[4-7]\\d?\t\t|\nx[a-fA-F0-9]{,2} |\nu[a-fA-F0-9]{,4} |\nU[a-fA-F0-9]{,8} )",
|
|
3729
|
-
name: "constant.character.escape.objc"
|
|
3730
|
-
},
|
|
3731
|
-
{
|
|
3732
|
-
match: "\\\\.",
|
|
3733
|
-
name: "invalid.illegal.unknown-escape.objc"
|
|
3734
|
-
}
|
|
3735
|
-
]
|
|
3736
|
-
},
|
|
3737
|
-
string_placeholder: {
|
|
3738
|
-
patterns: [
|
|
3739
|
-
{
|
|
3740
|
-
match: "(?x) %\n(\\d+\\$)?\t\t\t\t\t\t # field (argument #)\n[#0\\- +']*\t\t\t\t\t\t # flags\n[,;:_]?\t\t\t\t\t\t\t # separator character (AltiVec)\n((-?\\d+)|\\*(-?\\d+\\$)?)?\t\t # minimum field width\n(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?\t# precision\n(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n[diouxXDOUeEfFgGaACcSspn%]\t\t # conversion type",
|
|
3741
|
-
name: "constant.other.placeholder.objc"
|
|
3742
|
-
},
|
|
3743
|
-
{
|
|
3744
|
-
match: "(%)(?!\"\\s*(PRI|SCN))",
|
|
3745
|
-
captures: {
|
|
3746
|
-
"1": {
|
|
3747
|
-
name: "invalid.illegal.placeholder.objc"
|
|
3748
|
-
}
|
|
3749
|
-
}
|
|
3750
|
-
}
|
|
3751
|
-
]
|
|
3752
|
-
}
|
|
3753
|
-
};
|
|
3754
|
-
var objectiveC_tmLanguage = {
|
|
3755
|
-
information_for_contributors: information_for_contributors,
|
|
3756
|
-
version: version,
|
|
3757
|
-
name: name,
|
|
3758
|
-
scopeName: scopeName,
|
|
3759
|
-
patterns: patterns,
|
|
3760
|
-
repository: repository
|
|
3761
|
-
};
|
|
3762
|
-
|
|
3763
|
-
export { objectiveC_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };
|