зеркало из https://github.com/nextcloud/text.git
1 строка
7.0 KiB
Plaintext
1 строка
7.0 KiB
Plaintext
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/arcade.js"],"names":["module","exports","hljs","IDENT_RE","KEYWORDS","keyword","literal","built_in","NUMBER","className","variants","begin","C_NUMBER_RE","relevance","SUBST","end","keywords","contains","TEMPLATE_STRING","BACKSLASH_ESCAPE","APOS_STRING_MODE","QUOTE_STRING_MODE","REGEXP_MODE","PARAMS_CONTAINS","concat","C_BLOCK_COMMENT_MODE","C_LINE_COMMENT_MODE","name","aliases","returnBegin","RE_STARTERS_RE","excludeBegin","excludeEnd","beginKeywords","inherit","TITLE_MODE","illegal"],"mappings":"kGAqKAA,EAAOC,QA5JP,SAAgBC,GACd,IAAMC,EAAW,yBACXC,EAAW,CACfC,QACE,0DACFC,QACE,sHACFC,SACE,wiCAgBEC,EAAS,CACbC,UAAW,SACXC,SAAU,CACR,CACEC,MAAO,mBAET,CACEA,MAAO,oBAET,CACEA,MAAOT,EAAKU,cAGhBC,UAAW,GAEPC,EAAQ,CACZL,UAAW,QACXE,MAAO,SACPI,IAAK,MACLC,SAAUZ,EACVa,SAAU,IAENC,EAAkB,CACtBT,UAAW,SACXE,MAAO,IACPI,IAAK,IACLE,SAAU,CACRf,EAAKiB,iBACLL,IAGJA,EAAMG,SAAW,CACff,EAAKkB,iBACLlB,EAAKmB,kBACLH,EACAV,EACAN,EAAKoB,aAEP,IAAMC,EAAkBT,EAAMG,SAASO,OAAO,CAC5CtB,EAAKuB,qBACLvB,EAAKwB,sBAGP,MAAO,CACLC,KAAM,gBACNC,QAAS,CAAC,UACVZ,SAAUZ,EACVa,SAAU,CACRf,EAAKkB,iBACLlB,EAAKmB,kBACLH,EACAhB,EAAKwB,oBACLxB,EAAKuB,qBAxDM,CACbhB,UAAW,SACXE,MAAO,4GAwDLH,EACA,CACEG,MAAO,UACPE,UAAW,EACXI,SAAU,CAAC,CACTN,MAAOR,EAAW,QAClB0B,aAAa,EACbhB,UAAW,EACXI,SAAU,CAAC,CACTR,UAAW,OACXE,MAAOR,EACPU,UAAW,OAIjB,CACEF,MAAO,IAAMT,EAAK4B,eAAiB,uBACnCd,SAAU,SACVC,SAAU,CACRf,EAAKwB,oBACLxB,EAAKuB,qBACLvB,EAAKoB,YACL,CACEb,UAAW,WACXE,MAAO,cAAgBR,EAAW,UAClC0B,aAAa,EACbd,IAAK,SACLE,SAAU,CAAC,CACTR,UAAW,SACXC,SAAU,CACR,CACEC,MAAOR,GAET,CACEQ,MAAO,WAET,CACEA,MAAO,KACPI,IAAK,KACLgB,cAAc,EACdC,YAAY,EACZhB,SAAUZ,EACVa,SAAUM,QAMpBV,UAAW,GAEb,CACEJ,UAAW,WACXwB,cAAe,WACflB,IAAK,KACLiB,YAAY,EACZf,SAAU,CACRf,EAAKgC,QAAQhC,EAAKiC,WAAY,CAC5BxB,MAAOR,IAET,CACEM,UAAW,SACXE,MAAO,KACPI,IAAK,KACLgB,cAAc,EACdC,YAAY,EACZf,SAAUM,IAGda,QAAS,QAEX,CACEzB,MAAO,WAGXyB,QAAS","file":"highlight/arcade.js?v=a10dce0fa2d899ef5d46","sourcesContent":["/*\n Language: ArcGIS Arcade\n Category: scripting\n Author: John Foster <jfoster@esri.com>\n Website: https://developers.arcgis.com/arcade/\n Description: ArcGIS Arcade is an expression language used in many Esri ArcGIS products such as Pro, Online, Server, Runtime, JavaScript, and Python\n*/\n\n/** @type LanguageFn */\nfunction arcade(hljs) {\n const IDENT_RE = '[A-Za-z_][0-9A-Za-z_]*';\n const KEYWORDS = {\n keyword:\n 'if for while var new function do return void else break',\n literal:\n 'BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined',\n built_in:\n 'Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic ' +\n 'Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd ' +\n 'DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct ' +\n 'DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem ' +\n 'FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf ' +\n 'Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month ' +\n 'MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon ' +\n 'Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum ' +\n 'SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime ' +\n 'TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance ' +\n 'Weekday When Within Year '\n };\n const SYMBOL = {\n className: 'symbol',\n begin: '\\\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+'\n };\n const NUMBER = {\n className: 'number',\n variants: [\n {\n begin: '\\\\b(0[bB][01]+)'\n },\n {\n begin: '\\\\b(0[oO][0-7]+)'\n },\n {\n begin: hljs.C_NUMBER_RE\n }\n ],\n relevance: 0\n };\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS,\n contains: [] // defined later\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n SUBST.contains = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n TEMPLATE_STRING,\n NUMBER,\n hljs.REGEXP_MODE\n ];\n const PARAMS_CONTAINS = SUBST.contains.concat([\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]);\n\n return {\n name: 'ArcGIS Arcade',\n aliases: ['arcade'],\n keywords: KEYWORDS,\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n TEMPLATE_STRING,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n SYMBOL,\n NUMBER,\n { // object attr container\n begin: /[{,]\\s*/,\n relevance: 0,\n contains: [{\n begin: IDENT_RE + '\\\\s*:',\n returnBegin: true,\n relevance: 0,\n contains: [{\n className: 'attr',\n begin: IDENT_RE,\n relevance: 0\n }]\n }]\n },\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(return)\\\\b)\\\\s*',\n keywords: 'return',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n begin: '(\\\\(.*?\\\\)|' + IDENT_RE + ')\\\\s*=>',\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [{\n className: 'params',\n variants: [\n {\n begin: IDENT_RE\n },\n {\n begin: /\\(\\s*\\)/\n },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: PARAMS_CONTAINS\n }\n ]\n }]\n }\n ],\n relevance: 0\n },\n {\n className: 'function',\n beginKeywords: 'function',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n begin: IDENT_RE\n }),\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n contains: PARAMS_CONTAINS\n }\n ],\n illegal: /\\[|%/\n },\n {\n begin: /\\$[(.]/\n }\n ],\n illegal: /#(?!!)/\n };\n}\n\nmodule.exports = arcade;\n"],"sourceRoot":""} |