-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeywords.py
168 lines (168 loc) · 1.33 KB
/
keywords.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
KEYWORDS = """
Boolean
tailrec
Object
Nothing
Float
Equiv
ImplicitFunction
mkString
toArray
update
iterator
dotty
runtime
toList
contains
toInt
LegacyApp
forSome
Comparable
collect
Iterator
next
hasNext
volatile
finally
Null
identityG
Double
enum
reflect
collection
equals
true
Tuple1
assert
LinkedList
identity
Some
_
getClass
None
filterNot
LazyList
classTag
RuntimeException
NullPointerException
App
false
Integer
Seq
super
Nil
Symbol
lazy
MAX_VALUE
inline
override
MIN_VALUE
Traversable
PartialFunction
forall
main
JavaConversions
Singleton
immutable
mutable
Either
Tuple2
java
erased
try
Map
Long
Short
Byte
catch
lang
Class
Nil
length
toString
selectDynamic
Tuple1
Console
println
Ordering
Stream
throw
Set
HashSet
Implicits
Product
size
head
foreach
Exception
Function0
Function1
Function2
new
map
filter
withFilter
ClassTag
sys
error
Ordered
return
this
AnyRef
AnyVal
scala
language
if
sealed
final
else
classOf
import
apply
unapply
yield
implicit
implicitly
annotation
StaticAnnotation
protected
private
higherKinds
asInstanceOf
isInstanceOf
new
uncheckedVariance
extends
override
match
dynamics
Dynamic
while
for
Throwable
package
with
Serializable
trait
Array
List
flatMap
map
class
object
def
type
val
Int
Unit
Any
case
type
abstract
var
null
Option
specialized
String
""".strip().split('\n')
KEYWORDS = sorted(set(s.strip() for s in KEYWORDS))