2021-01-13 21:42:07 +03:00
|
|
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/dart.js"],"names":["module","exports","hljs","SUBST","className","variants","begin","BRACED_SUBST","end","keywords","STRING","illegal","contains","BACKSLASH_ESCAPE","C_NUMBER_MODE","BUILT_IN_TYPES","NULLABLE_BUILT_IN_TYPES","map","e","name","keyword","built_in","concat","join","$pattern","COMMENT","subLanguage","relevance","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","beginKeywords","excludeEnd","UNDERSCORE_TITLE_MODE"],"mappings":"mGAqMAA,EAAOC,QA3LP,SAAcC,GACZ,IAAMC,EAAQ,CACZC,UAAW,QACXC,SAAU,CAAC,CACTC,MAAO,sBAILC,EAAe,CACnBH,UAAW,QACXC,SAAU,CAAC,CACTC,MAAO,OACPE,IAAK,OAEPC,SAAU,qCAGNC,EAAS,CACbN,UAAW,SACXC,SAAU,CACR,CACEC,MAAO,OACPE,IAAK,OAEP,CACEF,MAAO,OACPE,IAAK,OAEP,CACEF,MAAO,KACPE,IAAK,IACLG,QAAS,OAEX,CACEL,MAAO,KACPE,IAAK,IACLG,QAAS,OAEX,CACEL,MAAO,MACPE,IAAK,MACLI,SAAU,CACRV,EAAKW,iBACLV,EACAI,IAGJ,CACED,MAAO,MACPE,IAAK,MACLI,SAAU,CACRV,EAAKW,iBACLV,EACAI,IAGJ,CACED,MAAO,IACPE,IAAK,IACLG,QAAS,MACTC,SAAU,CACRV,EAAKW,iBACLV,EACAI,IAGJ,CACED,MAAO,IACPE,IAAK,IACLG,QAAS,MACTC,SAAU,CACRV,EAAKW,iBACLV,EACAI,MAKRA,EAAaK,SAAW,CACtBV,EAAKY,cACLJ,GAGF,IAAMK,EAAiB,CAErB,aACA,WACA,WACA,WACA,WACA,WACA,OACA,MACA,QACA,SACA,UACA,SACA,MACA,YACA,SACA,eACA,aACA,SACA,OACA,MACA,OACA,SACA,MACA,MAEA,UACA,eAEIC,EAA0BD,EAAeE,KAAI,SAACC,GAAD,gBAAUA,EAAV,QAyBnD,MAAO,CACLC,KAAM,OACNV,SAzBe,CACfW,QAAS,6YAITC,SACEN,EACGO,OAAON,GACPM,OAAO,CAEN,QACA,OACA,UACA,QAEA,WACA,gBACA,mBACA,WACCC,KAAK,KACZC,SAAU,4BAMVZ,SAAU,CACRF,EACAR,EAAKuB,QACH,UACA,OAAQ,CACNC,YAAa,WACbC,UAAW,IAGfzB,EAAKuB,QACH,WACA,IAAK,CACHb,SAAU,CAAC,CACTc,YAAa,WACbpB,MAAO,IACPE,IAAK,IACLmB,UAAW,MAIjBzB,EAAK0B,oBACL1B,EAAK2B,qBACL,CACEzB,UAAW,QACX0B,cAAe,kBACftB,IAAK,KACLuB,YAAY,EACZnB,SAAU,CACR,CACEkB,cAAe,sBAEjB5B,EAAK8B,wBAGT9B,EAAKY,cACL,CACEV,UAAW,OACXE,MAAO,cAET,CACEA,MAAO","file":"highlight/dart.js?v=f281c98593d73aca406c","sourcesContent":["/*\nLanguage: Dart\nRequires: markdown.js\nAuthor: Maxim Dikun <dikmax@gmail.com>\nDescription: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/\nWebsite: https://dart.dev\nCategory: scripting\n*/\n\n/** @type LanguageFn */\nfunction dart(hljs) {\n const SUBST = {\n className: 'subst',\n variants: [{\n begin: '\\\\$[A-Za-z0-9_]+'\n }]\n };\n\n const BRACED_SUBST = {\n className: 'subst',\n variants: [{\n begin: /\\$\\{/,\n end: /\\}/\n }],\n keywords: 'true false null this is new super'\n };\n\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: 'r\\'\\'\\'',\n end: '\\'\\'\\''\n },\n {\n begin: 'r\"\"\"',\n end: '\"\"\"'\n },\n {\n begin: 'r\\'',\n end: '\\'',\n illegal: '\\\\n'\n },\n {\n begin: 'r\"',\n end: '\"',\n illegal: '\\\\n'\n },\n {\n begin: '\\'\\'\\'',\n end: '\\'\\'\\'',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"\"\"',\n end: '\"\"\"',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n }\n ]\n };\n BRACED_SUBST.contains = [\n hljs.C_NUMBER_MODE,\n STRING\n ];\n\n const BUILT_IN_TYPES = [\n // dart:core\n 'Comparable',\n 'DateTime',\n 'Duration',\n 'Function',\n 'Iterable',\n 'Iterator',\n 'List',\n 'Map',\n 'Match',\n 'Object',\n 'Pattern',\n 'RegExp',\n 'Set',\n 'Stopwatch',\n 'String',\n 'StringBuffer',\n 'StringSink',\n 'Symbol',\n 'Type',\n 'Uri',\n 'bool
|