1 # |
|
2 # Jasy - Web Tooling Framework |
|
3 # Copyright 2010-2012 Zynga Inc. |
|
4 # |
|
5 |
|
6 from __future__ import unicode_literals |
|
7 |
|
8 """JavaScript 1.7 keywords""" |
|
9 keywords = set([ |
|
10 "break", |
|
11 "case", "catch", "const", "continue", |
|
12 "debugger", "default", "delete", "do", |
|
13 "else", |
|
14 "false", "finally", "for", "function", |
|
15 "if", "in", "instanceof", |
|
16 "let", |
|
17 "new", "null", |
|
18 "return", |
|
19 "switch", |
|
20 "this", "throw", "true", "try", "typeof", |
|
21 "var", "void", |
|
22 "yield", |
|
23 "while", "with" |
|
24 ]) |
|