text/js/highlight/dart.js.map

1 строка
6.1 KiB
Plaintext

{"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',\n 'double',\n 'int',\n 'num',\n // dart:html\n 'Element',\n 'ElementList'\n ];\n const NULLABLE_BUILT_IN_TYPES = BUILT_IN_TYPES.map((e) => `${e}?`);\n\n const KEYWORDS = {\n keyword: 'abstract as assert async await break case catch class const continue covariant default deferred do ' +\n 'dynamic else enum export extends extension external factory false final finally for Function get hide if ' +\n 'implements import in inferface is late library mixin new null on operator part required rethrow return set ' +\n 'show static super switch sync this throw true try typedef var void while with yield',\n built_in:\n BUILT_IN_TYPES\n .concat(NULLABLE_BUILT_IN_TYPES)\n .concat([\n // dart:core\n 'Never',\n 'Null',\n 'dynamic',\n 'print',\n // dart:html\n 'document',\n 'querySelector',\n 'querySelectorAll',\n 'window'\n ]).join(' '),\n $pattern: /[A-Za-z][A-Za-z0-9_]*\\??/\n };\n\n return {\n name: 'Dart',\n keywords: KEYWORDS,\n contains: [\n STRING,\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/', {\n subLanguage: 'markdown',\n relevance: 0\n }\n ),\n hljs.COMMENT(\n '///+\\\\s*',\n '$', {\n contains: [{\n subLanguage: 'markdown',\n begin: '.',\n end: '$',\n relevance: 0\n }]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'class',\n beginKeywords: 'class interface',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n {\n beginKeywords: 'extends implements'\n },\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '@[A-Za-z]+'\n },\n {\n begin: '=>' // No markup, just a relevance booster\n }\n ]\n };\n}\n\nmodule.exports = dart;\n"],"sourceRoot":""}