Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 817ff62

Browse files
committed
Fix order of node types
1 parent 51178b9 commit 817ff62

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/ast-node-types.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ module.exports = {
9696
ThisExpression: "ThisExpression",
9797
ThrowStatement: "ThrowStatement",
9898
TryStatement: "TryStatement",
99+
UnaryExpression: "UnaryExpression",
100+
UpdateExpression: "UpdateExpression",
101+
VariableDeclaration: "VariableDeclaration",
102+
VariableDeclarator: "VariableDeclarator",
103+
WhileStatement: "WhileStatement",
104+
WithStatement: "WithStatement",
105+
YieldExpression: "YieldExpression",
99106
/**
100107
* TS-prefixed nodes
101108
*/
@@ -150,12 +157,5 @@ module.exports = {
150157
TSTypeReference: "TSTypeReference",
151158
TSUnionType: "TSUnionType",
152159
TSUndefinedKeyword: "TSUndefinedKeyword",
153-
TSVoidKeyword: "TSVoidKeyword",
154-
UnaryExpression: "UnaryExpression",
155-
UpdateExpression: "UpdateExpression",
156-
VariableDeclaration: "VariableDeclaration",
157-
VariableDeclarator: "VariableDeclarator",
158-
WhileStatement: "WhileStatement",
159-
WithStatement: "WithStatement",
160-
YieldExpression: "YieldExpression"
160+
TSVoidKeyword: "TSVoidKeyword"
161161
};

0 commit comments

Comments
 (0)