Sha256: d73ec7a41c2e4f67de33a593f801d0f97d584d72f318568dff875d763b32dc79

Contents?: true

Size: 671 Bytes

Versions: 6

Compression:

Stored size: 671 Bytes

Contents

Prism.languages.erlang={comment:/%.+/,string:/"(?:\\?.)*?"/,"quoted-function":{pattern:/'[^']+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'[^']+'/,alias:"atom"},"boolean":/\b(?:true|false)\b/,keyword:/\b(?:fun|when|case|of|end|if|receive|after|try|catch)\b/,number:[/\$\\?./,/\d+#[a-z0-9]+/i,/(?:\b|-)\d*\.?\d+([Ee][+-]?\d+)?\b/],"function":/\b[a-z][\w@]*(?=\()/,variable:/(?:\b|\?)[A-Z_][\w@]*/,operator:[/[=\/>:]=|>=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\b/,{pattern:/(^|(?!<).)<(?!<)/,lookbehind:!0},{pattern:/(^|(?!>).)>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/};

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
polymer-elements-rails-1.0.1 app/assets/components/prism/components/prism-erlang.min.js
polymer-elements-rails-1.0.0 app/assets/components/prism/components/prism-erlang.min.js
polymer-elements-rails-1.0.0.pre.rc.1 app/assets/components/prism/components/prism-erlang.min.js
polymer-iron-rails-1.0.0.pre.rc.3 app/assets/components/prism/components/prism-erlang.min.js
polymer-iron-rails-1.0.0.pre.rc.2 app/assets/components/prism/components/prism-erlang.min.js
polymer-iron-rails-1.0.0.pre.rc.1 app/assets/components/prism/components/prism-erlang.min.js