var imba_tmLanguage = {name:"imba",scopeName:"source.imba",fileTypes:["imba","imba2"],uuid:"ef98eb90-bf9b-11e4-bb52-0800200c9a67",patterns:[{include:"#root"},{name:"comment.line.shebang.imba",match:"\\A(#!).*(?=$)",captures:{"1":{name:"punctuation.definition.comment.imba"}}}],repository:{root:{patterns:[{include:"#block"}]},block:{patterns:[{include:"#style-declaration"},{include:"#object-keys"},{include:"#tag-literal"},{include:"#regex"},{include:"#keywords"},{include:"#comment"},{include:"#literal"},{include:"#plain-identifiers"},{include:"#plain-accessors"},{include:"#pairs"},{include:"#invalid-indentation"}]},expr:{patterns:[{include:"#style-declaration"},{include:"#object-keys"},{include:"#tag-literal"},{include:"#regex"},{include:"#keywords"},{include:"#comment"},{include:"#literal"},{include:"#plain-identifiers"},{include:"#plain-accessors"},{include:"#pairs"}]},literal:{patterns:[{include:"#number-with-unit-literal"},{include:"#numeric-literal"},{include:"#boolean-literal"},{include:"#null-literal"},{include:"#undefined-literal"},{include:"#numericConstant-literal"},{include:"#this-literal"},{include:"#global-literal"},{include:"#super-literal"},{include:"#type-literal"},{include:"#string"}]},pairs:{patterns:[{include:"#curly-braces"},{include:"#square-braces"},{include:"#round-braces"}]},"curly-braces":{begin:"\\s*(\\{)",beginCaptures:{"1":{name:"meta.brace.curly.imba"}},end:"\\}",endCaptures:{"0":{name:"meta.brace.curly.imba"}},patterns:[{include:"#expr"},{include:"#punctuation-comma"}]},"square-braces":{begin:"\\s*(\\[)",beginCaptures:{"1":{name:"meta.brace.square.imba"}},end:"\\]",endCaptures:{"0":{name:"meta.brace.square.imba"}},patterns:[{include:"#expr"},{include:"#punctuation-comma"}]},"round-braces":{begin:"\\s*(\\()",beginCaptures:{"1":{name:"meta.brace.round.imba"}},end:"\\)",endCaptures:{"0":{name:"meta.brace.round.imba"}},patterns:[{include:"#expr"},{include:"#punctuation-comma"}]},keywords:{patterns:[{name:"keyword.control.imba",match:"(if|elif|else|unless|switch|when|then|do|import|export|for own|for|while|until|return|try|catch|await|finally|throw|as|continue|break|extend|augment)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.imba",match:"(?<=export\\s+)(default)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.imba",match:"(?<=import\\s+)(type)(?=\\s+[\\w\\{\\$\\_])"},{name:"keyword.control.imba",match:"(extend)\\s+(?=class|tag)"},{name:"keyword.control.imba",match:"(?<=[\\*\\}\\w\\$]\\s+)(from)(?=\\s+[\\\"\\'])"},{name:"storage.type.function.imba",match:"(def|get|set)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.type.class.imba",match:"(tag|class|struct)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.type.imba",match:"(let|const|constructor)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.type.imba",match:"(prop|attr)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.modifier.imba",match:"(static)\\s+"},{include:"#ops"},{name:"keyword.operator.assignment.imba",match:"(=|\\|\\|=|\\?\\?=|\\&\\&=|\\+=|\\-=|\\*=|\\^=|\\%=)"},{name:"keyword.operator.imba",match:"(\\>\\=?|\\<\\=?)"},{name:"keyword.operator.imba",match:"(of|delete|\\!?isa|typeof|in|new)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"}]},ops:{patterns:[{name:"keyword.operator.spread.imba",match:"\\.\\.\\."},{name:"keyword.operator.assignment.compound.imba",match:"\\*=|(?>=|>>>=|\\|="},{name:"keyword.operator.bitwise.shift.imba",match:"<<|>>>|>>"},{name:"keyword.operator.comparison.imba",match:"===|!==|==|!=|~="},{name:"keyword.operator.relational.imba",match:"<=|>=|<>|<|>"},{match:"(\\!)\\s*(/)(?![/*])",captures:{"1":{name:"keyword.operator.logical.imba"},"2":{name:"keyword.operator.arithmetic.imba"}}},{name:"keyword.operator.logical.imba",match:"\\!|&&|\\|\\||\\?\\?|or\\b(?=\\s|$)|and\\b(?=\\s|$)"},{name:"keyword.operator.bitwise.imba",match:"\\&|~|\\^|\\|"},{name:"keyword.operator.assignment.imba",match:"\\="},{name:"keyword.operator.decrement.imba",match:"--"},{name:"keyword.operator.increment.imba",match:"\\+\\+"},{name:"keyword.operator.arithmetic.imba",match:"%|\\*|/|-|\\+"}]},"object-keys":{patterns:[{match:"[_$[:alpha:]][_$[:alnum:]]*(?:\\-[_$[:alnum:]]+)*[\\?\\!]?\\:",name:"meta.object-literal.key"}]},"invalid-indentation":{patterns:[{name:"invalid.whitespace",match:"^[\\ ]+"},{name:"invalid.whitespace",match:"^\\t+\\s+"}]},"style-property":{patterns:[{name:"meta.property-name.css",begin:"(?=(?:[\\@\\.]+[\\!\\<\\>]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:))",beginCaptures:{"1":{name:"support.function.calc.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\s*\\:",endCaptures:{"0":{name:"punctuation.separator.key-value.css"}},patterns:[{name:"support.type.property-name.variable.css",match:"(?:--|\\$)[\\w\\-\\$]+"},{name:"support.type.property-name.modifier.breakpoint.css",match:"\\@[\\!\\<\\>]?[0-9]+"},{name:"support.type.property-name.modifier.css",match:"\\@[\\w\\-\\$]+"},{name:"support.type.property-name.modifier.up.css",match:"\\.\\.[\\w\\-\\$]+"},{name:"support.type.property-name.modifier.is.css",match:"\\.[\\w\\-\\$]+"},{name:"support.type.property-name.css",match:"[\\w\\-\\$]+"}]}]},"style-expr":{patterns:[{match:"(\\b[0-9][0-9_]*)(\\w+|%)?",captures:{"1":{name:"constant.numeric.integer.decimal.css"},"2":{name:"keyword.other.unit.css"}}},{name:"support.constant.property-value.var.css",match:"--[_$[:alpha:]][_$[:alnum:]]*(?:\\-[_$[:alnum:]]+)*[\\?\\!]?"},{name:"support.constant.property-value.size.css",match:"(x+s|sm-|md-|lg-|sm|md|lg|x+l|hg|x+h)(?![\\w-])"},{name:"support.constant.property-value.css",match:"[_$[:alpha:]][_$[:alnum:]]*(?:\\-[_$[:alnum:]]+)*[\\?\\!]?"},{name:"meta.function.css",begin:"(\\()",beginCaptures:{"1":{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",patterns:[{include:"#style-expr"}]}]},"inline-styles":{patterns:[{include:"#style-property"},{include:"#css-property-values"},{include:"#style-expr"}]},"style-declaration":{name:"meta.style.imba",begin:"^(\\t*)(?:(global|local|export)\\s+)?(?:(scoped)\\s+)?(css)\\s",beginCaptures:{"2":{name:"keyword.control.export.imba"},"3":{name:"storage.modifier.imba"},"4":{name:"storage.type.style.imba"}},end:"^(?!(\\1\\t|\\s*$))",patterns:[{include:"#css-selector"},{include:"#css-comment"},{include:"#nested-css-selector"},{include:"#inline-styles"}]},"nested-style-declaration":{name:"meta.style.imba",begin:"^(\\t+)(?=[\\n^]*\\&)",end:"^(?!(\\1\\t|\\s*$))",patterns:[{include:"#nested-css-selector"},{include:"#inline-styles"}]},"css-size-keywords":[{name:"support.constant.size.property-value.css",match:"(x+s|sm-|md-|lg-|sm|md|lg|x+l|hg|x+h)(?![\\w-])"}],"css-color-keywords":{patterns:[{name:"support.constant.color.w3c-standard-color-name.css",match:"(?i)(?>>|>>|>|\\+|~"},{name:"keyword.other.parent-selector.css",match:"&"}]},"css-pseudo-classes":{name:"entity.other.attribute-name.pseudo-class.css",match:"(?xi)\n(:)(:*)\n(?: active|any-link|checked|default|defined|disabled|empty|enabled|first\n | (?:first|last|only)-(?:child|of-type)|focus|focus-visible|focus-within\n | fullscreen|host|hover|in-range|indeterminate|invalid|left|link\n | optional|out-of-range|placeholder-shown|read-only|read-write\n | required|right|root|scope|target|unresolved\n | valid|visited\n)(?![\\w-]|\\s*[;}])",captures:{"1":{name:"punctuation.definition.entity.css"},"2":{name:"invalid.illegal.colon.css"}}},"css-pseudo-elements":{name:"entity.other.attribute-name.pseudo-element.css",match:"(?xi)\n(?:\n (::?) # Elements using both : and :: notation\n (?: after\n | before\n | first-letter\n | first-line\n | (?:-(?:ah|apple|atsc|epub|hp|khtml|moz\n |ms|o|rim|ro|tc|wap|webkit|xv)\n | (?:mso|prince))\n -[a-z-]+\n )\n |\n (::) # Double-colon only\n (?: backdrop\n | content\n | grammar-error\n | marker\n | placeholder\n | selection\n | shadow\n | spelling-error\n )\n)\n(?![\\w-]|\\s*[;}])",captures:{"1":{name:"punctuation.definition.entity.css"},"2":{name:"punctuation.definition.entity.css"}}},"css-commas":{name:"punctuation.separator.list.comma.css",match:","},"css-comment":{patterns:[{name:"comment.line.imba",match:"\\#(\\s.+)?(\\n|$)"},{name:"comment.line.imba",match:"(^\\t+)(\\#(\\s.+)?(\\n|$))"}]},"css-escapes":{patterns:[{name:"constant.character.escape.codepoint.css",match:"\\\\[0-9a-fA-F]{1,6}"},{name:"constant.character.escape.newline.css",begin:"\\\\$\\s*",end:"^(?]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:))",end:"(\\s*(?=(?:[\\@\\.]+[\\!\\<\\>]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:))|\\s*$|(?=\\s+\\#\\s))",endCaptures:{"0":{name:"punctuation.separator.sel-properties.css"}},patterns:[{include:"#css-selector-innards"}]},"nested-css-selector":{name:"meta.selector.css",begin:"(^\\t+)(?!(?:[\\@\\.]+[\\!\\<\\>]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:))",end:"(\\s*(?=(?:[\\@\\.]+[\\!\\<\\>]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:))|\\s*$|(?=\\s+\\#\\s))",endCaptures:{"0":{name:"punctuation.separator.sel-properties.css"}},patterns:[{include:"#css-selector-innards"}]},"inline-css-selector":{name:"meta.selector.css",begin:"(^\\t+)(?!(?:[\\@\\.]+[\\!\\<\\>]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:))",end:"(\\s*(?=(?:[\\@\\.]+[\\!\\<\\>]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:)|\\)|\\])|\\s*$)",endCaptures:{"0":{name:"punctuation.separator.sel-properties.css"}},patterns:[{include:"#css-selector-innards"}]},"css-selector-innards":{patterns:[{include:"#css-commas"},{include:"#css-escapes"},{include:"#css-combinators"},{name:"entity.name.tag.wildcard.css",match:"\\*"},{name:"meta.attribute-selector.css",begin:"\\[",beginCaptures:{"0":{name:"punctuation.definition.entity.begin.bracket.square.css"}},end:"\\]",endCaptures:{"0":{name:"punctuation.definition.entity.end.bracket.square.css"}},patterns:[{include:"#string"},{match:"(?<=[\"'\\s]|^|\\*/)\\s*([iI])\\s*(?=[\\s\\]]|/\\*|$)",captures:{"1":{name:"storage.modifier.ignore-case.css"}}},{match:"(?x)(?<==)\\s*((?!/\\*)(?:[^\\\\\"'\\s\\]]|\\\\.)+)",captures:{"1":{name:"string.unquoted.attribute-value.css"}}},{include:"#css-escapes"},{name:"keyword.operator.pattern.css",match:"[~|^$*]?="},{name:"punctuation.separator.css",match:"\\|"},{match:"(?x)\n# Qualified namespace prefix\n( -?(?!\\d)(?:[\\w-]|[^\\\\x00-\\\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+\n| \\*\n)\n# Lookahead to ensure there's a valid identifier ahead\n(?=\n \\| (?!\\s|=|$|\\])\n (?: -?(?!\\d)\n | [\\\\\\w-]\n | [^\\\\x00-\\\\x7F]\n )\n)",captures:{"1":{name:"entity.other.namespace-prefix.css"}}},{match:"(?x)\n(-?(?!\\d)(?>[\\w-]|[^\\\\x00-\\\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+)\n\\s*\n(?=[~|^\\]$*=]|/\\*)",captures:{"1":{name:"entity.other.attribute-name.css"}}}]},{include:"#css-pseudo-classes"},{include:"#css-pseudo-elements"}]},"css-property-values":{patterns:[{include:"#css-commas"},{include:"#css-escapes"},{include:"#css-functions"},{include:"#css-numeric-values"},{include:"#css-size-keywords"},{include:"#css-color-keywords"},{include:"#string"},{name:"keyword.other.important.css",match:"!\\s*important(?![\\w-])"}]},"tag-literal":{patterns:[{name:"meta.tag.imba",begin:"(<)(?=[\\w\\{\\[\\.\\#\\$\\@])",beginCaptures:{"1":{name:"punctuation.section.tag.open.imba"}},end:"(>)",endCaptures:{"1":{name:"punctuation.section.tag.close.imba"}},patterns:[{include:"#tag-content"}],contentName:"meta.tag.attributes.imba"}]},"tag-content":{patterns:[{include:"#tag-name"},{include:"#tag-expr-name"},{include:"#tag-interpolated-content"},{include:"#tag-interpolated-parens"},{include:"#tag-interpolated-brackets"},{include:"#tag-event-handler"},{include:"#tag-classname"},{include:"#tag-ref"},{include:"#tag-attr-value"},{include:"#tag-attr-name"},{include:"#comment"}]},"tag-name":{patterns:[{name:"entity.name.tag.special.imba",match:"(?<=<)(self|global|slot)(?=[\\.\\[\\>\\s\\(])"}]},"tag-expr-name":{begin:"(?<=<)(?=[\\w\\{])",contentName:"entity.name.tag.imba",end:"(?=[\\.\\[\\>\\s\\(])",patterns:[{include:"#tag-interpolated-content"}]},"tag-interpolated-content":{name:"meta.tag.expression.imba",begin:"\\{",beginCaptures:{"0":{name:"punctuation.section.tag.imba"}},end:"\\}",endCaptures:{"0":{name:"punctuation.section.tag.imba"}},patterns:[{include:"#expression"}],contentName:"meta.embedded.line.imba"},"tag-interpolated-parens":{name:"meta.tag.expression.imba",begin:"\\(",beginCaptures:{"0":{name:"punctuation.section.tag.imba"}},end:"\\)",endCaptures:{"0":{name:"punctuation.section.tag.imba"}},patterns:[{include:"#expression"}],contentName:"meta.embedded.line.imba"},"tag-interpolated-brackets":{name:"meta.tag.expression.imba",begin:"\\[",beginCaptures:{"0":{name:"punctuation.section.tag.imba"}},end:"\\]",endCaptures:{"0":{name:"punctuation.section.tag.imba"}},patterns:[{include:"#inline-css-selector"},{include:"#inline-styles"}],contentName:"meta.embedded.line.imba"},"tag-classname":{begin:"\\.",patterns:[{include:"#tag-interpolated-content"}],end:"(?=[\\.\\[\\>\\s\\(\\=])",contentName:"entity.other.attribute-name.class.css"},"tag-ref":{match:"(\\$[_$[:alpha:]][_$[:alnum:]]*(?:\\-[_$[:alnum:]]+)*[\\?\\!]?)",name:"entity.other.attribute-name.reference.css"},"tag-event-handler":{begin:"(\\@[\\w$_]+(?:\\-[\\w$_]+)*)",beginCaptures:{"0":{name:"entity.other.event-name.imba"}},patterns:[{include:"#tag-interpolated-content"},{include:"#tag-interpolated-parens"},{name:"entity.other.event-modifier.imba",begin:"\\.",beginCaptures:{"0":{name:"punctuation.section.tag"}},patterns:[{include:"#tag-interpolated-parens"},{include:"#tag-interpolated-content"}],end:"(?=[\\.\\[\\>\\s\\=]|$)"}],end:"(?=[\\[\\>\\s\\=])",contentName:"entity.other.tag.event"},"tag-attr-name":{begin:"([\\w$_]+(?:\\-[\\w$_]+)*)",beginCaptures:{"0":{name:"entity.other.attribute-name.imba"}},end:"(?=[\\s\\.\\[\\>\\=])",contentName:"entity.other.attribute-name.imba"},"tag-attr-value":{begin:"(\\=)",beginCaptures:{"0":{name:"keyword.operator.tag.assignment"}},end:"(?=>|\\s)",contentName:"meta.tag.attribute-value.imba",patterns:[{include:"#expr"}]},expression:{patterns:[{begin:"\\(",beginCaptures:{"0":{name:"meta.brace.round.imba"}},end:"\\)",endCaptures:{"0":{name:"meta.brace.round.imba"}},patterns:[{include:"#expr"}]},{include:"#tag-literal"},{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},expressionWithoutIdentifiers:{patterns:[{include:"#string"},{include:"#regex"},{include:"#comment"},{include:"#function-expression"},{include:"#class-expression"},{include:"#ternary-expression"},{include:"#new-expr"},{include:"#instanceof-expr"},{include:"#object-literal"},{include:"#expression-operators"},{include:"#literal"},{include:"#support-objects"}]},expressionPunctuations:{patterns:[{include:"#punctuation-comma"},{include:"#punctuation-accessor"}]},decorator:{name:"meta.decorator.imba",begin:"(?",patterns:[{include:"#type-brackets"}]},{begin:"\\(",end:"\\)",patterns:[{include:"#type-brackets"}]}]},"numeric-literal":{patterns:[{name:"constant.numeric.hex.imba",match:"\\b(?|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[\\()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^\\)\\\\]|\\\\.)+\\))+\\/([gimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",beginCaptures:{"1":{name:"punctuation.definition.string.begin.imba"}},end:"(/)([gimsuy]*)",endCaptures:{"1":{name:"punctuation.definition.string.end.imba"},"2":{name:"keyword.other.imba"}},patterns:[{include:"#regexp"}]},{name:"string.regexp.imba",begin:"((?",captures:{"0":{name:"keyword.other.back-reference.regexp"},"1":{name:"variable.other.regexp"}}},{name:"keyword.operator.quantifier.regexp",match:"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??"},{name:"keyword.operator.or.regexp",match:"\\|"},{name:"meta.group.assertion.regexp",begin:"(\\()((\\?=)|(\\?!)|(\\?<=)|(\\?))?",beginCaptures:{"0":{name:"punctuation.definition.group.regexp"},"1":{name:"punctuation.definition.group.no-capture.regexp"},"2":{name:"variable.other.regexp"}},end:"\\)",endCaptures:{"0":{name:"punctuation.definition.group.regexp"}},patterns:[{include:"#regexp"}]},{name:"constant.other.character-class.set.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"}},patterns:[{name:"constant.other.character-class.range.regexp",match:"(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))",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"}}},{include:"#regex-character-class"}]},{include:"#regex-character-class"}]},"regex-character-class":{patterns:[{name:"constant.other.character-class.regexp",match:"\\\\[wWsSdDtrnvf]|\\."},{name:"constant.character.numeric.regexp",match:"\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})"},{name:"constant.character.control.regexp",match:"\\\\c[A-Z]"},{name:"constant.character.escape.backslash.regexp",match:"\\\\."}]},comment:{patterns:[{name:"comment.block.documentation.imba",begin:"/\\*\\*(?!/)",beginCaptures:{"0":{name:"punctuation.definition.comment.imba"}},end:"\\*/",endCaptures:{"0":{name:"punctuation.definition.comment.imba"}},patterns:[{include:"#docblock"}]},{name:"comment.block.imba",begin:"(/\\*)(?:\\s*((@)internal)(?=\\s|(\\*/)))?",beginCaptures:{"1":{name:"punctuation.definition.comment.imba"},"2":{name:"storage.type.internaldeclaration.imba"},"3":{name:"punctuation.decorator.internaldeclaration.imba"}},end:"\\*/",endCaptures:{"0":{name:"punctuation.definition.comment.imba"}}},{name:"comment.block.imba",begin:"(###)",beginCaptures:{"1":{name:"punctuation.definition.comment.imba"}},end:"###(?:[ \\t]*\\n)",endCaptures:{"0":{name:"punctuation.definition.comment.imba"}}},{begin:"(^[ \\t]+)?((//|\\#\\s)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.imba"},"2":{name:"comment.line.double-slash.imba"},"3":{name:"punctuation.definition.comment.imba"},"4":{name:"storage.type.internaldeclaration.imba"},"5":{name:"punctuation.decorator.internaldeclaration.imba"}},end:"(?=$)",contentName:"comment.line.double-slash.imba"}]},"single-line-comment-consuming-line-ending":{begin:"(^[ \\t]+)?((//|\\#\\s)(?:\\s*((@)internal)(?=\\s|$))?)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.imba"},"2":{name:"comment.line.double-slash.imba"},"3":{name:"punctuation.definition.comment.imba"},"4":{name:"storage.type.internaldeclaration.imba"},"5":{name:"punctuation.decorator.internaldeclaration.imba"}},end:"(?=^)",contentName:"comment.line.double-slash.imba"},directives:{name:"comment.line.triple-slash.directive.imba",begin:"^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",beginCaptures:{"1":{name:"punctuation.definition.comment.imba"}},end:"(?=$)",patterns:[{name:"meta.tag.imba",begin:"(<)(reference|amd-dependency|amd-module)",beginCaptures:{"1":{name:"punctuation.definition.tag.directive.imba"},"2":{name:"entity.name.tag.directive.imba"}},end:"/>",endCaptures:{"0":{name:"punctuation.definition.tag.directive.imba"}},patterns:[{name:"entity.other.attribute-name.directive.imba",match:"path|types|no-default-lib|lib|name"},{name:"keyword.operator.assignment.imba",match:"="},{include:"#string"}]}]},docblock:{patterns:[{match:"(?x)\n((@)(?:access|api))\n\\s+\n(private|protected|public)\n\\b",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"constant.language.access-type.jsdoc"}}},{match:"(?x)\n((@)author)\n\\s+\n(\n [^@\\s<>*/]\n (?:[^@<>*/]|\\*[^/])*\n)\n(?:\n \\s*\n (<)\n ([^>\\s]+)\n (>)\n)?",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"entity.name.type.instance.jsdoc"},"4":{name:"punctuation.definition.bracket.angle.begin.jsdoc"},"5":{name:"constant.other.email.link.underline.jsdoc"},"6":{name:"punctuation.definition.bracket.angle.end.jsdoc"}}},{match:"(?x)\n((@)borrows) \\s+\n((?:[^@\\s*/]|\\*[^/])+) # \n\\s+ (as) \\s+ # as\n((?:[^@\\s*/]|\\*[^/])+) # ",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"entity.name.type.instance.jsdoc"},"4":{name:"keyword.operator.control.jsdoc"},"5":{name:"entity.name.type.instance.jsdoc"}}},{name:"meta.example.jsdoc",begin:"((@)example)\\s+",end:"(?=@|\\*/)",beginCaptures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"}},patterns:[{match:"^\\s\\*\\s+"},{contentName:"constant.other.description.jsdoc",begin:"\\G(<)caption(>)",beginCaptures:{"0":{name:"entity.name.tag.inline.jsdoc"},"1":{name:"punctuation.definition.bracket.angle.begin.jsdoc"},"2":{name:"punctuation.definition.bracket.angle.end.jsdoc"}},end:"()|(?=\\*/)",endCaptures:{"0":{name:"entity.name.tag.inline.jsdoc"},"1":{name:"punctuation.definition.bracket.angle.begin.jsdoc"},"2":{name:"punctuation.definition.bracket.angle.end.jsdoc"}}},{match:"[^\\s@*](?:[^*]|\\*[^/])*",captures:{"0":{name:"source.embedded.imba"}}}]},{match:"(?x) ((@)kind) \\s+ (class|constant|event|external|file|function|member|mixin|module|namespace|typedef) \\b",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"constant.language.symbol-type.jsdoc"}}},{match:"(?x)\n((@)see)\n\\s+\n(?:\n # URL\n (\n (?=https?://)\n (?:[^\\s*]|\\*[^/])+\n )\n |\n # JSDoc namepath\n (\n (?!\n # Avoid matching bare URIs (also acceptable as links)\n https?://\n |\n # Avoid matching {@inline tags}; we match those below\n (?:\\[[^\\[\\]]*\\])? # Possible description [preceding]{@tag}\n {@(?:link|linkcode|linkplain|tutorial)\\b\n )\n # Matched namepath\n (?:[^@\\s*/]|\\*[^/])+\n )\n)",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"variable.other.link.underline.jsdoc"},"4":{name:"entity.name.type.instance.jsdoc"}}},{match:"(?x)\n((@)template)\n\\s+\n# One or more valid identifiers\n(\n [A-Za-z_$] # First character: non-numeric word character\n [\\w$.\\[\\]]* # Rest of identifier\n (?: # Possible list of additional identifiers\n \\s* , \\s*\n [A-Za-z_$]\n [\\w$.\\[\\]]*\n )*\n)",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"variable.other.jsdoc"}}},{match:"(?x)\n(\n (@)\n (?:arg|argument|const|constant|member|namespace|param|var)\n)\n\\s+\n(\n [A-Za-z_$]\n [\\w$.\\[\\]]*\n)",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"variable.other.jsdoc"}}},{begin:"((@)typedef)\\s+(?={)",beginCaptures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{name:"entity.name.type.instance.jsdoc",match:"(?:[^@\\s*/]|\\*[^/])+"}]},{begin:"((@)(?:arg|argument|const|constant|member|namespace|param|prop|property|var))\\s+(?={)",beginCaptures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"},{name:"variable.other.jsdoc",match:"([A-Za-z_$][\\w$.\\[\\]]*)"},{name:"variable.other.jsdoc",match:"(?x)\n(\\[)\\s*\n[\\w$]+\n(?:\n (?:\\[\\])? # Foo[ ].bar properties within an array\n \\. # Foo.Bar namespaced parameter\n [\\w$]+\n)*\n(?:\n \\s*\n (=) # [foo=bar] Default parameter value\n \\s*\n (\n # The inner regexes are to stop the match early at */ and to not stop at escaped quotes\n (?>\n \"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\" | # [foo=\"bar\"] Double-quoted\n '(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?' | # [foo='bar'] Single-quoted\n \\[ (?:(?:\\*(?!/))|[^*])*? \\] | # [foo=[1,2]] Array literal\n (?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])* # Everything else\n )*\n )\n)?\n\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))",captures:{"1":{name:"punctuation.definition.optional-value.begin.bracket.square.jsdoc"},"2":{name:"keyword.operator.assignment.jsdoc"},"3":{name:"source.embedded.imba"},"4":{name:"punctuation.definition.optional-value.end.bracket.square.jsdoc"},"5":{name:"invalid.illegal.syntax.jsdoc"}}}]},{begin:"(?x)\n(\n (@)\n (?:define|enum|exception|export|extends|lends|implements|modifies\n |namespace|private|protected|returns?|suppress|this|throws|type\n |yields?)\n)\n\\s+(?={)",beginCaptures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"}},end:"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",patterns:[{include:"#jsdoctype"}]},{match:"(?x)\n(\n (@)\n (?:alias|augments|callback|constructs|emits|event|fires|exports?\n |extends|external|function|func|host|lends|listens|interface|memberof!?\n |method|module|mixes|mixin|name|requires|see|this|typedef|uses)\n)\n\\s+\n(\n (?:\n [^{}@\\s*] | \\*[^/]\n )+\n)",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"entity.name.type.instance.jsdoc"}}},{contentName:"variable.other.jsdoc",begin:"((@)(?:default(?:value)?|license|version))\\s+(([''\"]))",beginCaptures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"variable.other.jsdoc"},"4":{name:"punctuation.definition.string.begin.jsdoc"}},end:"(\\3)|(?=$|\\*/)",endCaptures:{"0":{name:"variable.other.jsdoc"},"1":{name:"punctuation.definition.string.end.jsdoc"}}},{match:"((@)(?:default(?:value)?|license|tutorial|variation|version))\\s+([^\\s*]+)",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"},"3":{name:"variable.other.jsdoc"}}},{name:"storage.type.class.jsdoc",match:"(?x) (@) (?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles |callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright |default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception |exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func |function|generator|global|hideconstructor|host|ignore|implements|implicitCast|inherit[Dd]oc |inner|instance|interface|internal|kind|lends|license|listens|main|member|memberof!?|method |mixes|mixins?|modifies|module|name|namespace|noalias|nocollapse|nocompile|nosideeffects |override|overview|package|param|polymer(?:Behavior)?|preserve|private|prop|property|protected |public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary |suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation |version|virtual|writeOnce|yields?) \\b",captures:{"1":{name:"punctuation.definition.block.tag.jsdoc"}}},{include:"#inline-tags"},{match:"((@)(?:[_$[:alpha:]][_$[:alnum:]]*(?:\\-[_$[:alnum:]]+)*[\\?\\!]?))(?=\\s+)",captures:{"1":{name:"storage.type.class.jsdoc"},"2":{name:"punctuation.definition.block.tag.jsdoc"}}}]},brackets:{patterns:[{begin:"{",end:"}|(?=\\*/)",patterns:[{include:"#brackets"}]},{begin:"\\[",end:"\\]|(?=\\*/)",patterns:[{include:"#brackets"}]}]},"inline-tags":{patterns:[{name:"constant.other.description.jsdoc",match:"(\\[)[^\\]]+(\\])(?={@(?:link|linkcode|linkplain|tutorial))",captures:{"1":{name:"punctuation.definition.bracket.square.begin.jsdoc"},"2":{name:"punctuation.definition.bracket.square.end.jsdoc"}}},{name:"entity.name.type.instance.jsdoc",begin:"({)((@)(?:link(?:code|plain)?|tutorial))\\s*",beginCaptures:{"1":{name:"punctuation.definition.bracket.curly.begin.jsdoc"},"2":{name:"storage.type.class.jsdoc"},"3":{name:"punctuation.definition.inline.tag.jsdoc"}},end:"}|(?=\\*/)",endCaptures:{"0":{name:"punctuation.definition.bracket.curly.end.jsdoc"}},patterns:[{match:"\\G((?=https?://)(?:[^|}\\s*]|\\*[/])+)(\\|)?",captures:{"1":{name:"variable.other.link.underline.jsdoc"},"2":{name:"punctuation.separator.pipe.jsdoc"}}},{match:"\\G((?:[^{}@\\s|*]|\\*[^/])+)(\\|)?",captures:{"1":{name:"variable.other.description.jsdoc"},"2":{name:"punctuation.separator.pipe.jsdoc"}}}]}]},jsdoctype:{patterns:[{name:"invalid.illegal.type.jsdoc",match:"\\G{(?:[^}*]|\\*[^/}])+$"},{contentName:"entity.name.type.instance.jsdoc",begin:"\\G({)",beginCaptures:{"0":{name:"entity.name.type.instance.jsdoc"},"1":{name:"punctuation.definition.bracket.curly.begin.jsdoc"}},end:"((}))\\s*|(?=\\*/)",endCaptures:{"1":{name:"entity.name.type.instance.jsdoc"},"2":{name:"punctuation.definition.bracket.curly.end.jsdoc"}},patterns:[{include:"#brackets"}]}]}}}; export { imba_tmLanguage as default };