forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsyntax.ts
More file actions
69 lines (69 loc) · 3.9 KB
/
syntax.ts
File metadata and controls
69 lines (69 loc) · 3.9 KB
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
export const Syntax = {
ArrayExpression: 'ArrayExpression' as 'ArrayExpression',
ArrayPattern: 'ArrayPattern' as 'ArrayPattern',
ArrowFunctionExpression: 'ArrowFunctionExpression' as 'ArrowFunctionExpression',
AssignmentExpression: 'AssignmentExpression' as 'AssignmentExpression',
AssignmentPattern: 'AssignmentPattern' as 'AssignmentPattern',
AwaitExpression: 'AwaitExpression' as 'AwaitExpression',
BinaryExpression: 'BinaryExpression' as 'BinaryExpression',
BlockStatement: 'BlockStatement' as 'BlockStatement',
BreakStatement: 'BreakStatement' as 'BreakStatement',
CallExpression: 'CallExpression' as 'CallExpression',
CatchClause: 'CatchClause' as 'CatchClause',
ClassBody: 'ClassBody' as 'ClassBody',
ClassDeclaration: 'ClassDeclaration' as 'ClassDeclaration',
ClassExpression: 'ClassExpression' as 'ClassExpression',
ConditionalExpression: 'ConditionalExpression' as 'ConditionalExpression',
ContinueStatement: 'ContinueStatement' as 'ContinueStatement',
DebuggerStatement: 'DebuggerStatement' as 'DebuggerStatement',
DoWhileStatement: 'DoWhileStatement' as 'DoWhileStatement',
EmptyStatement: 'EmptyStatement' as 'EmptyStatement',
ExportAllDeclaration: 'ExportAllDeclaration' as 'ExportAllDeclaration',
ExportDefaultDeclaration: 'ExportDefaultDeclaration' as 'ExportDefaultDeclaration',
ExportNamedDeclaration: 'ExportNamedDeclaration' as 'ExportNamedDeclaration',
ExportSpecifier: 'ExportSpecifier' as 'ExportSpecifier',
ExpressionStatement: 'ExpressionStatement' as 'ExpressionStatement',
ForInStatement: 'ForInStatement' as 'ForInStatement',
ForOfStatement: 'ForOfStatement' as 'ForOfStatement',
ForStatement: 'ForStatement' as 'ForStatement',
FunctionDeclaration: 'FunctionDeclaration' as 'FunctionDeclaration',
FunctionExpression: 'FunctionExpression' as 'FunctionExpression',
Identifier: 'Identifier' as 'Identifier',
IfStatement: 'IfStatement' as 'IfStatement',
Import: 'Import' as 'Import',
ImportDeclaration: 'ImportDeclaration' as 'ImportDeclaration',
ImportDefaultSpecifier: 'ImportDefaultSpecifier' as 'ImportDefaultSpecifier',
ImportNamespaceSpecifier: 'ImportNamespaceSpecifier' as 'ImportNamespaceSpecifier',
ImportSpecifier: 'ImportSpecifier' as 'ImportSpecifier',
LabeledStatement: 'LabeledStatement' as 'LabeledStatement',
Literal: 'Literal' as 'Literal',
LogicalExpression: 'LogicalExpression' as 'LogicalExpression',
MemberExpression: 'MemberExpression' as 'MemberExpression',
MetaProperty: 'MetaProperty' as 'MetaProperty',
MethodDefinition: 'MethodDefinition' as 'MethodDefinition',
NewExpression: 'NewExpression' as 'NewExpression',
ObjectExpression: 'ObjectExpression' as 'ObjectExpression',
ObjectPattern: 'ObjectPattern' as 'ObjectPattern',
Program: 'Program' as 'Program',
Property: 'Property' as 'Property',
RestElement: 'RestElement' as 'RestElement',
ReturnStatement: 'ReturnStatement' as 'ReturnStatement',
SequenceExpression: 'SequenceExpression' as 'SequenceExpression',
SpreadElement: 'SpreadElement' as 'SpreadElement',
Super: 'Super' as 'Super',
SwitchCase: 'SwitchCase' as 'SwitchCase',
SwitchStatement: 'SwitchStatement' as 'SwitchStatement',
TaggedTemplateExpression: 'TaggedTemplateExpression' as 'TaggedTemplateExpression',
TemplateElement: 'TemplateElement' as 'TemplateElement',
TemplateLiteral: 'TemplateLiteral' as 'TemplateLiteral',
ThisExpression: 'ThisExpression' as 'ThisExpression',
ThrowStatement: 'ThrowStatement' as 'ThrowStatement',
TryStatement: 'TryStatement' as 'TryStatement',
UnaryExpression: 'UnaryExpression' as 'UnaryExpression',
UpdateExpression: 'UpdateExpression' as 'UpdateExpression',
VariableDeclaration: 'VariableDeclaration' as 'VariableDeclaration',
VariableDeclarator: 'VariableDeclarator' as 'VariableDeclarator',
WhileStatement: 'WhileStatement' as 'WhileStatement',
WithStatement: 'WithStatement' as 'WithStatement',
YieldExpression: 'YieldExpression' as 'YieldExpression',
};