Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sml.js.map « highlight « js - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0572073cb4810c21367fb3093786f7ee13784541 (plain)
1
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/sml.js"],"names":["module","exports","hljs","aliases","keywords","keyword","built_in","literal","illegal","lexemes","contains","className","begin","relevance","COMMENT","inherit","APOS_STRING_MODE","QUOTE_STRING_MODE"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GACxB,MAAO,CACLC,QAAS,CAAC,MACVC,SAAU,CACRC,QAEE,iPAIFC,SAEE,uFACFC,QACE,+CAEJC,QAAS,UACTC,QAAS,eACTC,SAAU,CACR,CACEC,UAAW,UACXC,MAAO,mBACPC,UAAW,GAEbX,EAAKY,QACH,SACA,SACA,CACEJ,SAAU,CAAC,UAGf,CACEC,UAAW,SACXC,MAAO,0BAGT,CACED,UAAW,OACXC,MAAO,iBAET,CACED,UAAW,OACXC,MAAO,kBACPC,UAAW,GAEb,CACED,MAAO,sBAETV,EAAKa,QAAQb,EAAKc,iBAAkB,CAACL,UAAW,SAAUE,UAAW,IACrEX,EAAKa,QAAQb,EAAKe,kBAAmB,CAACT,QAAS,OAC/C,CACEG,UAAW,SACXC,MACE,2HAIFC,UAAW,GAEb,CACED,MAAO","file":"highlight/sml.js?v=3ba6c786bd9ca4d7ec99","sourcesContent":["module.exports = function(hljs) {\n  return {\n    aliases: ['ml'],\n    keywords: {\n      keyword:\n        /* according to Definition of Standard ML 97  */\n        'abstype and andalso as case datatype do else end eqtype ' +\n        'exception fn fun functor handle if in include infix infixr ' +\n        'let local nonfix of op open orelse raise rec sharing sig ' +\n        'signature struct structure then type val with withtype where while',\n      built_in:\n        /* built-in types according to basis library */\n        'array bool char exn int list option order real ref string substring vector unit word',\n      literal:\n        'true false NONE SOME LESS EQUAL GREATER nil'\n    },\n    illegal: /\\/\\/|>>/,\n    lexemes: '[a-z_]\\\\w*!?',\n    contains: [\n      {\n        className: 'literal',\n        begin: /\\[(\\|\\|)?\\]|\\(\\)/,\n        relevance: 0\n      },\n      hljs.COMMENT(\n        '\\\\(\\\\*',\n        '\\\\*\\\\)',\n        {\n          contains: ['self']\n        }\n      ),\n      { /* type variable */\n        className: 'symbol',\n        begin: '\\'[A-Za-z_](?!\\')[\\\\w\\']*'\n        /* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */\n      },\n      { /* polymorphic variant */\n        className: 'type',\n        begin: '`[A-Z][\\\\w\\']*'\n      },\n      { /* module or constructor */\n        className: 'type',\n        begin: '\\\\b[A-Z][\\\\w\\']*',\n        relevance: 0\n      },\n      { /* don't color identifiers, but safely catch all identifiers with '*/\n        begin: '[a-z_]\\\\w*\\'[\\\\w\\']*'\n      },\n      hljs.inherit(hljs.APOS_STRING_MODE, {className: 'string', relevance: 0}),\n      hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null}),\n      {\n        className: 'number',\n        begin:\n          '\\\\b(0[xX][a-fA-F0-9_]+[Lln]?|' +\n          '0[oO][0-7_]+[Lln]?|' +\n          '0[bB][01_]+[Lln]?|' +\n          '[0-9][0-9_]*([Lln]|(\\\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)',\n        relevance: 0\n      },\n      {\n        begin: /[-=]>/ // relevance booster\n      }\n    ]\n  };\n};"],"sourceRoot":""}