text/js/erlang-repl-Ce_nVS0g.chunk....

1 строка
2.1 KiB
Plaintext

{"version":3,"file":"erlang-repl-Ce_nVS0g.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/erlang-repl.js"],"sourcesContent":["/*\nLanguage: Erlang REPL\nAuthor: Sergey Ignatov <sergey@ignatov.spb.su>\nWebsite: https://www.erlang.org\nCategory: functional\n*/\n\n/** @type LanguageFn */\nfunction erlangRepl(hljs) {\n const regex = hljs.regex;\n return {\n name: 'Erlang REPL',\n keywords: {\n built_in:\n 'spawn spawn_link self',\n keyword:\n 'after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if '\n + 'let not of or orelse|10 query receive rem try when xor'\n },\n contains: [\n {\n className: 'meta.prompt',\n begin: '^[0-9]+> ',\n relevance: 10\n },\n hljs.COMMENT('%', '$'),\n {\n className: 'number',\n begin: '\\\\b(\\\\d+(_\\\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\\\d+(_\\\\d+)*(\\\\.\\\\d+(_\\\\d+)*)?([eE][-+]?\\\\d+)?)',\n relevance: 0\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n { begin: regex.concat(\n /\\?(::)?/,\n /([A-Z]\\w*)/, // at least one identifier\n /((::)[A-Z]\\w*)*/ // perhaps more\n ) },\n { begin: '->' },\n { begin: 'ok' },\n { begin: '!' },\n {\n begin: '(\\\\b[a-z\\'][a-zA-Z0-9_\\']*:[a-z\\'][a-zA-Z0-9_\\']*)|(\\\\b[a-z\\'][a-zA-Z0-9_\\']*)',\n relevance: 0\n },\n {\n begin: '[A-Z][a-zA-Z0-9_\\']*',\n relevance: 0\n }\n ]\n };\n}\n\nmodule.exports = erlangRepl;\n"],"names":["erlangRepl","hljs","regex","erlangRepl_1"],"mappings":";4YAQA,SAASA,EAAWC,EAAM,CACxB,MAAMC,EAAQD,EAAK,MACnB,MAAO,CACL,KAAM,cACN,SAAU,CACR,SACE,wBACF,QACE,6IAEH,EACD,SAAU,CACR,CACE,UAAW,cACX,MAAO,YACP,UAAW,EACZ,EACDA,EAAK,QAAQ,IAAK,GAAG,EACrB,CACE,UAAW,SACX,MAAO,gGACP,UAAW,CACZ,EACDA,EAAK,iBACLA,EAAK,kBACL,CAAE,MAAOC,EAAM,OACb,UACA,aACA,iBACR,CAAS,EACH,CAAE,MAAO,IAAM,EACf,CAAE,MAAO,IAAM,EACf,CAAE,MAAO,GAAK,EACd,CACE,MAAO,2EACP,UAAW,CACZ,EACD,CACE,MAAO,sBACP,UAAW,CACZ,CACF,CACL,CACA,CAEA,IAAAC,EAAiBH","x_google_ignoreList":[0]}