Sha256: 680ba1871519fb6f25e55270fb8829fbf874aa5b49864f4f25990044505c1d5a
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
/* Language: Erlang REPL Author: Sergey Ignatov <sergey@ignatov.spb.su> */ hljs.LANGUAGES['erlang-repl'] = function(hljs) { return { keywords: { special_functions: 'spawn spawn_link self', reserved: 'after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if ' + 'let not of or orelse|10 query receive rem try when xor' }, contains: [ { className: 'prompt', begin: '^[0-9]+> ', relevance: 10 }, { className: 'comment', begin: '%', end: '$' }, { className: 'number', begin: '\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)', relevance: 0 }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { className: 'constant', begin: '\\?(::)?([A-Z]\\w*(::)?)+' }, { className: 'arrow', begin: '->' }, { className: 'ok', begin: 'ok' }, { className: 'exclamation_mark', begin: '!' }, { className: 'function_or_atom', begin: '(\\b[a-z\'][a-zA-Z0-9_\']*:[a-z\'][a-zA-Z0-9_\']*)|(\\b[a-z\'][a-zA-Z0-9_\']*)', relevance: 0 }, { className: 'variable', begin: '[A-Z][a-zA-Z0-9_\']*', relevance: 0 } ] }; }(hljs);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
highlight_js-rails4-7.4.0.4 | vendor/assets/javascripts/highlight_js/languages/erlang-repl.js |
highlight_js-rails4-7.4.0.3 | vendor/assets/javascripts/highlight_js/languages/erlang-repl.js |