We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 692ef0c commit 1967bfaCopy full SHA for 1967bfa
internal/poet/reserved.go
@@ -4,25 +4,37 @@ import "slices"
4
5
// TODO(quentin@escape.tech): check if this is complete
6
var reservedKeywords = []string{
7
- "class",
8
- "if",
9
- "else",
10
- "elif",
11
- "not",
12
- "for",
13
"and",
14
- "in",
15
- "is",
16
- "or",
17
- "with",
18
"as",
19
"assert",
+ "async",
+ "await",
20
"break",
+ "class",
+ "continue",
+ "def",
+ "del",
+ "elif",
+ "else",
21
"except",
22
"finally",
23
- "try",
+ "for",
+ "from",
+ "global",
24
+ "if",
25
+ "import",
26
+ "in",
27
+ "is",
28
+ "lambda",
29
+ "nonlocal",
30
+ "not",
31
+ "or",
32
+ "pass",
33
"raise",
34
"return",
35
+ "try",
36
+ "while",
37
+ "with",
38
"yield",
39
}
40
0 commit comments