use prism-tomorrow.css

This commit is contained in:
CyC2018
2018-12-19 14:09:39 +08:00
parent 0f00bcacaf
commit e9e604e6a7
1747 changed files with 100462 additions and 0 deletions

View File

@ -0,0 +1,17 @@
String Int Long Short
Byte Boolean Double
Float Char Any AnyRef
AnyVal Unit Nothing
----------------------------------------------------
[
["builtin", "String"], ["builtin", "Int"], ["builtin", "Long"], ["builtin", "Short"],
["builtin", "Byte"], ["builtin", "Boolean"], ["builtin", "Double"],
["builtin", "Float"], ["builtin", "Char"], ["builtin", "Any"], ["builtin", "AnyRef"],
["builtin", "AnyVal"], ["builtin", "Unit"], ["builtin", "Nothing"]
]
----------------------------------------------------
Checks for builtins.

View File

@ -0,0 +1,35 @@
<- =>
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
----------------------------------------------------
[
["keyword", "<-"], ["keyword", "=>"],
["keyword", "abstract"], ["keyword", "case"], ["keyword", "catch"],
["keyword", "class"], ["keyword", "def"], ["keyword", "do"], ["keyword", "else"],
["keyword", "extends"], ["keyword", "final"], ["keyword", "finally"],
["keyword", "for"], ["keyword", "forSome"], ["keyword", "if"],
["keyword", "implicit"], ["keyword", "import"], ["keyword", "lazy"],
["keyword", "match"], ["keyword", "new"], ["keyword", "null"], ["keyword", "object"],
["keyword", "override"], ["keyword", "package"], ["keyword", "private"],
["keyword", "protected"], ["keyword", "return"], ["keyword", "sealed"],
["keyword", "self"], ["keyword", "super"], ["keyword", "this"], ["keyword", "throw"],
["keyword", "trait"], ["keyword", "try"], ["keyword", "type"], ["keyword", "val"],
["keyword", "var"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"]
]
----------------------------------------------------
Checks for keywords.

View File

@ -0,0 +1,27 @@
0xBadFace
0xf7.fb
42
3.14159
3e4
0.1E8
42d
0777L
1e30f
----------------------------------------------------
[
["number", "0xBadFace"],
["number", "0xf7.fb"],
["number", "42"],
["number", "3.14159"],
["number", "3e4"],
["number", "0.1E8"],
["number", "42d"],
["number", "0777L"],
["number", "1e30f"]
]
----------------------------------------------------
Checks for numbers.

View File

@ -0,0 +1,34 @@
'a'
'\u0041'
'\n'
'\t'
""
"fo\"obar"
"""fo"o
bar"""
"""fo"o
// comment
bar"""
"foo /* comment */ bar"
'foo // bar'
----------------------------------------------------
[
["string", "'a'"],
["string", "'\\u0041'"],
["string", "'\\n'"],
["string", "'\\t'"],
["string", "\"\""],
["string", "\"fo\\\"obar\""],
["string", "\"\"\"fo\"o\r\nbar\"\"\""],
["string", "\"\"\"fo\"o\r\n// comment\r\nbar\"\"\""],
["string", "\"foo /* comment */ bar\""],
["string", "'foo // bar'"]
]
----------------------------------------------------
Checks for characters and strings.

View File

@ -0,0 +1,15 @@
'foo
'foo_42
'foo_bar
----------------------------------------------------
[
["symbol", "'foo"],
["symbol", "'foo_42"],
["symbol", "'foo_bar"]
]
----------------------------------------------------
Checks for symbols.