Blame view

bower_components/prism/components/prism-scala.js 684 Bytes
73bcce88   luigser   COMPONENTS
1
  Prism.languages.scala = Prism.languages.extend('java', {
eb240478   Luigi Serra   public room cards...
2
3
4
5
6
  	'keyword': /<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,
  	'string': /"""[\W\w]*?"""|"(?:[^"\\\r\n]|\\.)*"|'(?:[^\\\r\n']|\\.[^\\']*)'/,
  	'builtin': /\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\b/,
  	'number': /\b(?:0x[\da-f]*\.?[\da-f]+|\d*\.?\d+e?\d*[dfl]?)\b/i,
  	'symbol': /'[^\d\s\\]\w*/
73bcce88   luigser   COMPONENTS
7
8
9
  });
  delete Prism.languages.scala['class-name'];
  delete Prism.languages.scala['function'];