Sha256: fe81f4ae2a09b5712a13971240b475c10a622ce30bb82abf8d1b3545bc9c1354
Contents?: true
Size: 848 Bytes
Versions: 10
Compression:
Stored size: 848 Bytes
Contents
Prism.languages.oz = { 'comment': /\/\*[\s\S]*?\*\/|%.*/, 'string': /"(?:[^"\\]|\\[\s\S])*"/, 'atom': { pattern: /'(?:[^'\\]|\\.)*'/, alias: 'builtin' }, 'keyword': /[$_]|\[\]|\b(?:at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/, 'function': [ /[a-z][A-Za-z\d]*(?=\()/, { pattern: /(\{)[A-Z][A-Za-z\d]*/, lookbehind: true } ], 'number': /\b(?:0[bx][\da-f]+|\d+\.?\d*(?:e~?\d+)?\b)|&(?:[^\\]|\\(?:\d{3}|.))/i, 'variable': /\b[A-Z][A-Za-z\d]*|`(?:[^`\\]|\\.)+`/, 'attr-name': /\w+(?=:)/, 'operator': /:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/, 'punctuation': /[\[\](){}.:;?]/ };
Version data entries
10 entries across 10 versions & 2 rubygems