@shikijs/langs 3.3.0 → 3.4.1
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/abap.mjs +1 -1
- package/dist/actionscript-3.mjs +1 -1
- package/dist/ada.mjs +1 -1
- package/dist/angular-expression.mjs +1 -1
- package/dist/angular-ts.mjs +1 -1
- package/dist/applescript.mjs +1 -1
- package/dist/ara.mjs +1 -1
- package/dist/asciidoc.mjs +1 -1
- package/dist/asm.mjs +1 -1
- package/dist/astro.mjs +1 -1
- package/dist/awk.mjs +1 -1
- package/dist/ballerina.mjs +1 -1
- package/dist/bat.mjs +1 -1
- package/dist/blade.mjs +1 -1
- package/dist/c.mjs +1 -1
- package/dist/cadence.mjs +1 -1
- package/dist/clarity.mjs +1 -1
- package/dist/cmake.mjs +1 -1
- package/dist/cobol.mjs +1 -1
- package/dist/codeql.mjs +1 -1
- package/dist/coffee.mjs +1 -1
- package/dist/common-lisp.mjs +1 -1
- package/dist/coq.mjs +1 -1
- package/dist/cpp-macro.mjs +1 -1
- package/dist/cpp.mjs +1 -1
- package/dist/crystal.mjs +1 -1
- package/dist/css.mjs +1 -1
- package/dist/cypher.mjs +1 -1
- package/dist/d.mjs +1 -1
- package/dist/dax.mjs +1 -1
- package/dist/dream-maker.mjs +1 -1
- package/dist/elixir.mjs +1 -1
- package/dist/elm.mjs +1 -1
- package/dist/emacs-lisp.mjs +1 -1
- package/dist/erlang.mjs +1 -1
- package/dist/fennel.mjs +1 -1
- package/dist/fortran-free-form.mjs +1 -1
- package/dist/fsharp.mjs +1 -1
- package/dist/gdresource.mjs +1 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/gherkin.mjs +1 -1
- package/dist/gleam.mjs +1 -1
- package/dist/glimmer-js.mjs +1 -1
- package/dist/glimmer-ts.mjs +1 -1
- package/dist/glsl.mjs +1 -1
- package/dist/gnuplot.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/groovy.mjs +1 -1
- package/dist/hack.mjs +1 -1
- package/dist/handlebars.mjs +1 -1
- package/dist/haxe.mjs +1 -1
- package/dist/hlsl.mjs +1 -1
- package/dist/html.mjs +1 -1
- package/dist/imba.mjs +1 -1
- package/dist/java.mjs +1 -1
- package/dist/javascript.mjs +1 -1
- package/dist/jinja.mjs +1 -1
- package/dist/jsonnet.mjs +1 -1
- package/dist/jsx.mjs +1 -1
- package/dist/julia.mjs +1 -1
- package/dist/kusto.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/less.mjs +1 -1
- package/dist/liquid.mjs +1 -1
- package/dist/llvm.mjs +1 -1
- package/dist/log.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/luau.mjs +1 -1
- package/dist/make.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/matlab.mjs +1 -1
- package/dist/mdc.mjs +1 -1
- package/dist/mdx.mjs +1 -1
- package/dist/mermaid.mjs +1 -1
- package/dist/mipsasm.mjs +1 -1
- package/dist/mojo.mjs +1 -1
- package/dist/nginx.mjs +1 -1
- package/dist/nim.mjs +1 -1
- package/dist/nix.mjs +1 -1
- package/dist/nushell.mjs +1 -1
- package/dist/objective-c.mjs +1 -1
- package/dist/objective-cpp.mjs +1 -1
- package/dist/ocaml.mjs +1 -1
- package/dist/pascal.mjs +1 -1
- package/dist/perl.mjs +1 -1
- package/dist/php.mjs +1 -1
- package/dist/plsql.mjs +1 -1
- package/dist/powershell.mjs +1 -1
- package/dist/prolog.mjs +1 -1
- package/dist/python.mjs +1 -1
- package/dist/qss.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/racket.mjs +1 -1
- package/dist/raku.mjs +1 -1
- package/dist/riscv.mjs +1 -1
- package/dist/ruby.mjs +1 -1
- package/dist/sas.mjs +1 -1
- package/dist/scheme.mjs +1 -1
- package/dist/shaderlab.mjs +1 -1
- package/dist/shellscript.mjs +1 -1
- package/dist/smalltalk.mjs +1 -1
- package/dist/splunk.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/stata.mjs +1 -1
- package/dist/stylus.mjs +1 -1
- package/dist/svelte.mjs +1 -1
- package/dist/system-verilog.mjs +1 -1
- package/dist/systemd.mjs +1 -1
- package/dist/talonscript.mjs +1 -1
- package/dist/templ.mjs +1 -1
- package/dist/terraform.mjs +1 -1
- package/dist/tex.mjs +1 -1
- package/dist/toml.mjs +1 -1
- package/dist/tsx.mjs +1 -1
- package/dist/typescript.mjs +1 -1
- package/dist/typst.mjs +1 -1
- package/dist/v.mjs +1 -1
- package/dist/vala.mjs +1 -1
- package/dist/vb.mjs +1 -1
- package/dist/vhdl.mjs +1 -1
- package/dist/viml.mjs +1 -1
- package/dist/vyper.mjs +1 -1
- package/dist/wasm.mjs +1 -1
- package/dist/wikitext.mjs +1 -1
- package/dist/wolfram.mjs +1 -1
- package/dist/zenscript.mjs +1 -1
- package/package.json +3 -3
package/dist/handlebars.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import css from './css.mjs'
|
|
|
3
3
|
import javascript from './javascript.mjs'
|
|
4
4
|
import yaml from './yaml.mjs'
|
|
5
5
|
|
|
6
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Handlebars\",\"name\":\"handlebars\",\"patterns\":[{\"include\":\"#yfm\"},{\"include\":\"#extends\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#end_block\"},{\"include\":\"#else_token\"},{\"include\":\"#partial_and_var\"},{\"include\":\"#inline_script\"},{\"include\":\"#html_tags\"},{\"include\":\"text.html.basic\"}],\"repository\":{\"block_comments\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{!--\",\"end\":\"--}}\",\"name\":\"comment.block.handlebars\",\"patterns\":[{\"match\":\"@\\\\w*\",\"name\":\"keyword.annotation.handlebars\"},{\"include\":\"#comments\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"-{2,3}\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]}]},\"block_helper\":{\"begin\":\"(\\\\{\\\\{)(~?#)([\\\\--9>A-Z_a-z]+)\\\\s?(@?[\\\\--9A-Z_a-z]+)*\\\\s?(@?[\\\\--9A-Z_a-z]+)*\\\\s?(@?[\\\\--9A-Z_a-z]+)*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars keyword.control\"},\"4\":{\"name\":\"variable.parameter.handlebars\"},\"5\":{\"name\":\"support.constant.handlebars\"},\"6\":{\"name\":\"variable.parameter.handlebars\"},\"7\":{\"name\":\"support.constant.handlebars\"}},\"end\":\"(~?}})\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.block.start.handlebars\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#handlebars_attribute\"}]},\"comments\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{!\",\"end\":\"}}\",\"name\":\"comment.block.handlebars\",\"patterns\":[{\"match\":\"@\\\\w*\",\"name\":\"keyword.annotation.handlebars\"},{\"include\":\"#comments\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"-{2,3}\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]}]},\"else_token\":{\"begin\":\"(\\\\{\\\\{)(~?else)(@?\\\\s(if)\\\\s([()\\\\--9A-Z_a-z\\\\s]+))?\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars\"},\"4\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(~?}}}*)\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.inline.else.handlebars\"},\"end_block\":{\"begin\":\"(\\\\{\\\\{)(~?/)([\\\\--9A-Z_a-z]+)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars keyword.control\"}},\"end\":\"(~?}})\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.block.end.handlebars\",\"patterns\":[]},\"entities\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.entity.html\"},\"3\":{\"name\":\"punctuation.definition.entity.html\"}},\"match\":\"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.html\"},{\"match\":\"&\",\"name\":\"invalid.illegal.bad-ampersand.html\"}]},\"escaped-double-quote\":{\"match\":\"\\\\\\\\\\\"\",\"name\":\"constant.character.escape.js\"},\"escaped-single-quote\":{\"match\":\"\\\\\\\\'\",\"name\":\"constant.character.escape.js\"},\"extends\":{\"patterns\":[{\"begin\":\"(\\\\{\\\\{!<)\\\\s([\\\\--9A-Z_a-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.handlebars\"},\"2\":{\"name\":\"support.class.handlebars\"}},\"end\":\"(}})\",\"endCaptures\":{\"1\":{\"name\":\"support.function.handlebars\"}},\"name\":\"meta.preprocessor.handlebars\"}]},\"handlebars_attribute\":{\"patterns\":[{\"include\":\"#handlebars_attribute_name\"},{\"include\":\"#handlebars_attribute_value\"}]},\"handlebars_attribute_name\":{\"begin\":\"\\\\b([-.0-9A-Z_a-z]+)\\\\b=\",\"captures\":{\"1\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(?=[\\\"']|)\",\"name\":\"entity.other.attribute-name.handlebars\"},\"handlebars_attribute_value\":{\"begin\":\"([\\\\--9A-Z_a-z]+)\\\\b\",\"captures\":{\"1\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"([\\\"']|)\",\"name\":\"entity.other.attribute-value.handlebars\",\"patterns\":[{\"include\":\"#string\"}]},\"html_tags\":{\"patterns\":[{\"begin\":\"(<)([-0-:A-Za-z]+)(?=[^>]*></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.html\"}},\"end\":\"(>(<)/)(\\\\2)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"meta.scope.between-tag-pair.html\"},\"3\":{\"name\":\"entity.name.tag.html\"},\"4\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"meta.tag.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(<\\\\?)(xml)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.xml.html\"}},\"end\":\"(\\\\?>)\",\"name\":\"meta.tag.preprocessor.xml.html\",\"patterns\":[{\"include\":\"#tag_generic_attribute\"},{\"include\":\"#string\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"--\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]},{\"begin\":\"<!\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\">\",\"name\":\"meta.tag.sgml.html\",\"patterns\":[{\"begin\":\"(DOCTYPE|doctype)\",\"captures\":{\"1\":{\"name\":\"entity.name.tag.doctype.html\"}},\"end\":\"(?=>)\",\"name\":\"meta.tag.sgml.doctype.html\",\"patterns\":[{\"match\":\"\\\"[^\\\">]*\\\"\",\"name\":\"string.quoted.double.doctype.identifiers-and-DTDs.html\"}]},{\"begin\":\"\\\\[CDATA\\\\[\",\"end\":\"]](?=>)\",\"name\":\"constant.other.inline-data.html\"},{\"match\":\"(\\\\s*)(?!--|>)\\\\S(\\\\s*)\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]},{\"begin\":\"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.style.html\"},\"3\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\"(</)((?i:style))(>)(?:\\\\s*\\\\n)?\",\"name\":\"source.css.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\"(?=</(?i:style))\",\"patterns\":[{\"include\":\"source.css\"}]}]},{\"begin\":\"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?\",\"endCaptures\":{\"2\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"source.js.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<!</(?:script|SCRIPT))(>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(</)((?i:script))\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.js\"}},\"match\":\"(//).*?((?=</script)|$\\\\n?)\",\"name\":\"comment.line.double-slash.js\"},{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.js\"}},\"end\":\"\\\\*/|(?=</script)\",\"name\":\"comment.block.js\"},{\"include\":\"source.js\"}]}]},{\"begin\":\"(</?)((?i:body|head|html))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.structure.any.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.structure.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:address|blockquote|dd|div|header|section|footer|aside|nav|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.block.any.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.block.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.inline.any.html\"}},\"end\":\"((?: ?/)?>)\",\"name\":\"meta.tag.inline.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)([-0-:A-Za-z]+)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.other.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.other.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)([-0-:A-Za-{}]+)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.tokenised.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.tokenised.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"include\":\"#entities\"},{\"match\":\"<>\",\"name\":\"invalid.illegal.incomplete.html\"},{\"match\":\"<\",\"name\":\"invalid.illegal.bad-angle-bracket.html\"}]},\"inline_script\":{\"begin\":\"(?:^\\\\s+)?(<)((?i:script))\\\\b.*(type)=([\\\"'](?:text/x-handlebars-template|text/x-handlebars|text/template|x-tmpl-handlebars)[\\\"'])(?![^>]*/>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"},\"3\":{\"name\":\"entity.other.attribute-name.html\"},\"4\":{\"name\":\"string.quoted.double.html\"}},\"end\":\"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?\",\"endCaptures\":{\"2\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"source.handlebars.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<!</(?:script|SCRIPT))(>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(</)((?i:script))\",\"patterns\":[{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#end_block\"},{\"include\":\"#else_token\"},{\"include\":\"#partial_and_var\"},{\"include\":\"#html_tags\"},{\"include\":\"text.html.basic\"}]}]},\"partial_and_var\":{\"begin\":\"(\\\\{\\\\{~?\\\\{*(>|!<)*)\\\\s*(@?[$\\\\--9A-Z_a-z]+)*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"3\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(~?}}}*)\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.inline.other.handlebars\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#handlebars_attribute\"}]},\"string\":{\"patterns\":[{\"include\":\"#string-single-quoted\"},{\"include\":\"#string-double-quoted\"}]},\"string-double-quoted\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.double.handlebars\",\"patterns\":[{\"include\":\"#escaped-double-quote\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#else_token\"},{\"include\":\"#end_block\"},{\"include\":\"#partial_and_var\"}]},\"string-single-quoted\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.single.handlebars\",\"patterns\":[{\"include\":\"#escaped-single-quote\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#else_token\"},{\"include\":\"#end_block\"},{\"include\":\"#partial_and_var\"}]},\"tag-stuff\":{\"patterns\":[{\"include\":\"#tag_id_attribute\"},{\"include\":\"#tag_generic_attribute\"},{\"include\":\"#string\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#end_block\"},{\"include\":\"#else_token\"},{\"include\":\"#partial_and_var\"}]},\"tag_generic_attribute\":{\"begin\":\"\\\\b([-0-9A-Z_a-z]+)\\\\b\\\\s*(=)\",\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.generic.html\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"}},\"end\":\"(?<=[\\\"']|)\",\"name\":\"entity.other.attribute-name.html\",\"patterns\":[{\"include\":\"#string\"}]},\"tag_id_attribute\":{\"begin\":\"\\\\b(id)\\\\b\\\\s*(=)\",\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.id.html\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"}},\"end\":\"(?<=[\\\"']|)\",\"name\":\"meta.attribute-with-value.id.html\",\"patterns\":[{\"include\":\"#string\"}]},\"yfm\":{\"patterns\":[{\"begin\":\"(?<!\\\\s)---\\\\n$\",\"end\":\"^---\\\\s\",\"name\":\"markup.raw.yaml.front-matter\",\"patterns\":[{\"include\":\"source.yaml\"}]}]}},\"scopeName\":\"text.html.handlebars\",\"embeddedLangs\":[\"html\",\"css\",\"javascript\",\"yaml\"],\"aliases\":[\"hbs\"]}"))
|
|
6
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Handlebars\",\"name\":\"handlebars\",\"patterns\":[{\"include\":\"#yfm\"},{\"include\":\"#extends\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#end_block\"},{\"include\":\"#else_token\"},{\"include\":\"#partial_and_var\"},{\"include\":\"#inline_script\"},{\"include\":\"#html_tags\"},{\"include\":\"text.html.basic\"}],\"repository\":{\"block_comments\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{!--\",\"end\":\"--}}\",\"name\":\"comment.block.handlebars\",\"patterns\":[{\"match\":\"@\\\\w*\",\"name\":\"keyword.annotation.handlebars\"},{\"include\":\"#comments\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"-{2,3}\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]}]},\"block_helper\":{\"begin\":\"(\\\\{\\\\{)(~?#)([\\\\--9>A-Z_a-z]+)\\\\s?(@?[\\\\--9A-Z_a-z]+)*\\\\s?(@?[\\\\--9A-Z_a-z]+)*\\\\s?(@?[\\\\--9A-Z_a-z]+)*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars keyword.control\"},\"4\":{\"name\":\"variable.parameter.handlebars\"},\"5\":{\"name\":\"support.constant.handlebars\"},\"6\":{\"name\":\"variable.parameter.handlebars\"},\"7\":{\"name\":\"support.constant.handlebars\"}},\"end\":\"(~?}})\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.block.start.handlebars\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#handlebars_attribute\"}]},\"comments\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{!\",\"end\":\"}}\",\"name\":\"comment.block.handlebars\",\"patterns\":[{\"match\":\"@\\\\w*\",\"name\":\"keyword.annotation.handlebars\"},{\"include\":\"#comments\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"-{2,3}\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]}]},\"else_token\":{\"begin\":\"(\\\\{\\\\{)(~?else)(@?\\\\s(if)\\\\s([()\\\\--9A-Z_a-z\\\\s]+))?\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars\"},\"4\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(~?}}}*)\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.inline.else.handlebars\"},\"end_block\":{\"begin\":\"(\\\\{\\\\{)(~?/)([\\\\--9A-Z_a-z]+)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars keyword.control\"}},\"end\":\"(~?}})\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.block.end.handlebars\",\"patterns\":[]},\"entities\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.entity.html\"},\"3\":{\"name\":\"punctuation.definition.entity.html\"}},\"match\":\"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.html\"},{\"match\":\"&\",\"name\":\"invalid.illegal.bad-ampersand.html\"}]},\"escaped-double-quote\":{\"match\":\"\\\\\\\\\\\"\",\"name\":\"constant.character.escape.js\"},\"escaped-single-quote\":{\"match\":\"\\\\\\\\'\",\"name\":\"constant.character.escape.js\"},\"extends\":{\"patterns\":[{\"begin\":\"(\\\\{\\\\{!<)\\\\s([\\\\--9A-Z_a-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.handlebars\"},\"2\":{\"name\":\"support.class.handlebars\"}},\"end\":\"(}})\",\"endCaptures\":{\"1\":{\"name\":\"support.function.handlebars\"}},\"name\":\"meta.preprocessor.handlebars\"}]},\"handlebars_attribute\":{\"patterns\":[{\"include\":\"#handlebars_attribute_name\"},{\"include\":\"#handlebars_attribute_value\"}]},\"handlebars_attribute_name\":{\"begin\":\"\\\\b([-.0-9A-Z_a-z]+)\\\\b=\",\"captures\":{\"1\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(?=[\\\"']?)\",\"name\":\"entity.other.attribute-name.handlebars\"},\"handlebars_attribute_value\":{\"begin\":\"([\\\\--9A-Z_a-z]+)\\\\b\",\"captures\":{\"1\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"([\\\"']?)\",\"name\":\"entity.other.attribute-value.handlebars\",\"patterns\":[{\"include\":\"#string\"}]},\"html_tags\":{\"patterns\":[{\"begin\":\"(<)([-0-:A-Za-z]+)(?=[^>]*></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.html\"}},\"end\":\"(>(<)/)(\\\\2)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"meta.scope.between-tag-pair.html\"},\"3\":{\"name\":\"entity.name.tag.html\"},\"4\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"meta.tag.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(<\\\\?)(xml)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.xml.html\"}},\"end\":\"(\\\\?>)\",\"name\":\"meta.tag.preprocessor.xml.html\",\"patterns\":[{\"include\":\"#tag_generic_attribute\"},{\"include\":\"#string\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"--\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]},{\"begin\":\"<!\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\">\",\"name\":\"meta.tag.sgml.html\",\"patterns\":[{\"begin\":\"(DOCTYPE|doctype)\",\"captures\":{\"1\":{\"name\":\"entity.name.tag.doctype.html\"}},\"end\":\"(?=>)\",\"name\":\"meta.tag.sgml.doctype.html\",\"patterns\":[{\"match\":\"\\\"[^\\\">]*\\\"\",\"name\":\"string.quoted.double.doctype.identifiers-and-DTDs.html\"}]},{\"begin\":\"\\\\[CDATA\\\\[\",\"end\":\"]](?=>)\",\"name\":\"constant.other.inline-data.html\"},{\"match\":\"(\\\\s*)(?!--|>)\\\\S(\\\\s*)\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]},{\"begin\":\"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.style.html\"},\"3\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\"(</)((?i:style))(>)(?:\\\\s*\\\\n)?\",\"name\":\"source.css.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\"(?=</(?i:style))\",\"patterns\":[{\"include\":\"source.css\"}]}]},{\"begin\":\"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?\",\"endCaptures\":{\"2\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"source.js.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<!</(?:script|SCRIPT))(>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(</)((?i:script))\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.js\"}},\"match\":\"(//).*?((?=</script)|$\\\\n?)\",\"name\":\"comment.line.double-slash.js\"},{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.js\"}},\"end\":\"\\\\*/|(?=</script)\",\"name\":\"comment.block.js\"},{\"include\":\"source.js\"}]}]},{\"begin\":\"(</?)((?i:body|head|html))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.structure.any.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.structure.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:address|blockquote|dd|div|header|section|footer|aside|nav|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.block.any.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.block.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.inline.any.html\"}},\"end\":\"((?: ?/)?>)\",\"name\":\"meta.tag.inline.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)([-0-:A-Za-z]+)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.other.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.other.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)([-0-:A-Za-{}]+)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.tokenised.html\"}},\"end\":\"(>)\",\"name\":\"meta.tag.tokenised.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"include\":\"#entities\"},{\"match\":\"<>\",\"name\":\"invalid.illegal.incomplete.html\"},{\"match\":\"<\",\"name\":\"invalid.illegal.bad-angle-bracket.html\"}]},\"inline_script\":{\"begin\":\"(?:^\\\\s+)?(<)((?i:script))\\\\b.*(type)=([\\\"'](?:text/x-handlebars-template|text/x-handlebars|text/template|x-tmpl-handlebars)[\\\"'])(?![^>]*/>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"},\"3\":{\"name\":\"entity.other.attribute-name.html\"},\"4\":{\"name\":\"string.quoted.double.html\"}},\"end\":\"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?\",\"endCaptures\":{\"2\":{\"name\":\"punctuation.definition.tag.html\"}},\"name\":\"source.handlebars.embedded.html\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<!</(?:script|SCRIPT))(>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.script.html\"}},\"end\":\"(</)((?i:script))\",\"patterns\":[{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#end_block\"},{\"include\":\"#else_token\"},{\"include\":\"#partial_and_var\"},{\"include\":\"#html_tags\"},{\"include\":\"text.html.basic\"}]}]},\"partial_and_var\":{\"begin\":\"(\\\\{\\\\{~?\\\\{*(>|!<)*)\\\\s*(@?[$\\\\--9A-Z_a-z]+)*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"3\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(~?}}}*)\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.inline.other.handlebars\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#handlebars_attribute\"}]},\"string\":{\"patterns\":[{\"include\":\"#string-single-quoted\"},{\"include\":\"#string-double-quoted\"}]},\"string-double-quoted\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.double.handlebars\",\"patterns\":[{\"include\":\"#escaped-double-quote\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#else_token\"},{\"include\":\"#end_block\"},{\"include\":\"#partial_and_var\"}]},\"string-single-quoted\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.single.handlebars\",\"patterns\":[{\"include\":\"#escaped-single-quote\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#else_token\"},{\"include\":\"#end_block\"},{\"include\":\"#partial_and_var\"}]},\"tag-stuff\":{\"patterns\":[{\"include\":\"#tag_id_attribute\"},{\"include\":\"#tag_generic_attribute\"},{\"include\":\"#string\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#end_block\"},{\"include\":\"#else_token\"},{\"include\":\"#partial_and_var\"}]},\"tag_generic_attribute\":{\"begin\":\"\\\\b([-0-9A-Z_a-z]+)\\\\b\\\\s*(=)\",\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.generic.html\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"}},\"end\":\"(?<=[\\\"']?)\",\"name\":\"entity.other.attribute-name.html\",\"patterns\":[{\"include\":\"#string\"}]},\"tag_id_attribute\":{\"begin\":\"\\\\b(id)\\\\b\\\\s*(=)\",\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.id.html\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"}},\"end\":\"(?<=[\\\"']?)\",\"name\":\"meta.attribute-with-value.id.html\",\"patterns\":[{\"include\":\"#string\"}]},\"yfm\":{\"patterns\":[{\"begin\":\"(?<!\\\\s)---\\\\n$\",\"end\":\"^---\\\\s\",\"name\":\"markup.raw.yaml.front-matter\",\"patterns\":[{\"include\":\"source.yaml\"}]}]}},\"scopeName\":\"text.html.handlebars\",\"embeddedLangs\":[\"html\",\"css\",\"javascript\",\"yaml\"],\"aliases\":[\"hbs\"]}"))
|
|
7
7
|
|
|
8
8
|
export default [
|
|
9
9
|
...html,
|
package/dist/haxe.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Haxe\",\"fileTypes\":[\"hx\",\"dump\"],\"name\":\"haxe\",\"patterns\":[{\"include\":\"#all\"}],\"repository\":{\"abstract\":{\"begin\":\"(?=abstract\\\\s+[A-Z])\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.abstract.hx\",\"patterns\":[{\"include\":\"#abstract-name\"},{\"include\":\"#abstract-name-post\"},{\"include\":\"#abstract-block\"}]},\"abstract-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#method\"},{\"include\":\"#modifiers\"},{\"include\":\"#variable\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"abstract-name\":{\"begin\":\"\\\\b(abstract)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"abstract-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#global\"},{\"match\":\"\\\\b(from|to)\\\\b\",\"name\":\"keyword.other.hx\"},{\"include\":\"#type\"},{\"match\":\"[()]\",\"name\":\"punctuation.definition.other.hx\"}]},\"accessor-method\":{\"patterns\":[{\"match\":\"\\\\b([gs]et)_[A-Z_a-z]\\\\w*\\\\b\",\"name\":\"entity.name.function.hx\"}]},\"all\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#package\"},{\"include\":\"#import\"},{\"include\":\"#using\"},{\"match\":\"\\\\b(final)\\\\b(?=\\\\s+(class|interface|extern|private)\\\\b)\",\"name\":\"storage.modifier.hx\"},{\"include\":\"#abstract\"},{\"include\":\"#class\"},{\"include\":\"#enum\"},{\"include\":\"#interface\"},{\"include\":\"#typedef\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"array\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.array.begin.hx\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.array.end.hx\"}},\"name\":\"meta.array.literal.hx\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"arrow-function\":{\"begin\":\"(\\\\()(?=[^(]*?\\\\)\\\\s*->)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"(\\\\))\\\\s*(->)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.hx\"},\"2\":{\"name\":\"storage.type.function.arrow.hx\"}},\"name\":\"meta.method.arrow.hx\",\"patterns\":[{\"include\":\"#arrow-function-parameter\"}]},\"arrow-function-parameter\":{\"begin\":\"(?<=[(,])\",\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#parameter-name\"},{\"include\":\"#arrow-function-parameter-type-hint\"},{\"include\":\"#parameter-assign\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#global\"}]},\"arrow-function-parameter-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[),=])\",\"patterns\":[{\"include\":\"#type\"}]},\"block\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"block-contents\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#regex\"},{\"include\":\"#array\"},{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"include\":\"#metadata\"},{\"include\":\"#method\"},{\"include\":\"#variable\"},{\"include\":\"#modifiers\"},{\"include\":\"#new-expr\"},{\"include\":\"#for-loop\"},{\"include\":\"#keywords\"},{\"include\":\"#arrow-function\"},{\"include\":\"#method-call\"},{\"include\":\"#enum-constructor-call\"},{\"include\":\"#punctuation-braces\"},{\"include\":\"#macro-reification\"},{\"include\":\"#operators\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#punctuation-terminator\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#punctuation-accessor\"},{\"include\":\"#identifiers\"}]},\"class\":{\"begin\":\"(?=class)\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.class.hx\",\"patterns\":[{\"include\":\"#class-name\"},{\"include\":\"#class-name-post\"},{\"include\":\"#class-block\"}]},\"class-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#method\"},{\"include\":\"#modifiers\"},{\"include\":\"#variable\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"class-name\":{\"begin\":\"\\\\b(class)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"name\":\"meta.class.identifier.hx\",\"patterns\":[{\"include\":\"#global\"}]},\"class-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#modifiers-inheritance\"},{\"include\":\"#type\"}]},\"comments\":{\"patterns\":[{\"begin\":\"/\\\\*\\\\*(?!/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"name\":\"comment.block.documentation.hx\",\"patterns\":[{\"include\":\"#javadoc-tags\"}]},{\"begin\":\"/\\\\*\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"name\":\"comment.block.hx\",\"patterns\":[{\"include\":\"#javadoc-tags\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.hx\"}},\"match\":\"(//).*$\\\\n?\",\"name\":\"comment.line.double-slash.hx\"}]},\"conditional-compilation\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"punctuation.definition.tag\"}},\"match\":\"((#(if|elseif))[!\\\\s]+([A-Z_a-z][0-9A-Z_a-z]*(\\\\.[A-Z_a-z][0-9A-Z_a-z]*)*)(?=\\\\s|/\\\\*|//))\"},{\"begin\":\"((#(if|elseif))[!\\\\s]*)(?=\\\\()\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag\"}},\"end\":\"(?<=[\\\\n)])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag\"}},\"name\":\"punctuation.definition.tag\",\"patterns\":[{\"include\":\"#conditional-compilation-parens\"}]},{\"match\":\"(#(end|else|error|line))\",\"name\":\"punctuation.definition.tag\"},{\"match\":\"(#([0-9A-Z_a-z]*))\\\\s\",\"name\":\"punctuation.definition.tag\"}]},\"conditional-compilation-parens\":{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#conditional-compilation-parens\"}]},\"constant-name\":{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.hx\"},\"constants\":{\"patterns\":[{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.hx\"},{\"captures\":{\"0\":{\"name\":\"constant.numeric.hex.hx\"},\"1\":{\"name\":\"constant.numeric.suffix.hx\"}},\"match\":\"\\\\b0[Xx]\\\\h[_\\\\h]*([iu][0-9][0-9_]*)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"constant.numeric.bin.hx\"},\"1\":{\"name\":\"constant.numeric.suffix.hx\"}},\"match\":\"\\\\b0[Bb][01][01_]*([iu][0-9][0-9_]*)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"constant.numeric.decimal.hx\"},\"1\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"2\":{\"name\":\"constant.numeric.suffix.hx\"},\"3\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"4\":{\"name\":\"constant.numeric.suffix.hx\"},\"5\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"6\":{\"name\":\"constant.numeric.suffix.hx\"},\"7\":{\"name\":\"constant.numeric.suffix.hx\"},\"8\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"9\":{\"name\":\"constant.numeric.suffix.hx\"},\"10\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"11\":{\"name\":\"constant.numeric.suffix.hx\"},\"12\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"13\":{\"name\":\"constant.numeric.suffix.hx\"},\"14\":{\"name\":\"constant.numeric.suffix.hx\"}},\"match\":\"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(?!\\\\.)(?:\\\\B|([fiu][0-9][0-9_]*)\\\\b)|\\\\B(\\\\.)[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b)(?!\\\\$)\"}]},\"enum\":{\"begin\":\"(?=enum\\\\s+[A-Z])\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.enum.hx\",\"patterns\":[{\"include\":\"#enum-name\"},{\"include\":\"#enum-name-post\"},{\"include\":\"#enum-block\"}]},\"enum-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#parameters\"},{\"include\":\"#identifiers\"}]},\"enum-constructor-call\":{\"begin\":\"\\\\b(?<!\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.package.hx\"},\"3\":{\"name\":\"entity.name.type.hx\"},\"4\":{\"name\":\"support.package.hx\"},\"5\":{\"name\":\"entity.name.type.hx\"},\"6\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"enum-name\":{\"begin\":\"\\\\b(enum)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"enum-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#type\"}]},\"for-loop\":{\"begin\":\"\\\\b(for)\\\\b\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.flow-control.hx\"},\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.other.in.hx\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"function-type\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.hx\"}},\"patterns\":[{\"include\":\"#function-type-parameter\"}]},\"function-type-parameter\":{\"begin\":\"(?<=[(,])\",\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#operator-optional\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#function-type-parameter-name\"},{\"include\":\"#function-type-parameter-type-hint\"},{\"include\":\"#parameter-assign\"},{\"include\":\"#type\"},{\"include\":\"#global\"}]},\"function-type-parameter-name\":{\"captures\":{\"1\":{\"name\":\"variable.parameter.hx\"}},\"match\":\"([A-Z_a-z]\\\\w*)(?=\\\\s*:)\"},\"function-type-parameter-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[),=])\",\"patterns\":[{\"include\":\"#type\"}]},\"global\":{\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#conditional-compilation\"}]},\"identifier-name\":{\"match\":\"\\\\b([A-Z_a-z]\\\\w*)\\\\b\",\"name\":\"variable.other.hx\"},\"identifiers\":{\"patterns\":[{\"include\":\"#constant-name\"},{\"include\":\"#type-name\"},{\"include\":\"#identifier-name\"}]},\"import\":{\"begin\":\"import\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.import.hx\"}},\"end\":\"$|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#type-path\"},{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"keyword.control.as.hx\"},{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.control.in.hx\"},{\"match\":\"\\\\*\",\"name\":\"constant.language.import-all.hx\"},{\"match\":\"\\\\b([A-Z_a-z]\\\\w*)\\\\b(?=\\\\s*(as|in|$|(;)))\",\"name\":\"variable.other.hxt\"},{\"include\":\"#type-path-package-name\"}]},\"interface\":{\"begin\":\"(?=interface)\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.interface.hx\",\"patterns\":[{\"include\":\"#interface-name\"},{\"include\":\"#interface-name-post\"},{\"include\":\"#interface-block\"}]},\"interface-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#method\"},{\"include\":\"#variable\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"interface-name\":{\"begin\":\"\\\\b(interface)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"interface-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#modifiers-inheritance\"},{\"include\":\"#type\"}]},\"javadoc-tags\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.class.javadoc\"},\"2\":{\"name\":\"variable.other.javadoc\"}},\"match\":\"(@(?:param|exception|throws|event))\\\\s+([A-Z_a-z]\\\\w*)\\\\s+\"},{\"captures\":{\"1\":{\"name\":\"storage.type.class.javadoc\"},\"2\":{\"name\":\"constant.numeric.javadoc\"}},\"match\":\"(@since)\\\\s+([-.\\\\w]+)\\\\s+\"},{\"captures\":{\"0\":{\"name\":\"storage.type.class.javadoc\"}},\"match\":\"@(param|exception|throws|deprecated|returns?|since|default|see|event)\"}]},\"keywords\":{\"patterns\":[{\"begin\":\"(?<=trace|$type|if|while|for|super)\\\\s*(\\\\()\",\"beginCaptures\":{\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"begin\":\"(?<=catch)\\\\s*(\\\\()\",\"beginCaptures\":{\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"},{\"include\":\"#type-check\"}]},{\"begin\":\"(?<=cast)\\\\s*(\\\\()\",\"beginCaptures\":{\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"begin\":\"(?=,)\",\"end\":\"(?=\\\\))\",\"patterns\":[{\"include\":\"#type\"}]},{\"include\":\"#block-contents\"}]},{\"match\":\"\\\\b(try|catch|throw)\\\\b\",\"name\":\"keyword.control.catch-exception.hx\"},{\"begin\":\"\\\\b(case|default)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.flow-control.hx\"}},\"end\":\":|(?=if)|$\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"captures\":{\"1\":{\"name\":\"storage.type.variable.hx\"},\"2\":{\"name\":\"variable.other.hx\"}},\"match\":\"\\\\b(var|final)\\\\b\\\\s*([A-Z_a-z]\\\\w*)\\\\b\"},{\"include\":\"#array\"},{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"match\":\"\\\\(\",\"name\":\"meta.brace.round.hx\"},{\"match\":\"\\\\)\",\"name\":\"meta.brace.round.hx\"},{\"include\":\"#macro-reification\"},{\"match\":\"=>\",\"name\":\"keyword.operator.extractor.hx\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#keywords\"},{\"include\":\"#method-call\"},{\"include\":\"#identifiers\"}]},{\"match\":\"\\\\b(if|else|return|do|while|for|break|continue|switch|case|default)\\\\b\",\"name\":\"keyword.control.flow-control.hx\"},{\"match\":\"\\\\b(cast|untyped)\\\\b\",\"name\":\"keyword.other.untyped.hx\"},{\"match\":\"\\\\btrace\\\\b\",\"name\":\"keyword.other.trace.hx\"},{\"match\":\"\\\\$type\\\\b\",\"name\":\"keyword.other.type.hx\"},{\"match\":\"__(global|this)__\\\\b\",\"name\":\"keyword.other.untyped-property.hx\"},{\"match\":\"\\\\b(this|super)\\\\b\",\"name\":\"variable.language.hx\"},{\"match\":\"\\\\bnew\\\\b\",\"name\":\"keyword.operator.new.hx\"},{\"match\":\"\\\\b(abstract|class|enum|interface|typedef)\\\\b\",\"name\":\"storage.type.hx\"},{\"match\":\"->\",\"name\":\"storage.type.function.arrow.hx\"},{\"include\":\"#modifiers\"},{\"include\":\"#modifiers-inheritance\"}]},\"keywords-accessor\":{\"match\":\"\\\\b(default|get|set|dynamic|never|null)\\\\b\",\"name\":\"storage.type.property.hx\"},\"macro-reification\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.reification.hx\"},\"2\":{\"name\":\"keyword.reification.hx\"}},\"match\":\"(\\\\$)([abeipv])\\\\{\"},{\"captures\":{\"2\":{\"name\":\"punctuation.definition.reification.hx\"},\"3\":{\"name\":\"variable.reification.hx\"}},\"match\":\"((\\\\$)([A-Za-z]*))\"}]},\"metadata\":{\"patterns\":[{\"begin\":\"(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile))\\\\b\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.metadata.hx\"},\"2\":{\"name\":\"storage.modifier.metadata.hx\"},\"3\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"captures\":{\"2\":{\"name\":\"punctuation.metadata.hx\"},\"3\":{\"name\":\"storage.modifier.metadata.hx\"}},\"match\":\"((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)))\\\\b\"},{\"begin\":\"(@)(:?[A-Z_a-z]*)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.metadata.hx\"},\"2\":{\"name\":\"variable.metadata.hx\"},\"3\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.metadata.hx\"},\"2\":{\"name\":\"variable.metadata.hx\"},\"3\":{\"name\":\"variable.metadata.hx\"},\"4\":{\"name\":\"punctuation.accessor.hx\"},\"5\":{\"name\":\"variable.metadata.hx\"}},\"match\":\"(@)(:?)([A-Z_a-z]*(\\\\.))*([A-Z_a-z]*)?\"}]},\"method\":{\"begin\":\"(?=\\\\bfunction\\\\b)\",\"end\":\"(?<=[;}])\",\"name\":\"meta.method.hx\",\"patterns\":[{\"include\":\"#macro-reification\"},{\"include\":\"#method-name\"},{\"include\":\"#method-name-post\"},{\"include\":\"#method-block\"}]},\"method-block\":{\"begin\":\"(?<=\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.method.block.hx\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"method-call\":{\"begin\":\"\\\\b(?:(__(?:addressOf|as|call|checked|cpp|cs|define_feature|delete|feature|field|fixed|foreach|forin|has_next|hkeys|in|int|is|java|js|keys|lock|lua|lua_table|new|php|physeq|prefix|ptr|resources|rethrow|set|setfield|sizeof|type|typeof|unprotect|unsafe|valueOf|var|vector|vmem_get|vmem_set|vmem_sign|instanceof|strict_eq|strict_neq)__)|([_a-z]\\\\w*))\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.untyped-function.hx\"},\"2\":{\"name\":\"entity.name.function.hx\"},\"3\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"method-name\":{\"begin\":\"\\\\b(function)\\\\b\\\\s*\\\\b(?:(new)|([A-Z_a-z]\\\\w*))?\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.hx\"},\"2\":{\"name\":\"storage.type.hx\"},\"3\":{\"name\":\"entity.name.function.hx\"}},\"end\":\"(?=$|\\\\()\",\"patterns\":[{\"include\":\"#macro-reification\"},{\"include\":\"#type-parameters\"}]},\"method-name-post\":{\"begin\":\"(?<=[>\\\\w\\\\s])\",\"end\":\"(\\\\{)|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"},\"2\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#parameters\"},{\"include\":\"#method-return-type-hint\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"method-return-type-hint\":{\"begin\":\"(?<=\\\\))\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[0-9;a-{])\",\"patterns\":[{\"include\":\"#type\"}]},\"modifiers\":{\"patterns\":[{\"match\":\"\\\\b(enum)\\\\b\",\"name\":\"storage.type.class\"},{\"match\":\"\\\\b(public|private|static|dynamic|inline|macro|extern|override|overload|abstract)\\\\b\",\"name\":\"storage.modifier.hx\"},{\"match\":\"\\\\b(final)\\\\b(?=\\\\s+(public|private|static|dynamic|inline|macro|extern|override|overload|abstract|function))\",\"name\":\"storage.modifier.hx\"}]},\"modifiers-inheritance\":{\"match\":\"\\\\b(implements|extends)\\\\b\",\"name\":\"storage.modifier.hx\"},\"new-expr\":{\"begin\":\"(?<!\\\\.)\\\\b(new)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.new.hx\"}},\"end\":\"(?=$|\\\\()\",\"name\":\"new.expr.hx\",\"patterns\":[{\"include\":\"#type\"}]},\"operator-assignment\":{\"match\":\"(=)\",\"name\":\"keyword.operator.assignment.hx\"},\"operator-optional\":{\"match\":\"(\\\\?)(?!\\\\s)\",\"name\":\"keyword.operator.optional.hx\"},\"operator-rest\":{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"keyword.operator.rest.hx\"},\"operator-type-hint\":{\"match\":\"(:)\",\"name\":\"keyword.operator.type.annotation.hx\"},\"operators\":{\"patterns\":[{\"match\":\"(&&|\\\\|\\\\|)\",\"name\":\"keyword.operator.logical.hx\"},{\"match\":\"([\\\\&^|~]|>>>|<<|>>)\",\"name\":\"keyword.operator.bitwise.hx\"},{\"match\":\"(==|!=|<=|>=|[<>])\",\"name\":\"keyword.operator.comparison.hx\"},{\"match\":\"(!)\",\"name\":\"keyword.operator.logical.hx\"},{\"match\":\"(--|\\\\+\\\\+)\",\"name\":\"keyword.operator.increment-decrement.hx\"},{\"match\":\"([-%*+/])\",\"name\":\"keyword.operator.arithmetic.hx\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"keyword.operator.intiterator.hx\"},{\"match\":\"=>\",\"name\":\"keyword.operator.arrow.hx\"},{\"match\":\"\\\\?\\\\?\",\"name\":\"keyword.operator.nullcoalescing.hx\"},{\"match\":\"\\\\?\\\\.\",\"name\":\"keyword.operator.safenavigation.hx\"},{\"match\":\"\\\\bis\\\\b(?!\\\\()\",\"name\":\"keyword.other.hx\"},{\"begin\":\"\\\\?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.ternary.hx\"}},\"end\":\":\",\"endCaptures\":{\"0\":{\"name\":\"keyword.operator.ternary.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]}]},\"package\":{\"begin\":\"package\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.other.package.hx\"}},\"end\":\"$|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#type-path\"},{\"include\":\"#type-path-package-name\"}]},\"parameter\":{\"begin\":\"(?<=[(,])\",\"end\":\"(?=\\\\)(?!\\\\s*->)|,)\",\"patterns\":[{\"include\":\"#parameter-name\"},{\"include\":\"#parameter-type-hint\"},{\"include\":\"#parameter-assign\"},{\"include\":\"#global\"}]},\"parameter-assign\":{\"begin\":\"=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.hx\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"parameter-name\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.hx\"}},\"match\":\"\\\\s*([A-Z_a-z]\\\\w*)\"},{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#operator-optional\"},{\"include\":\"#operator-rest\"}]},\"parameter-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=\\\\)(?!\\\\s*->)|[,=])\",\"patterns\":[{\"include\":\"#type\"}]},\"parameters\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"\\\\s*(\\\\)(?!\\\\s*->))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.hx\"}},\"name\":\"meta.parameters.hx\",\"patterns\":[{\"include\":\"#parameter\"},{\"include\":\"#punctuation-comma\"}]},\"punctuation-accessor\":{\"match\":\"\\\\.\",\"name\":\"punctuation.accessor.hx\"},\"punctuation-braces\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#keywords\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"},{\"include\":\"#type-check\"}]},\"punctuation-comma\":{\"match\":\",\",\"name\":\"punctuation.separator.comma.hx\"},\"punctuation-terminator\":{\"match\":\";\",\"name\":\"punctuation.terminator.hx\"},\"regex\":{\"begin\":\"(~/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.hx\"}},\"end\":\"(/)([gimsu]*)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.hx\"},\"2\":{\"name\":\"keyword.other.hx\"}},\"name\":\"string.regexp.hx\",\"patterns\":[{\"include\":\"#regexp\"}]},\"regex-character-class\":{\"patterns\":[{\"match\":\"\\\\\\\\[DSWdfnrstvw]|\\\\.\",\"name\":\"constant.other.character-class.regexp\"},{\"match\":\"\\\\\\\\([0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h)\",\"name\":\"constant.character.numeric.regexp\"},{\"match\":\"\\\\\\\\c[A-Z]\",\"name\":\"constant.character.control.regexp\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.backslash.regexp\"}]},\"regexp\":{\"patterns\":[{\"match\":\"\\\\\\\\[Bb]|[$^]\",\"name\":\"keyword.control.anchor.regexp\"},{\"match\":\"\\\\\\\\[1-9]\\\\d*\",\"name\":\"keyword.other.back-reference.regexp\"},{\"match\":\"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??\",\"name\":\"keyword.operator.quantifier.regexp\"},{\"match\":\"\\\\|\",\"name\":\"keyword.operator.or.regexp\"},{\"begin\":\"(\\\\()((\\\\?=)|(\\\\?!))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"},\"2\":{\"name\":\"punctuation.definition.group.assertion.regexp\"},\"3\":{\"name\":\"meta.assertion.look-ahead.regexp\"},\"4\":{\"name\":\"meta.assertion.negative-look-ahead.regexp\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"}},\"name\":\"meta.group.assertion.regexp\",\"patterns\":[{\"include\":\"#regexp\"}]},{\"begin\":\"\\\\((\\\\?:)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.regexp\"},\"1\":{\"name\":\"punctuation.definition.group.capture.regexp\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.regexp\"}},\"name\":\"meta.group.regexp\",\"patterns\":[{\"include\":\"#regexp\"}]},{\"begin\":\"(\\\\[)(\\\\^)?\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.regexp\"},\"2\":{\"name\":\"keyword.operator.negation.regexp\"}},\"end\":\"(])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.regexp\"}},\"name\":\"constant.other.character-class.set.regexp\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.character.numeric.regexp\"},\"2\":{\"name\":\"constant.character.control.regexp\"},\"3\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"4\":{\"name\":\"constant.character.numeric.regexp\"},\"5\":{\"name\":\"constant.character.control.regexp\"},\"6\":{\"name\":\"constant.character.escape.backslash.regexp\"}},\"match\":\"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))\",\"name\":\"constant.other.character-class.range.regexp\"},{\"include\":\"#regex-character-class\"}]},{\"include\":\"#regex-character-class\"}]},\"string-escape-sequences\":{\"patterns\":[{\"match\":\"\\\\\\\\[0-3][0-9]{2}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\x\\\\h{2}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\u[0-9]{4}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h+}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\nrt]\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.escape.sequence.hx\"}]},\"strings\":{\"patterns\":[{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.hx\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.hx\"}},\"name\":\"string.quoted.double.hx\",\"patterns\":[{\"include\":\"#string-escape-sequences\"}]},{\"begin\":\"(')\",\"beginCaptures\":{\"0\":{\"name\":\"string.quoted.single.hx\"},\"1\":{\"name\":\"punctuation.definition.string.begin.hx\"}},\"end\":\"(')\",\"endCaptures\":{\"0\":{\"name\":\"string.quoted.single.hx\"},\"1\":{\"name\":\"punctuation.definition.string.end.hx\"}},\"patterns\":[{\"begin\":\"\\\\$(?=\\\\$)\",\"beginCaptures\":{\"0\":{\"name\":\"constant.character.escape.hx\"}},\"end\":\"\\\\$\",\"endCaptures\":{\"0\":{\"name\":\"constant.character.escape.hx\"}},\"name\":\"string.quoted.single.hx\"},{\"include\":\"#string-escape-sequences\"},{\"begin\":\"(\\\\$\\\\{)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"(})\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"},\"2\":{\"name\":\"variable.other.hx\"}},\"match\":\"(\\\\$)([A-Z_a-z]\\\\w*)\"},{\"match\":\"\",\"name\":\"constant.character.escape.hx\"},{\"match\":\".\",\"name\":\"string.quoted.single.hx\"}]}]},\"type\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#macro-reification\"},{\"include\":\"#type-name\"},{\"include\":\"#type-parameters\"},{\"match\":\"->\",\"name\":\"keyword.operator.type.function.hx\"},{\"match\":\"&\",\"name\":\"keyword.operator.type.intersection.hx\"},{\"match\":\"\\\\?(?=\\\\s*[A-Z_])\",\"name\":\"keyword.operator.optional\"},{\"match\":\"\\\\?(?!\\\\s*[A-Z_])\",\"name\":\"punctuation.definition.tag\"},{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"(?<=})\",\"patterns\":[{\"include\":\"#typedef-block\"}]},{\"include\":\"#function-type\"}]},\"type-check\":{\"begin\":\"(?<!macro)(?=:)\",\"end\":\"(?=\\\\))\",\"patterns\":[{\"include\":\"#operator-type-hint\"},{\"include\":\"#type\"}]},\"type-name\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.class.builtin.hx\"},\"2\":{\"name\":\"support.package.hx\"},\"3\":{\"name\":\"entity.name.type.hx\"}},\"match\":\"\\\\b(Any|Array|ArrayAccess|Bool|Class|Date|DateTools|Dynamic|Enum|EnumValue|EReg|Float|IMap|Int|IntIterator|Iterable|Iterator|KeyValueIterator|KeyValueIterable|Lambda|List|ListIterator|ListNode|Map|Math|Null|Reflect|Single|Std|String|StringBuf|StringTools|Sys|Type|UInt|UnicodeString|ValueType|Void|Xml|XmlType)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b\"},{\"captures\":{\"1\":{\"name\":\"support.package.hx\"},\"3\":{\"name\":\"entity.name.type.hx\"},\"4\":{\"name\":\"support.package.hx\"},\"5\":{\"name\":\"entity.name.type.hx\"}},\"match\":\"\\\\b(?<![^.]\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b\"}]},\"type-parameter-constraint-new\":{\"match\":\":\",\"name\":\"keyword.operator.type.annotation.hxt\"},\"type-parameter-constraint-old\":{\"begin\":\"(:)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.hx\"},\"2\":{\"name\":\"punctuation.definition.constraint.begin.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.constraint.end.hx\"}},\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#punctuation-comma\"}]},\"type-parameters\":{\"begin\":\"(<)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.hx\"}},\"end\":\"(?=$)|(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.end.hx\"}},\"name\":\"meta.type-parameters.hx\",\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#type-parameter-constraint-old\"},{\"include\":\"#type-parameter-constraint-new\"},{\"include\":\"#global\"},{\"include\":\"#regex\"},{\"include\":\"#array\"},{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"include\":\"#metadata\"},{\"include\":\"#punctuation-comma\"}]},\"type-path\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#punctuation-accessor\"},{\"include\":\"#type-path-type-name\"}]},\"type-path-package-name\":{\"match\":\"\\\\b([A-Z_a-z]\\\\w*)\\\\b\",\"name\":\"support.package.hx\"},\"type-path-type-name\":{\"match\":\"\\\\b(_*[A-Z]\\\\w*)\\\\b\",\"name\":\"entity.name.type.hx\"},\"typedef\":{\"begin\":\"(?=typedef)\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.typedef.hx\",\"patterns\":[{\"include\":\"#typedef-name\"},{\"include\":\"#typedef-name-post\"},{\"include\":\"#typedef-block\"}]},\"typedef-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#method\"},{\"include\":\"#variable\"},{\"include\":\"#modifiers\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#operator-optional\"},{\"include\":\"#typedef-extension\"},{\"include\":\"#typedef-simple-field-type-hint\"},{\"include\":\"#identifier-name\"},{\"include\":\"#strings\"}]},\"typedef-extension\":{\"begin\":\">\",\"end\":\",|$\",\"patterns\":[{\"include\":\"#type\"}]},\"typedef-name\":{\"begin\":\"\\\\b(typedef)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"typedef-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"(\\\\{)|(?=;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#punctuation-brackets\"},{\"include\":\"#punctuation-separator\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#type\"}]},\"typedef-simple-field-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[,;}])\",\"patterns\":[{\"include\":\"#type\"}]},\"using\":{\"begin\":\"using\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.other.using.hx\"}},\"end\":\"$|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#type-path\"},{\"include\":\"#type-path-package-name\"}]},\"variable\":{\"begin\":\"(?=\\\\b(var|final)\\\\b)\",\"end\":\"(?=$)|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#variable-name\"},{\"include\":\"#variable-name-next\"},{\"include\":\"#variable-assign\"},{\"include\":\"#variable-name-post\"}]},\"variable-accessors\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.hx\"}},\"name\":\"meta.parameters.hx\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#keywords-accessor\"},{\"include\":\"#accessor-method\"},{\"include\":\"#punctuation-comma\"}]},\"variable-assign\":{\"begin\":\"=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.hx\"}},\"end\":\"(?=[,;])\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"variable-name\":{\"begin\":\"\\\\b(var|final)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.variable.hx\"}},\"end\":\"(?=$)|([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"variable.other.hx\"}},\"patterns\":[{\"include\":\"#operator-optional\"}]},\"variable-name-next\":{\"begin\":\",\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.comma.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"variable.other.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"variable-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"(?=;)|(?==)\",\"patterns\":[{\"include\":\"#variable-accessors\"},{\"include\":\"#variable-type-hint\"},{\"include\":\"#block-contents\"}]},\"variable-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=$|[,;=])\",\"patterns\":[{\"include\":\"#type\"}]}},\"scopeName\":\"source.hx\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Haxe\",\"fileTypes\":[\"hx\",\"dump\"],\"name\":\"haxe\",\"patterns\":[{\"include\":\"#all\"}],\"repository\":{\"abstract\":{\"begin\":\"(?=abstract\\\\s+[A-Z])\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.abstract.hx\",\"patterns\":[{\"include\":\"#abstract-name\"},{\"include\":\"#abstract-name-post\"},{\"include\":\"#abstract-block\"}]},\"abstract-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#method\"},{\"include\":\"#modifiers\"},{\"include\":\"#variable\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"abstract-name\":{\"begin\":\"\\\\b(abstract)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"abstract-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#global\"},{\"match\":\"\\\\b(from|to)\\\\b\",\"name\":\"keyword.other.hx\"},{\"include\":\"#type\"},{\"match\":\"[()]\",\"name\":\"punctuation.definition.other.hx\"}]},\"accessor-method\":{\"patterns\":[{\"match\":\"\\\\b([gs]et)_[A-Z_a-z]\\\\w*\\\\b\",\"name\":\"entity.name.function.hx\"}]},\"all\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#package\"},{\"include\":\"#import\"},{\"include\":\"#using\"},{\"match\":\"\\\\b(final)\\\\b(?=\\\\s+(class|interface|extern|private)\\\\b)\",\"name\":\"storage.modifier.hx\"},{\"include\":\"#abstract\"},{\"include\":\"#class\"},{\"include\":\"#enum\"},{\"include\":\"#interface\"},{\"include\":\"#typedef\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"array\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.array.begin.hx\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.array.end.hx\"}},\"name\":\"meta.array.literal.hx\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"arrow-function\":{\"begin\":\"(\\\\()(?=[^(]*?\\\\)\\\\s*->)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"(\\\\))\\\\s*(->)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.hx\"},\"2\":{\"name\":\"storage.type.function.arrow.hx\"}},\"name\":\"meta.method.arrow.hx\",\"patterns\":[{\"include\":\"#arrow-function-parameter\"}]},\"arrow-function-parameter\":{\"begin\":\"(?<=[(,])\",\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#parameter-name\"},{\"include\":\"#arrow-function-parameter-type-hint\"},{\"include\":\"#parameter-assign\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#global\"}]},\"arrow-function-parameter-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[),=])\",\"patterns\":[{\"include\":\"#type\"}]},\"block\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"block-contents\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#regex\"},{\"include\":\"#array\"},{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"include\":\"#metadata\"},{\"include\":\"#method\"},{\"include\":\"#variable\"},{\"include\":\"#modifiers\"},{\"include\":\"#new-expr\"},{\"include\":\"#for-loop\"},{\"include\":\"#keywords\"},{\"include\":\"#arrow-function\"},{\"include\":\"#method-call\"},{\"include\":\"#enum-constructor-call\"},{\"include\":\"#punctuation-braces\"},{\"include\":\"#macro-reification\"},{\"include\":\"#operators\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#punctuation-terminator\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#punctuation-accessor\"},{\"include\":\"#identifiers\"}]},\"class\":{\"begin\":\"(?=class)\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.class.hx\",\"patterns\":[{\"include\":\"#class-name\"},{\"include\":\"#class-name-post\"},{\"include\":\"#class-block\"}]},\"class-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#method\"},{\"include\":\"#modifiers\"},{\"include\":\"#variable\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"class-name\":{\"begin\":\"\\\\b(class)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"name\":\"meta.class.identifier.hx\",\"patterns\":[{\"include\":\"#global\"}]},\"class-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#modifiers-inheritance\"},{\"include\":\"#type\"}]},\"comments\":{\"patterns\":[{\"begin\":\"/\\\\*\\\\*(?!/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"name\":\"comment.block.documentation.hx\",\"patterns\":[{\"include\":\"#javadoc-tags\"}]},{\"begin\":\"/\\\\*\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.hx\"}},\"name\":\"comment.block.hx\",\"patterns\":[{\"include\":\"#javadoc-tags\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.hx\"}},\"match\":\"(//).*$\\\\n?\",\"name\":\"comment.line.double-slash.hx\"}]},\"conditional-compilation\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"punctuation.definition.tag\"}},\"match\":\"((#(if|elseif))[!\\\\s]+([A-Z_a-z][0-9A-Z_a-z]*(\\\\.[A-Z_a-z][0-9A-Z_a-z]*)*)(?=\\\\s|/\\\\*|//))\"},{\"begin\":\"((#(if|elseif))[!\\\\s]*)(?=\\\\()\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag\"}},\"end\":\"(?<=[\\\\n)])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag\"}},\"name\":\"punctuation.definition.tag\",\"patterns\":[{\"include\":\"#conditional-compilation-parens\"}]},{\"match\":\"(#(end|else|error|line))\",\"name\":\"punctuation.definition.tag\"},{\"match\":\"(#([0-9A-Z_a-z]*))\\\\s\",\"name\":\"punctuation.definition.tag\"}]},\"conditional-compilation-parens\":{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#conditional-compilation-parens\"}]},\"constant-name\":{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.hx\"},\"constants\":{\"patterns\":[{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.hx\"},{\"captures\":{\"0\":{\"name\":\"constant.numeric.hex.hx\"},\"1\":{\"name\":\"constant.numeric.suffix.hx\"}},\"match\":\"\\\\b0[Xx]\\\\h[_\\\\h]*([iu][0-9][0-9_]*)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"constant.numeric.bin.hx\"},\"1\":{\"name\":\"constant.numeric.suffix.hx\"}},\"match\":\"\\\\b0[Bb][01][01_]*([iu][0-9][0-9_]*)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"constant.numeric.decimal.hx\"},\"1\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"2\":{\"name\":\"constant.numeric.suffix.hx\"},\"3\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"4\":{\"name\":\"constant.numeric.suffix.hx\"},\"5\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"6\":{\"name\":\"constant.numeric.suffix.hx\"},\"7\":{\"name\":\"constant.numeric.suffix.hx\"},\"8\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"9\":{\"name\":\"constant.numeric.suffix.hx\"},\"10\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"11\":{\"name\":\"constant.numeric.suffix.hx\"},\"12\":{\"name\":\"meta.delimiter.decimal.period.hx\"},\"13\":{\"name\":\"constant.numeric.suffix.hx\"},\"14\":{\"name\":\"constant.numeric.suffix.hx\"}},\"match\":\"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(?!\\\\.)(?:\\\\B|([fiu][0-9][0-9_]*)\\\\b)|\\\\B(\\\\.)[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b)(?!\\\\$)\"}]},\"enum\":{\"begin\":\"(?=enum\\\\s+[A-Z])\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.enum.hx\",\"patterns\":[{\"include\":\"#enum-name\"},{\"include\":\"#enum-name-post\"},{\"include\":\"#enum-block\"}]},\"enum-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#parameters\"},{\"include\":\"#identifiers\"}]},\"enum-constructor-call\":{\"begin\":\"\\\\b(?<!\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.package.hx\"},\"3\":{\"name\":\"entity.name.type.hx\"},\"4\":{\"name\":\"support.package.hx\"},\"5\":{\"name\":\"entity.name.type.hx\"},\"6\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"enum-name\":{\"begin\":\"\\\\b(enum)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"enum-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#type\"}]},\"for-loop\":{\"begin\":\"\\\\b(for)\\\\b\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.flow-control.hx\"},\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.other.in.hx\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"function-type\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.hx\"}},\"patterns\":[{\"include\":\"#function-type-parameter\"}]},\"function-type-parameter\":{\"begin\":\"(?<=[(,])\",\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#operator-optional\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#function-type-parameter-name\"},{\"include\":\"#function-type-parameter-type-hint\"},{\"include\":\"#parameter-assign\"},{\"include\":\"#type\"},{\"include\":\"#global\"}]},\"function-type-parameter-name\":{\"captures\":{\"1\":{\"name\":\"variable.parameter.hx\"}},\"match\":\"([A-Z_a-z]\\\\w*)(?=\\\\s*:)\"},\"function-type-parameter-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[),=])\",\"patterns\":[{\"include\":\"#type\"}]},\"global\":{\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#conditional-compilation\"}]},\"identifier-name\":{\"match\":\"\\\\b([A-Z_a-z]\\\\w*)\\\\b\",\"name\":\"variable.other.hx\"},\"identifiers\":{\"patterns\":[{\"include\":\"#constant-name\"},{\"include\":\"#type-name\"},{\"include\":\"#identifier-name\"}]},\"import\":{\"begin\":\"import\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.import.hx\"}},\"end\":\"$|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#type-path\"},{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"keyword.control.as.hx\"},{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.control.in.hx\"},{\"match\":\"\\\\*\",\"name\":\"constant.language.import-all.hx\"},{\"match\":\"\\\\b([A-Z_a-z]\\\\w*)\\\\b(?=\\\\s*(as|in|$|(;)))\",\"name\":\"variable.other.hxt\"},{\"include\":\"#type-path-package-name\"}]},\"interface\":{\"begin\":\"(?=interface)\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.interface.hx\",\"patterns\":[{\"include\":\"#interface-name\"},{\"include\":\"#interface-name-post\"},{\"include\":\"#interface-block\"}]},\"interface-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#method\"},{\"include\":\"#variable\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"interface-name\":{\"begin\":\"\\\\b(interface)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"interface-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"([;{])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#modifiers-inheritance\"},{\"include\":\"#type\"}]},\"javadoc-tags\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.class.javadoc\"},\"2\":{\"name\":\"variable.other.javadoc\"}},\"match\":\"(@(?:param|exception|throws|event))\\\\s+([A-Z_a-z]\\\\w*)\\\\s+\"},{\"captures\":{\"1\":{\"name\":\"storage.type.class.javadoc\"},\"2\":{\"name\":\"constant.numeric.javadoc\"}},\"match\":\"(@since)\\\\s+([-.\\\\w]+)\\\\s+\"},{\"captures\":{\"0\":{\"name\":\"storage.type.class.javadoc\"}},\"match\":\"@(param|exception|throws|deprecated|returns?|since|default|see|event)\"}]},\"keywords\":{\"patterns\":[{\"begin\":\"(?<=trace|$type|if|while|for|super)\\\\s*(\\\\()\",\"beginCaptures\":{\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"begin\":\"(?<=catch)\\\\s*(\\\\()\",\"beginCaptures\":{\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"},{\"include\":\"#type-check\"}]},{\"begin\":\"(?<=cast)\\\\s*(\\\\()\",\"beginCaptures\":{\"2\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"begin\":\"(?=,)\",\"end\":\"(?=\\\\))\",\"patterns\":[{\"include\":\"#type\"}]},{\"include\":\"#block-contents\"}]},{\"match\":\"\\\\b(try|catch|throw)\\\\b\",\"name\":\"keyword.control.catch-exception.hx\"},{\"begin\":\"\\\\b(case|default)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.flow-control.hx\"}},\"end\":\":|(?=if)|$\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"captures\":{\"1\":{\"name\":\"storage.type.variable.hx\"},\"2\":{\"name\":\"variable.other.hx\"}},\"match\":\"\\\\b(var|final)\\\\b\\\\s*([A-Z_a-z]\\\\w*)\\\\b\"},{\"include\":\"#array\"},{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"match\":\"\\\\(\",\"name\":\"meta.brace.round.hx\"},{\"match\":\"\\\\)\",\"name\":\"meta.brace.round.hx\"},{\"include\":\"#macro-reification\"},{\"match\":\"=>\",\"name\":\"keyword.operator.extractor.hx\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#keywords\"},{\"include\":\"#method-call\"},{\"include\":\"#identifiers\"}]},{\"match\":\"\\\\b(if|else|return|do|while|for|break|continue|switch|case|default)\\\\b\",\"name\":\"keyword.control.flow-control.hx\"},{\"match\":\"\\\\b(cast|untyped)\\\\b\",\"name\":\"keyword.other.untyped.hx\"},{\"match\":\"\\\\btrace\\\\b\",\"name\":\"keyword.other.trace.hx\"},{\"match\":\"\\\\$type\\\\b\",\"name\":\"keyword.other.type.hx\"},{\"match\":\"__(global|this)__\\\\b\",\"name\":\"keyword.other.untyped-property.hx\"},{\"match\":\"\\\\b(this|super)\\\\b\",\"name\":\"variable.language.hx\"},{\"match\":\"\\\\bnew\\\\b\",\"name\":\"keyword.operator.new.hx\"},{\"match\":\"\\\\b(abstract|class|enum|interface|typedef)\\\\b\",\"name\":\"storage.type.hx\"},{\"match\":\"->\",\"name\":\"storage.type.function.arrow.hx\"},{\"include\":\"#modifiers\"},{\"include\":\"#modifiers-inheritance\"}]},\"keywords-accessor\":{\"match\":\"\\\\b(default|get|set|dynamic|never|null)\\\\b\",\"name\":\"storage.type.property.hx\"},\"macro-reification\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.reification.hx\"},\"2\":{\"name\":\"keyword.reification.hx\"}},\"match\":\"(\\\\$)([abeipv])\\\\{\"},{\"captures\":{\"2\":{\"name\":\"punctuation.definition.reification.hx\"},\"3\":{\"name\":\"variable.reification.hx\"}},\"match\":\"((\\\\$)([A-Za-z]*))\"}]},\"metadata\":{\"patterns\":[{\"begin\":\"(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile))\\\\b\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.metadata.hx\"},\"2\":{\"name\":\"storage.modifier.metadata.hx\"},\"3\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"captures\":{\"2\":{\"name\":\"punctuation.metadata.hx\"},\"3\":{\"name\":\"storage.modifier.metadata.hx\"}},\"match\":\"((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)))\\\\b\"},{\"begin\":\"(@)(:?[A-Z_a-z]*)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.metadata.hx\"},\"2\":{\"name\":\"variable.metadata.hx\"},\"3\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.metadata.hx\"},\"2\":{\"name\":\"variable.metadata.hx\"},\"3\":{\"name\":\"variable.metadata.hx\"},\"4\":{\"name\":\"punctuation.accessor.hx\"},\"5\":{\"name\":\"variable.metadata.hx\"}},\"match\":\"(@)(:?)([A-Z_a-z]*(\\\\.))*([A-Z_a-z]*)?\"}]},\"method\":{\"begin\":\"(?=\\\\bfunction\\\\b)\",\"end\":\"(?<=[;}])\",\"name\":\"meta.method.hx\",\"patterns\":[{\"include\":\"#macro-reification\"},{\"include\":\"#method-name\"},{\"include\":\"#method-name-post\"},{\"include\":\"#method-block\"}]},\"method-block\":{\"begin\":\"(?<=\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.method.block.hx\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"method-call\":{\"begin\":\"\\\\b(?:(__(?:addressOf|as|call|checked|cpp|cs|define_feature|delete|feature|field|fixed|foreach|forin|has_next|hkeys|int??|is|java|js|keys|lock|lua|lua_table|new|php|physeq|prefix|ptr|resources|rethrow|set|setfield|sizeof|type|typeof|unprotect|unsafe|valueOf|var|vector|vmem_get|vmem_set|vmem_sign|instanceof|strict_eq|strict_neq)__)|([_a-z]\\\\w*))\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.untyped-function.hx\"},\"2\":{\"name\":\"entity.name.function.hx\"},\"3\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"method-name\":{\"begin\":\"\\\\b(function)\\\\b\\\\s*\\\\b(?:(new)|([A-Z_a-z]\\\\w*))?\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.hx\"},\"2\":{\"name\":\"storage.type.hx\"},\"3\":{\"name\":\"entity.name.function.hx\"}},\"end\":\"(?=$|\\\\()\",\"patterns\":[{\"include\":\"#macro-reification\"},{\"include\":\"#type-parameters\"}]},\"method-name-post\":{\"begin\":\"(?<=[>\\\\w\\\\s])\",\"end\":\"(\\\\{)|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"},\"2\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#parameters\"},{\"include\":\"#method-return-type-hint\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"method-return-type-hint\":{\"begin\":\"(?<=\\\\))\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[0-9;a-{])\",\"patterns\":[{\"include\":\"#type\"}]},\"modifiers\":{\"patterns\":[{\"match\":\"\\\\b(enum)\\\\b\",\"name\":\"storage.type.class\"},{\"match\":\"\\\\b(public|private|static|dynamic|inline|macro|extern|override|overload|abstract)\\\\b\",\"name\":\"storage.modifier.hx\"},{\"match\":\"\\\\b(final)\\\\b(?=\\\\s+(public|private|static|dynamic|inline|macro|extern|override|overload|abstract|function))\",\"name\":\"storage.modifier.hx\"}]},\"modifiers-inheritance\":{\"match\":\"\\\\b(implements|extends)\\\\b\",\"name\":\"storage.modifier.hx\"},\"new-expr\":{\"begin\":\"(?<!\\\\.)\\\\b(new)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.new.hx\"}},\"end\":\"(?=$|\\\\()\",\"name\":\"new.expr.hx\",\"patterns\":[{\"include\":\"#type\"}]},\"operator-assignment\":{\"match\":\"(=)\",\"name\":\"keyword.operator.assignment.hx\"},\"operator-optional\":{\"match\":\"(\\\\?)(?!\\\\s)\",\"name\":\"keyword.operator.optional.hx\"},\"operator-rest\":{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"keyword.operator.rest.hx\"},\"operator-type-hint\":{\"match\":\"(:)\",\"name\":\"keyword.operator.type.annotation.hx\"},\"operators\":{\"patterns\":[{\"match\":\"(&&|\\\\|\\\\|)\",\"name\":\"keyword.operator.logical.hx\"},{\"match\":\"([\\\\&^|~]|>>>|<<|>>)\",\"name\":\"keyword.operator.bitwise.hx\"},{\"match\":\"(==|!=|<=|>=|[<>])\",\"name\":\"keyword.operator.comparison.hx\"},{\"match\":\"(!)\",\"name\":\"keyword.operator.logical.hx\"},{\"match\":\"(--|\\\\+\\\\+)\",\"name\":\"keyword.operator.increment-decrement.hx\"},{\"match\":\"([-%*+/])\",\"name\":\"keyword.operator.arithmetic.hx\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"keyword.operator.intiterator.hx\"},{\"match\":\"=>\",\"name\":\"keyword.operator.arrow.hx\"},{\"match\":\"\\\\?\\\\?\",\"name\":\"keyword.operator.nullcoalescing.hx\"},{\"match\":\"\\\\?\\\\.\",\"name\":\"keyword.operator.safenavigation.hx\"},{\"match\":\"\\\\bis\\\\b(?!\\\\()\",\"name\":\"keyword.other.hx\"},{\"begin\":\"\\\\?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.ternary.hx\"}},\"end\":\":\",\"endCaptures\":{\"0\":{\"name\":\"keyword.operator.ternary.hx\"}},\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]}]},\"package\":{\"begin\":\"package\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.other.package.hx\"}},\"end\":\"$|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#type-path\"},{\"include\":\"#type-path-package-name\"}]},\"parameter\":{\"begin\":\"(?<=[(,])\",\"end\":\"(?=\\\\)(?!\\\\s*->)|,)\",\"patterns\":[{\"include\":\"#parameter-name\"},{\"include\":\"#parameter-type-hint\"},{\"include\":\"#parameter-assign\"},{\"include\":\"#global\"}]},\"parameter-assign\":{\"begin\":\"=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.hx\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"parameter-name\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.hx\"}},\"match\":\"\\\\s*([A-Z_a-z]\\\\w*)\"},{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#operator-optional\"},{\"include\":\"#operator-rest\"}]},\"parameter-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=\\\\)(?!\\\\s*->)|[,=])\",\"patterns\":[{\"include\":\"#type\"}]},\"parameters\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"\\\\s*(\\\\)(?!\\\\s*->))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.hx\"}},\"name\":\"meta.parameters.hx\",\"patterns\":[{\"include\":\"#parameter\"},{\"include\":\"#punctuation-comma\"}]},\"punctuation-accessor\":{\"match\":\"\\\\.\",\"name\":\"punctuation.accessor.hx\"},\"punctuation-braces\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.hx\"}},\"patterns\":[{\"include\":\"#keywords\"},{\"include\":\"#block\"},{\"include\":\"#block-contents\"},{\"include\":\"#type-check\"}]},\"punctuation-comma\":{\"match\":\",\",\"name\":\"punctuation.separator.comma.hx\"},\"punctuation-terminator\":{\"match\":\";\",\"name\":\"punctuation.terminator.hx\"},\"regex\":{\"begin\":\"(~/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.hx\"}},\"end\":\"(/)([gimsu]*)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.hx\"},\"2\":{\"name\":\"keyword.other.hx\"}},\"name\":\"string.regexp.hx\",\"patterns\":[{\"include\":\"#regexp\"}]},\"regex-character-class\":{\"patterns\":[{\"match\":\"\\\\\\\\[DSWdfnrstvw]|\\\\.\",\"name\":\"constant.other.character-class.regexp\"},{\"match\":\"\\\\\\\\([0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h)\",\"name\":\"constant.character.numeric.regexp\"},{\"match\":\"\\\\\\\\c[A-Z]\",\"name\":\"constant.character.control.regexp\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.backslash.regexp\"}]},\"regexp\":{\"patterns\":[{\"match\":\"\\\\\\\\[Bb]|[$^]\",\"name\":\"keyword.control.anchor.regexp\"},{\"match\":\"\\\\\\\\[1-9]\\\\d*\",\"name\":\"keyword.other.back-reference.regexp\"},{\"match\":\"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??\",\"name\":\"keyword.operator.quantifier.regexp\"},{\"match\":\"\\\\|\",\"name\":\"keyword.operator.or.regexp\"},{\"begin\":\"(\\\\()((\\\\?=)|(\\\\?!))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"},\"2\":{\"name\":\"punctuation.definition.group.assertion.regexp\"},\"3\":{\"name\":\"meta.assertion.look-ahead.regexp\"},\"4\":{\"name\":\"meta.assertion.negative-look-ahead.regexp\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.group.regexp\"}},\"name\":\"meta.group.assertion.regexp\",\"patterns\":[{\"include\":\"#regexp\"}]},{\"begin\":\"\\\\((\\\\?:)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.regexp\"},\"1\":{\"name\":\"punctuation.definition.group.capture.regexp\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.regexp\"}},\"name\":\"meta.group.regexp\",\"patterns\":[{\"include\":\"#regexp\"}]},{\"begin\":\"(\\\\[)(\\\\^)?\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.regexp\"},\"2\":{\"name\":\"keyword.operator.negation.regexp\"}},\"end\":\"(])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.regexp\"}},\"name\":\"constant.other.character-class.set.regexp\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.character.numeric.regexp\"},\"2\":{\"name\":\"constant.character.control.regexp\"},\"3\":{\"name\":\"constant.character.escape.backslash.regexp\"},\"4\":{\"name\":\"constant.character.numeric.regexp\"},\"5\":{\"name\":\"constant.character.control.regexp\"},\"6\":{\"name\":\"constant.character.escape.backslash.regexp\"}},\"match\":\"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))\",\"name\":\"constant.other.character-class.range.regexp\"},{\"include\":\"#regex-character-class\"}]},{\"include\":\"#regex-character-class\"}]},\"string-escape-sequences\":{\"patterns\":[{\"match\":\"\\\\\\\\[0-3][0-9]{2}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\x\\\\h{2}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\u[0-9]{4}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h+}\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\nrt]\",\"name\":\"constant.character.escape.hx\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.escape.sequence.hx\"}]},\"strings\":{\"patterns\":[{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.hx\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.hx\"}},\"name\":\"string.quoted.double.hx\",\"patterns\":[{\"include\":\"#string-escape-sequences\"}]},{\"begin\":\"(')\",\"beginCaptures\":{\"0\":{\"name\":\"string.quoted.single.hx\"},\"1\":{\"name\":\"punctuation.definition.string.begin.hx\"}},\"end\":\"(')\",\"endCaptures\":{\"0\":{\"name\":\"string.quoted.single.hx\"},\"1\":{\"name\":\"punctuation.definition.string.end.hx\"}},\"patterns\":[{\"begin\":\"\\\\$(?=\\\\$)\",\"beginCaptures\":{\"0\":{\"name\":\"constant.character.escape.hx\"}},\"end\":\"\\\\$\",\"endCaptures\":{\"0\":{\"name\":\"constant.character.escape.hx\"}},\"name\":\"string.quoted.single.hx\"},{\"include\":\"#string-escape-sequences\"},{\"begin\":\"(\\\\$\\\\{)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"(})\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"patterns\":[{\"include\":\"#block-contents\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"},\"2\":{\"name\":\"variable.other.hx\"}},\"match\":\"(\\\\$)([A-Z_a-z]\\\\w*)\"},{\"match\":\"\",\"name\":\"constant.character.escape.hx\"},{\"match\":\".\",\"name\":\"string.quoted.single.hx\"}]}]},\"type\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#macro-reification\"},{\"include\":\"#type-name\"},{\"include\":\"#type-parameters\"},{\"match\":\"->\",\"name\":\"keyword.operator.type.function.hx\"},{\"match\":\"&\",\"name\":\"keyword.operator.type.intersection.hx\"},{\"match\":\"\\\\?(?=\\\\s*[A-Z_])\",\"name\":\"keyword.operator.optional\"},{\"match\":\"\\\\?(?!\\\\s*[A-Z_])\",\"name\":\"punctuation.definition.tag\"},{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"end\":\"(?<=})\",\"patterns\":[{\"include\":\"#typedef-block\"}]},{\"include\":\"#function-type\"}]},\"type-check\":{\"begin\":\"(?<!macro)(?=:)\",\"end\":\"(?=\\\\))\",\"patterns\":[{\"include\":\"#operator-type-hint\"},{\"include\":\"#type\"}]},\"type-name\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.class.builtin.hx\"},\"2\":{\"name\":\"support.package.hx\"},\"3\":{\"name\":\"entity.name.type.hx\"}},\"match\":\"\\\\b(Any|Array|ArrayAccess|Bool|Class|Date|DateTools|Dynamic|Enum|EnumValue|EReg|Float|IMap|Int|IntIterator|Iterable|Iterator|KeyValueIterator|KeyValueIterable|Lambda|List|ListIterator|ListNode|Map|Math|Null|Reflect|Single|Std|String|StringBuf|StringTools|Sys|Type|UInt|UnicodeString|ValueType|Void|Xml|XmlType)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b\"},{\"captures\":{\"1\":{\"name\":\"support.package.hx\"},\"3\":{\"name\":\"entity.name.type.hx\"},\"4\":{\"name\":\"support.package.hx\"},\"5\":{\"name\":\"entity.name.type.hx\"}},\"match\":\"\\\\b(?<![^.]\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b\"}]},\"type-parameter-constraint-new\":{\"match\":\":\",\"name\":\"keyword.operator.type.annotation.hxt\"},\"type-parameter-constraint-old\":{\"begin\":\"(:)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.hx\"},\"2\":{\"name\":\"punctuation.definition.constraint.begin.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.constraint.end.hx\"}},\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#punctuation-comma\"}]},\"type-parameters\":{\"begin\":\"(<)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.hx\"}},\"end\":\"(?=$)|(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.end.hx\"}},\"name\":\"meta.type-parameters.hx\",\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#type-parameter-constraint-old\"},{\"include\":\"#type-parameter-constraint-new\"},{\"include\":\"#global\"},{\"include\":\"#regex\"},{\"include\":\"#array\"},{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"include\":\"#metadata\"},{\"include\":\"#punctuation-comma\"}]},\"type-path\":{\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#punctuation-accessor\"},{\"include\":\"#type-path-type-name\"}]},\"type-path-package-name\":{\"match\":\"\\\\b([A-Z_a-z]\\\\w*)\\\\b\",\"name\":\"support.package.hx\"},\"type-path-type-name\":{\"match\":\"\\\\b(_*[A-Z]\\\\w*)\\\\b\",\"name\":\"entity.name.type.hx\"},\"typedef\":{\"begin\":\"(?=typedef)\",\"end\":\"(?<=})|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"name\":\"meta.typedef.hx\",\"patterns\":[{\"include\":\"#typedef-name\"},{\"include\":\"#typedef-name-post\"},{\"include\":\"#typedef-block\"}]},\"typedef-block\":{\"begin\":\"(?<=\\\\{)\",\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.end.hx\"}},\"name\":\"meta.block.hx\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#metadata\"},{\"include\":\"#method\"},{\"include\":\"#variable\"},{\"include\":\"#modifiers\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#operator-optional\"},{\"include\":\"#typedef-extension\"},{\"include\":\"#typedef-simple-field-type-hint\"},{\"include\":\"#identifier-name\"},{\"include\":\"#strings\"}]},\"typedef-extension\":{\"begin\":\">\",\"end\":\",|$\",\"patterns\":[{\"include\":\"#type\"}]},\"typedef-name\":{\"begin\":\"\\\\b(typedef)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.type.class.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"typedef-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"(\\\\{)|(?=;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.begin.hx\"}},\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#punctuation-brackets\"},{\"include\":\"#punctuation-separator\"},{\"include\":\"#operator-assignment\"},{\"include\":\"#type\"}]},\"typedef-simple-field-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=[,;}])\",\"patterns\":[{\"include\":\"#type\"}]},\"using\":{\"begin\":\"using\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.other.using.hx\"}},\"end\":\"$|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#type-path\"},{\"include\":\"#type-path-package-name\"}]},\"variable\":{\"begin\":\"(?=\\\\b(var|final)\\\\b)\",\"end\":\"(?=$)|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.hx\"}},\"patterns\":[{\"include\":\"#variable-name\"},{\"include\":\"#variable-name-next\"},{\"include\":\"#variable-assign\"},{\"include\":\"#variable-name-post\"}]},\"variable-accessors\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.hx\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.hx\"}},\"name\":\"meta.parameters.hx\",\"patterns\":[{\"include\":\"#global\"},{\"include\":\"#keywords-accessor\"},{\"include\":\"#accessor-method\"},{\"include\":\"#punctuation-comma\"}]},\"variable-assign\":{\"begin\":\"=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.hx\"}},\"end\":\"(?=[,;])\",\"patterns\":[{\"include\":\"#block\"},{\"include\":\"#block-contents\"}]},\"variable-name\":{\"begin\":\"\\\\b(var|final)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.variable.hx\"}},\"end\":\"(?=$)|([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"variable.other.hx\"}},\"patterns\":[{\"include\":\"#operator-optional\"}]},\"variable-name-next\":{\"begin\":\",\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.comma.hx\"}},\"end\":\"([A-Z_a-z]\\\\w*)\",\"endCaptures\":{\"1\":{\"name\":\"variable.other.hx\"}},\"patterns\":[{\"include\":\"#global\"}]},\"variable-name-post\":{\"begin\":\"(?<=\\\\w)\",\"end\":\"(?=;)|(?==)\",\"patterns\":[{\"include\":\"#variable-accessors\"},{\"include\":\"#variable-type-hint\"},{\"include\":\"#block-contents\"}]},\"variable-type-hint\":{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.annotation.hx\"}},\"end\":\"(?=$|[,;=])\",\"patterns\":[{\"include\":\"#type\"}]}},\"scopeName\":\"source.hx\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/hlsl.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"HLSL\",\"name\":\"hlsl\",\"patterns\":[{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.line.block.hlsl\"},{\"begin\":\"//\",\"end\":\"$\",\"name\":\"comment.line.double-slash.hlsl\"},{\"match\":\"\\\\b[0-9]+\\\\.[0-9]*([Ff])?\\\\b\",\"name\":\"constant.numeric.decimal.hlsl\"},{\"match\":\"(\\\\.([0-9]+)([Ff])?)\\\\b\",\"name\":\"constant.numeric.decimal.hlsl\"},{\"match\":\"\\\\b([0-9]+([Ff])?)\\\\b\",\"name\":\"constant.numeric.decimal.hlsl\"},{\"match\":\"\\\\b(0([Xx])\\\\h+)\\\\b\",\"name\":\"constant.numeric.hex.hlsl\"},{\"match\":\"\\\\b(false|true)\\\\b\",\"name\":\"constant.language.hlsl\"},{\"match\":\"^\\\\s*#\\\\s*(define|elif|else|endif|ifdef|ifndef|if|undef|include|line|error|pragma)\",\"name\":\"keyword.preprocessor.hlsl\"},{\"match\":\"\\\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\\\b\",\"name\":\"keyword.control.hlsl\"},{\"match\":\"\\\\b(compile)\\\\b\",\"name\":\"keyword.control.fx.hlsl\"},{\"match\":\"\\\\b(typedef)\\\\b\",\"name\":\"keyword.typealias.hlsl\"},{\"match\":\"\\\\b(bool([1-4](x[1-4])?)?|double([1-4](x[1-4])?)?|dword|float([1-4](x[1-4])?)?|half([1-4](x[1-4])?)?|int([1-4](x[1-4])?)?|matrix|min10float([1-4](x[1-4])?)?|min12int([1-4](x[1-4])?)?|min16float([1-4](x[1-4])?)?|min16int([1-4](x[1-4])?)?|min16uint([1-4](x[1-4])?)?|unsigned|uint([1-4](x[1-4])?)?|vector|void)\\\\b\",\"name\":\"storage.type.basic.hlsl\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\()\",\"name\":\"support.function.hlsl\"},{\"match\":\"(
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"HLSL\",\"name\":\"hlsl\",\"patterns\":[{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.line.block.hlsl\"},{\"begin\":\"//\",\"end\":\"$\",\"name\":\"comment.line.double-slash.hlsl\"},{\"match\":\"\\\\b[0-9]+\\\\.[0-9]*([Ff])?\\\\b\",\"name\":\"constant.numeric.decimal.hlsl\"},{\"match\":\"(\\\\.([0-9]+)([Ff])?)\\\\b\",\"name\":\"constant.numeric.decimal.hlsl\"},{\"match\":\"\\\\b([0-9]+([Ff])?)\\\\b\",\"name\":\"constant.numeric.decimal.hlsl\"},{\"match\":\"\\\\b(0([Xx])\\\\h+)\\\\b\",\"name\":\"constant.numeric.hex.hlsl\"},{\"match\":\"\\\\b(false|true)\\\\b\",\"name\":\"constant.language.hlsl\"},{\"match\":\"^\\\\s*#\\\\s*(define|elif|else|endif|ifdef|ifndef|if|undef|include|line|error|pragma)\",\"name\":\"keyword.preprocessor.hlsl\"},{\"match\":\"\\\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\\\b\",\"name\":\"keyword.control.hlsl\"},{\"match\":\"\\\\b(compile)\\\\b\",\"name\":\"keyword.control.fx.hlsl\"},{\"match\":\"\\\\b(typedef)\\\\b\",\"name\":\"keyword.typealias.hlsl\"},{\"match\":\"\\\\b(bool([1-4](x[1-4])?)?|double([1-4](x[1-4])?)?|dword|float([1-4](x[1-4])?)?|half([1-4](x[1-4])?)?|int([1-4](x[1-4])?)?|matrix|min10float([1-4](x[1-4])?)?|min12int([1-4](x[1-4])?)?|min16float([1-4](x[1-4])?)?|min16int([1-4](x[1-4])?)?|min16uint([1-4](x[1-4])?)?|unsigned|uint([1-4](x[1-4])?)?|vector|void)\\\\b\",\"name\":\"storage.type.basic.hlsl\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\()\",\"name\":\"support.function.hlsl\"},{\"match\":\"(?<=:\\\\s?)(?i:BINORMAL[0-9]*|BLENDINDICES[0-9]*|BLENDWEIGHT[0-9]*|COLOR[0-9]*|NORMAL[0-9]*|POSITIONT?|PSIZE[0-9]*|TANGENT[0-9]*|TEXCOORD[0-9]*|FOG|TESSFACTOR[0-9]*|VFACE|VPOS|DEPTH[0-9]*)\\\\b\",\"name\":\"support.variable.semantic.hlsl\"},{\"match\":\"(?<=:\\\\s?)(?i:SV_(?:ClipDistance[0-9]*|CullDistance[0-9]*|Coverage|Depth|DepthGreaterEqual[0-9]*|DepthLessEqual[0-9]*|InstanceID|IsFrontFace|Position|RenderTargetArrayIndex|SampleIndex|StencilRef|Target[0-7]?|VertexID|ViewportArrayIndex))\\\\b\",\"name\":\"support.variable.semantic.sm4.hlsl\"},{\"match\":\"(?<=:\\\\s?)(?i:SV_(?:DispatchThreadID|DomainLocation|GroupID|GroupIndex|GroupThreadID|GSInstanceID|InsideTessFactor|OutputControlPointID|TessFactor))\\\\b\",\"name\":\"support.variable.semantic.sm5.hlsl\"},{\"match\":\"(?<=:\\\\s?)(?i:SV_(?:InnerCoverage|StencilRef))\\\\b\",\"name\":\"support.variable.semantic.sm5_1.hlsl\"},{\"match\":\"\\\\b(column_major|const|export|extern|globallycoherent|groupshared|inline|inout|in|out|precise|row_major|shared|static|uniform|volatile)\\\\b\",\"name\":\"storage.modifier.hlsl\"},{\"match\":\"\\\\b([su]norm)\\\\b\",\"name\":\"storage.modifier.float.hlsl\"},{\"match\":\"\\\\b(packoffset|register)\\\\b\",\"name\":\"storage.modifier.postfix.hlsl\"},{\"match\":\"\\\\b(centroid|linear|nointerpolation|noperspective|sample)\\\\b\",\"name\":\"storage.modifier.interpolation.hlsl\"},{\"match\":\"\\\\b(lineadj|line|point|triangle|triangleadj)\\\\b\",\"name\":\"storage.modifier.geometryshader.hlsl\"},{\"match\":\"\\\\b(string)\\\\b\",\"name\":\"support.type.other.hlsl\"},{\"match\":\"\\\\b(AppendStructuredBuffer|Buffer|ByteAddressBuffer|ConstantBuffer|ConsumeStructuredBuffer|InputPatch|OutputPatch)\\\\b\",\"name\":\"support.type.object.hlsl\"},{\"match\":\"\\\\b(RasterizerOrdered(?:Buffer|ByteAddressBuffer|StructuredBuffer|Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture3D))\\\\b\",\"name\":\"support.type.object.rasterizerordered.hlsl\"},{\"match\":\"\\\\b(RW(?:Buffer|ByteAddressBuffer|StructuredBuffer|Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture3D))\\\\b\",\"name\":\"support.type.object.rw.hlsl\"},{\"match\":\"\\\\b((?:Line|Point|Triangle)Stream)\\\\b\",\"name\":\"support.type.object.geometryshader.hlsl\"},{\"match\":\"\\\\b(sampler(?:|1D|2D|3D|CUBE|_state))\\\\b\",\"name\":\"support.type.sampler.legacy.hlsl\"},{\"match\":\"\\\\b(Sampler(?:|Comparison)State)\\\\b\",\"name\":\"support.type.sampler.hlsl\"},{\"match\":\"\\\\b(texture(?:2D|CUBE))\\\\b\",\"name\":\"support.type.texture.legacy.hlsl\"},{\"match\":\"\\\\b(Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray))\\\\b\",\"name\":\"support.type.texture.hlsl\"},{\"match\":\"\\\\b(cbuffer|class|interface|namespace|struct|tbuffer)\\\\b\",\"name\":\"storage.type.structured.hlsl\"},{\"match\":\"\\\\b(FALSE|TRUE|NULL)\\\\b\",\"name\":\"support.constant.property-value.fx.hlsl\"},{\"match\":\"\\\\b((?:Blend|DepthStencil|Rasterizer)State)\\\\b\",\"name\":\"support.type.fx.hlsl\"},{\"match\":\"\\\\b(technique|Technique|technique10|technique11|pass)\\\\b\",\"name\":\"storage.type.fx.technique.hlsl\"},{\"match\":\"\\\\b(AlphaToCoverageEnable|BlendEnable|SrcBlend|DestBlend|BlendOp|SrcBlendAlpha|DestBlendAlpha|BlendOpAlpha|RenderTargetWriteMask)\\\\b\",\"name\":\"meta.object-literal.key.fx.blendstate.hlsl\"},{\"match\":\"\\\\b(DepthEnable|DepthWriteMask|DepthFunc|StencilEnable|StencilReadMask|StencilWriteMask|FrontFaceStencilFail|FrontFaceStencilZFail|FrontFaceStencilPass|FrontFaceStencilFunc|BackFaceStencilFail|BackFaceStencilZFail|BackFaceStencilPass|BackFaceStencilFunc)\\\\b\",\"name\":\"meta.object-literal.key.fx.depthstencilstate.hlsl\"},{\"match\":\"\\\\b(FillMode|CullMode|FrontCounterClockwise|DepthBias|DepthBiasClamp|SlopeScaleDepthBias|ZClipEnable|ScissorEnable|MultiSampleEnable|AntiAliasedLineEnable)\\\\b\",\"name\":\"meta.object-literal.key.fx.rasterizerstate.hlsl\"},{\"match\":\"\\\\b(Filter|AddressU|AddressV|AddressW|MipLODBias|MaxAnisotropy|ComparisonFunc|BorderColor|MinLOD|MaxLOD)\\\\b\",\"name\":\"meta.object-literal.key.fx.samplerstate.hlsl\"},{\"match\":\"\\\\b(?i:ZERO|ONE|SRC_COLOR|INV_SRC_COLOR|SRC_ALPHA|INV_SRC_ALPHA|DEST_ALPHA|INV_DEST_ALPHA|DEST_COLOR|INV_DEST_COLOR|SRC_ALPHA_SAT|BLEND_FACTOR|INV_BLEND_FACTOR|SRC1_COLOR|INV_SRC1_COLOR|SRC1_ALPHA|INV_SRC1_ALPHA)\\\\b\",\"name\":\"support.constant.property-value.fx.blend.hlsl\"},{\"match\":\"\\\\b(?i:ADD|SUBTRACT|REV_SUBTRACT|MIN|MAX)\\\\b\",\"name\":\"support.constant.property-value.fx.blendop.hlsl\"},{\"match\":\"\\\\b(?i:ALL)\\\\b\",\"name\":\"support.constant.property-value.fx.depthwritemask.hlsl\"},{\"match\":\"\\\\b(?i:NEVER|LESS|EQUAL|LESS_EQUAL|GREATER|NOT_EQUAL|GREATER_EQUAL|ALWAYS)\\\\b\",\"name\":\"support.constant.property-value.fx.comparisonfunc.hlsl\"},{\"match\":\"\\\\b(?i:KEEP|REPLACE|INCR_SAT|DECR_SAT|INVERT|INCR|DECR)\\\\b\",\"name\":\"support.constant.property-value.fx.stencilop.hlsl\"},{\"match\":\"\\\\b(?i:WIREFRAME|SOLID)\\\\b\",\"name\":\"support.constant.property-value.fx.fillmode.hlsl\"},{\"match\":\"\\\\b(?i:NONE|FRONT|BACK)\\\\b\",\"name\":\"support.constant.property-value.fx.cullmode.hlsl\"},{\"match\":\"\\\\b(?i:MIN_MAG_MIP_POINT|MIN_MAG_POINT_MIP_LINEAR|MIN_POINT_MAG_LINEAR_MIP_POINT|MIN_POINT_MAG_MIP_LINEAR|MIN_LINEAR_MAG_MIP_POINT|MIN_LINEAR_MAG_POINT_MIP_LINEAR|MIN_MAG_LINEAR_MIP_POINT|MIN_MAG_MIP_LINEAR|ANISOTROPIC|COMPARISON_MIN_MAG_MIP_POINT|COMPARISON_MIN_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_POINT_MAG_MIP_LINEAR|COMPARISON_MIN_LINEAR_MAG_MIP_POINT|COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_MAG_MIP_LINEAR|COMPARISON_ANISOTROPIC|TEXT_1BIT)\\\\b\",\"name\":\"support.constant.property-value.fx.filter.hlsl\"},{\"match\":\"\\\\b(?i:WRAP|MIRROR|CLAMP|BORDER|MIRROR_ONCE)\\\\b\",\"name\":\"support.constant.property-value.fx.textureaddressmode.hlsl\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.hlsl\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.hlsl\"}]}],\"scopeName\":\"source.hlsl\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|