1"use strict";(self.webpackChunk_ember_auto_import_=self.webpackChunk_ember_auto_import_||[]).push([[2678],{2678:function(e,t,n){n.r(t),n.d(t,{default:function(){return o}}) 2var a=n(8789) 3function r(e,t){(null==t||t>e.length)&&(t=e.length) 4for(var n=0,a=Array(t);n<t;n++)a[n]=e[n] 5return a}var i,s=Object.freeze({displayName:"QML",name:"qml",patterns:[{match:"\\bpragma\\s+Singleton\\b",name:"constant.language.qml"},{include:"#import-statements"},{include:"#object"},{include:"#comment"}],repository:{"attributes-dictionary":{patterns:[{include:"#typename"},{include:"#keywords"},{include:"#identifier"},{include:"#attributes-value"},{include:"#comment"}]},"attributes-value":{patterns:[{begin:"(?<=\\w)\\s*\\:\\s*(?=[A-Z]\\w*\\s*\\{)",description:"A QML object as value.",end:"(?<=\\})",patterns:[{include:"#object"}]},{begin:"(?<=\\w)\\s*\\:\\s*\\[",description:"A list as value.",end:"\\](.*)$",endCaptures:{0:{patterns:[{include:"source.js"}]}},patterns:[{include:"#object"},{include:"source.js"}]},{begin:"(?<=\\w)\\s*\\:(?=\\s*\\{?\\s*$)",description:"A block of JavaScript code as value.",end:"(?<=\\})",patterns:[{begin:"\\{",contentName:"meta.embedded.block.js",end:"\\}",patterns:[{include:"source.js"}]}]},{begin:"(?<=\\w)\\s*\\:",contentName:"meta.embedded.line.js",description:"A JavaScript expression as value.",end:";|$|(?=\\})",patterns:[{include:"source.js"}]}]},comment:{patterns:[{begin:"(\\/\\/:)",beginCaptures:{1:{name:"storage.type.class.qml.tr"}},end:"$",patterns:[{include:"#comment-contents"}]},{begin:"(\\/\\/[~|=])\\s*([A-Za-z_$][\\w$.\\[\\]]*)",beginCaptures:{1:{name:"storage.type.class.qml.tr"},2:{name:"variable.other.qml.tr"}},end:"$",patterns:[{include:"#comment-contents"}]},{begin:"(\\/\\/)",beginCaptures:{1:{name:"comment.line.double-slash.qml"}},end:"$",patterns:[{include:"#comment-contents"}]},{begin:"(\\/\\*)",beginCaptures:{1:{name:"comment.line.double-slash.qml"}},end:"(\\*\\/)",endCaptures:{1:{name:"comment.line.double-slash.qml"}},patterns:[{include:"#comment-contents"}]}]},"comment-contents":{patterns:[{match:"\\b(TODO|DEBUG|XXX)\\b",name:"constant.language.qml"},{match:"\\b(BUG|FIXME)\\b",name:"invalid"},{match:".",name:"comment.line.double-slash.qml"}]},"data-types":{patterns:[{description:"QML basic data types.",match:"\\b(bool|double|enum|int|list|real|string|url|variant|var)\\b",name:"storage.type.qml"},{description:"QML modules basic data types.",match:"\\b(date|point|rect|size)\\b",name:"support.type.qml"}]},"group-attributes":{patterns:[{begin:"\\b([_a-zA-Z]\\w*)\\s*\\{",beginCaptures:{1:{name:"variable.parameter.qml"}},end:"\\}",patterns:[{include:"$self"},{include:"#comment"},{include:"#attributes-dictionary"}]}]},identifier:{description:"The name of variable, key, signal and etc.",patterns:[{match:"\\b[_a-zA-Z]\\w*\\b",name:"variable.parameter.qml"}]},"import-statements":{patterns:[{begin:"\\b(import)\\b",beginCaptures:{1:{name:"keyword.control.import.qml"}},end:"$",patterns:[{match:"\\bas\\b",name:"keyword.control.as.qml"},{include:"#string"},{description:"<Version.Number>",match:"\\b\\d+\\.\\d+\\b",name:"constant.numeric.qml"},{description:"as <Namespace>",match:"(?<=as)\\s+[A-Z]\\w*\\b",name:"entity.name.type.qml"},{include:"#identifier"},{include:"#comment"}]}]},keywords:{patterns:[{include:"#data-types"},{include:"#reserved-words"}]},"method-attributes":{patterns:[{begin:"\\b(function)\\b",beginCaptures:{1:{name:"storage.type.qml"}},end:"(?<=\\})",patterns:[{begin:"([_a-zA-Z]\\w*)\\s*\\(",beginCaptures:{1:{name:"entity.name.function.qml"}},end:"\\)",patterns:[{include:"#identifier"}]},{begin:"\\{",contentName:"meta.embedded.block.js",end:"\\}",patterns:[{include:"source.js"}]}]}]},object:{patterns:[{begin:"\\b([A-Z]\\w*)\\s*\\{",beginCaptures:{1:{name:"entity.name.type.qml"}},end:"\\}",patterns:[{include:"$self"},{include:"#group-attributes"},{include:"#method-attributes"},{include:"#signal-attributes"},{include:"#comment"},{include:"#attributes-dictionary"}]}]},"reserved-words":{patterns:[{description:"Attribute modifier.",match:"\\b(default|alias|readonly|required)\\b",name:"storage.modifier.qml"},{match:"\\b(property|id|on)\\b",name:"keyword.other.qml"},{description:"Special words for signal handlers including property change.",match:"\\b(on[A-Z]\\w*(Changed)?)\\b",name:"keyword.control.qml"}]},"signal-attributes":{patterns:[{begin:"\\b(signal)\\b",beginCaptures:{1:{name:"storage.type.qml"}},end:"$",patterns:[{begin:"([_a-zA-Z]\\w*)\\s*\\(",beginCaptures:{1:{name:"entity.name.function.qml"}},end:"\\)",patterns:[{include:"#keywords"},{include:"#identifier"}]},{include:"#identifier"},{include:"#comment"}]}]}
5,string:{description:"String literal with double or signle quote.",patterns:[{begin:"'",end:"'",name:"string.quoted.single.qml"},{begin:'"',end:'"',name:"string.quoted.double.qml"}]},typename:{description:"The name of type. First letter must be uppercase.",patterns:[{match:"\\b[A-Z]\\w*\\b",name:"entity.name.type.qml"}]}},scopeName:"source.qml",embeddedLangs:["javascript"]}),o=[].concat(function(e){if(Array.isArray(e))return r(e)}(i=a.default)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return r(e,t) 6var n={}.toString.call(e).slice(8,-1) 7return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[s])}}])
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.