{"ast":null,"code":"/*\nLanguage: ReasonML\nDescription: Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.\nWebsite: https://reasonml.github.io\nAuthor: Gidi Meir Morris \nCategory: functional\n*/\nfunction reasonml(hljs) {\n const BUILT_IN_TYPES = [\"array\", \"bool\", \"bytes\", \"char\", \"exn|5\", \"float\", \"int\", \"int32\", \"int64\", \"list\", \"lazy_t|5\", \"nativeint|5\", \"ref\", \"string\", \"unit\"];\n return {\n name: 'ReasonML',\n aliases: ['re'],\n keywords: {\n $pattern: /[a-z_]\\w*!?/,\n keyword: [\"and\", \"as\", \"asr\", \"assert\", \"begin\", \"class\", \"constraint\", \"do\", \"done\", \"downto\", \"else\", \"end\", \"esfun\", \"exception\", \"external\", \"for\", \"fun\", \"function\", \"functor\", \"if\", \"in\", \"include\", \"inherit\", \"initializer\", \"land\", \"lazy\", \"let\", \"lor\", \"lsl\", \"lsr\", \"lxor\", \"mod\", \"module\", \"mutable\", \"new\", \"nonrec\", \"object\", \"of\", \"open\", \"or\", \"pri\", \"pub\", \"rec\", \"sig\", \"struct\", \"switch\", \"then\", \"to\", \"try\", \"type\", \"val\", \"virtual\", \"when\", \"while\", \"with\"],\n built_in: BUILT_IN_TYPES,\n literal: [\"true\", \"false\"]\n },\n illegal: /(:-|:=|\\$\\{|\\+=)/,\n contains: [{\n scope: 'literal',\n match: /\\[(\\|\\|)?\\]|\\(\\)/,\n relevance: 0\n }, hljs.C_LINE_COMMENT_MODE, hljs.COMMENT(/\\/\\*/, /\\*\\//, {\n illegal: /^(#,\\/\\/)/\n }), {\n /* type variable */\n scope: 'symbol',\n match: /\\'[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 scope: 'type',\n match: /`[A-Z][\\w\\']*/\n }, {\n /* module or constructor */\n scope: 'type',\n match: /\\b[A-Z][\\w\\']*/,\n relevance: 0\n }, {\n /* don't color identifiers, but safely catch all identifiers with ' */\n match: /[a-z_]\\w*\\'[\\w\\']*/,\n relevance: 0\n }, {\n scope: 'operator',\n match: /\\s+(\\|\\||\\+[\\+\\.]?|\\*[\\*\\/\\.]?|\\/[\\.]?|\\.\\.\\.|\\|>|&&|===?)\\s+/,\n relevance: 0\n }, hljs.inherit(hljs.APOS_STRING_MODE, {\n scope: 'string',\n relevance: 0\n }), hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null\n }), {\n scope: 'number',\n variants: [{\n match: /\\b0[xX][a-fA-F0-9_]+[Lln]?/\n }, {\n match: /\\b0[oO][0-7_]+[Lln]?/\n }, {\n match: /\\b0[bB][01_]+[Lln]?/\n }, {\n match: /\\b[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/\n }],\n relevance: 0\n }]\n };\n}\nmodule.exports = reasonml;","map":{"version":3,"names":["reasonml","hljs","BUILT_IN_TYPES","name","aliases","keywords","$pattern","keyword","built_in","literal","illegal","contains","scope","match","relevance","C_LINE_COMMENT_MODE","COMMENT","inherit","APOS_STRING_MODE","QUOTE_STRING_MODE","variants","module","exports"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/highlight.js/lib/languages/reasonml.js"],"sourcesContent":["/*\nLanguage: ReasonML\nDescription: Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.\nWebsite: https://reasonml.github.io\nAuthor: Gidi Meir Morris \nCategory: functional\n*/\nfunction reasonml(hljs) {\n const BUILT_IN_TYPES = [\n \"array\",\n \"bool\",\n \"bytes\",\n \"char\",\n \"exn|5\",\n \"float\",\n \"int\",\n \"int32\",\n \"int64\",\n \"list\",\n \"lazy_t|5\",\n \"nativeint|5\",\n \"ref\",\n \"string\",\n \"unit\",\n ];\n return {\n name: 'ReasonML',\n aliases: [ 're' ],\n keywords: {\n $pattern: /[a-z_]\\w*!?/,\n keyword: [\n \"and\",\n \"as\",\n \"asr\",\n \"assert\",\n \"begin\",\n \"class\",\n \"constraint\",\n \"do\",\n \"done\",\n \"downto\",\n \"else\",\n \"end\",\n \"esfun\",\n \"exception\",\n \"external\",\n \"for\",\n \"fun\",\n \"function\",\n \"functor\",\n \"if\",\n \"in\",\n \"include\",\n \"inherit\",\n \"initializer\",\n \"land\",\n \"lazy\",\n \"let\",\n \"lor\",\n \"lsl\",\n \"lsr\",\n \"lxor\",\n \"mod\",\n \"module\",\n \"mutable\",\n \"new\",\n \"nonrec\",\n \"object\",\n \"of\",\n \"open\",\n \"or\",\n \"pri\",\n \"pub\",\n \"rec\",\n \"sig\",\n \"struct\",\n \"switch\",\n \"then\",\n \"to\",\n \"try\",\n \"type\",\n \"val\",\n \"virtual\",\n \"when\",\n \"while\",\n \"with\",\n ],\n built_in: BUILT_IN_TYPES,\n literal: [\"true\", \"false\"],\n },\n illegal: /(:-|:=|\\$\\{|\\+=)/,\n contains: [\n {\n scope: 'literal',\n match: /\\[(\\|\\|)?\\]|\\(\\)/,\n relevance: 0\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT(/\\/\\*/, /\\*\\//, { illegal: /^(#,\\/\\/)/ }),\n { /* type variable */\n scope: 'symbol',\n match: /\\'[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 scope: 'type',\n match: /`[A-Z][\\w\\']*/\n },\n { /* module or constructor */\n scope: 'type',\n match: /\\b[A-Z][\\w\\']*/,\n relevance: 0\n },\n { /* don't color identifiers, but safely catch all identifiers with ' */\n match: /[a-z_]\\w*\\'[\\w\\']*/,\n relevance: 0\n },\n {\n scope: 'operator',\n match: /\\s+(\\|\\||\\+[\\+\\.]?|\\*[\\*\\/\\.]?|\\/[\\.]?|\\.\\.\\.|\\|>|&&|===?)\\s+/,\n relevance: 0\n }, \n hljs.inherit(hljs.APOS_STRING_MODE, {\n scope: 'string',\n relevance: 0\n }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),\n {\n scope: 'number',\n variants: [\n { match: /\\b0[xX][a-fA-F0-9_]+[Lln]?/ },\n { match: /\\b0[oO][0-7_]+[Lln]?/ },\n { match: /\\b0[bB][01_]+[Lln]?/ },\n { match: /\\b[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/ },\n ],\n relevance: 0\n },\n ]\n };\n}\n\nmodule.exports = reasonml;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,QAAQA,CAACC,IAAI,EAAE;EACtB,MAAMC,cAAc,GAAG,CACrB,OAAO,EACP,MAAM,EACN,OAAO,EACP,MAAM,EACN,OAAO,EACP,OAAO,EACP,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,aAAa,EACb,KAAK,EACL,QAAQ,EACR,MAAM,CACP;EACD,OAAO;IACLC,IAAI,EAAE,UAAU;IAChBC,OAAO,EAAE,CAAE,IAAI,CAAE;IACjBC,QAAQ,EAAE;MACRC,QAAQ,EAAG,aAAa;MACxBC,OAAO,EAAE,CACP,KAAK,EACL,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,KAAK,EACL,OAAO,EACP,WAAW,EACX,UAAU,EACV,KAAK,EACL,KAAK,EACL,UAAU,EACV,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,SAAS,EACT,aAAa,EACb,MAAM,EACN,MAAM,EACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,E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