131dffabba470ff727c9660295d1227c549093b7b4e19676a6f42b522fee65af7e2c87984a11524cb462aae8acc575a142eb9b20cc2cff056bf89a3ba27a48 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /**
  2. * @fileoverview The AST node types produced by the parser.
  3. * @author Nicholas C. Zakas
  4. */
  5. "use strict";
  6. //------------------------------------------------------------------------------
  7. // Requirements
  8. //------------------------------------------------------------------------------
  9. // None!
  10. //------------------------------------------------------------------------------
  11. // Public
  12. //------------------------------------------------------------------------------
  13. module.exports = {
  14. AssignmentExpression: "AssignmentExpression",
  15. AssignmentPattern: "AssignmentPattern",
  16. ArrayExpression: "ArrayExpression",
  17. ArrayPattern: "ArrayPattern",
  18. ArrowFunctionExpression: "ArrowFunctionExpression",
  19. AwaitExpression: "AwaitExpression",
  20. BlockStatement: "BlockStatement",
  21. BinaryExpression: "BinaryExpression",
  22. BreakStatement: "BreakStatement",
  23. CallExpression: "CallExpression",
  24. CatchClause: "CatchClause",
  25. ClassBody: "ClassBody",
  26. ClassDeclaration: "ClassDeclaration",
  27. ClassExpression: "ClassExpression",
  28. ConditionalExpression: "ConditionalExpression",
  29. ContinueStatement: "ContinueStatement",
  30. DoWhileStatement: "DoWhileStatement",
  31. DebuggerStatement: "DebuggerStatement",
  32. EmptyStatement: "EmptyStatement",
  33. ExpressionStatement: "ExpressionStatement",
  34. ForStatement: "ForStatement",
  35. ForInStatement: "ForInStatement",
  36. ForOfStatement: "ForOfStatement",
  37. FunctionDeclaration: "FunctionDeclaration",
  38. FunctionExpression: "FunctionExpression",
  39. Identifier: "Identifier",
  40. IfStatement: "IfStatement",
  41. Literal: "Literal",
  42. LabeledStatement: "LabeledStatement",
  43. LogicalExpression: "LogicalExpression",
  44. MemberExpression: "MemberExpression",
  45. MetaProperty: "MetaProperty",
  46. MethodDefinition: "MethodDefinition",
  47. NewExpression: "NewExpression",
  48. ObjectExpression: "ObjectExpression",
  49. ObjectPattern: "ObjectPattern",
  50. Program: "Program",
  51. Property: "Property",
  52. RestElement: "RestElement",
  53. ReturnStatement: "ReturnStatement",
  54. SequenceExpression: "SequenceExpression",
  55. SpreadElement: "SpreadElement",
  56. Super: "Super",
  57. SwitchCase: "SwitchCase",
  58. SwitchStatement: "SwitchStatement",
  59. TaggedTemplateExpression: "TaggedTemplateExpression",
  60. TemplateElement: "TemplateElement",
  61. TemplateLiteral: "TemplateLiteral",
  62. ThisExpression: "ThisExpression",
  63. ThrowStatement: "ThrowStatement",
  64. TryStatement: "TryStatement",
  65. UnaryExpression: "UnaryExpression",
  66. UpdateExpression: "UpdateExpression",
  67. VariableDeclaration: "VariableDeclaration",
  68. VariableDeclarator: "VariableDeclarator",
  69. WhileStatement: "WhileStatement",
  70. WithStatement: "WithStatement",
  71. YieldExpression: "YieldExpression",
  72. JSXIdentifier: "JSXIdentifier",
  73. JSXNamespacedName: "JSXNamespacedName",
  74. JSXMemberExpression: "JSXMemberExpression",
  75. JSXEmptyExpression: "JSXEmptyExpression",
  76. JSXExpressionContainer: "JSXExpressionContainer",
  77. JSXElement: "JSXElement",
  78. JSXClosingElement: "JSXClosingElement",
  79. JSXOpeningElement: "JSXOpeningElement",
  80. JSXAttribute: "JSXAttribute",
  81. JSXSpreadAttribute: "JSXSpreadAttribute",
  82. JSXText: "JSXText",
  83. ExportDefaultDeclaration: "ExportDefaultDeclaration",
  84. ExportNamedDeclaration: "ExportNamedDeclaration",
  85. ExportAllDeclaration: "ExportAllDeclaration",
  86. ExportSpecifier: "ExportSpecifier",
  87. ImportDeclaration: "ImportDeclaration",
  88. ImportSpecifier: "ImportSpecifier",
  89. ImportDefaultSpecifier: "ImportDefaultSpecifier",
  90. ImportNamespaceSpecifier: "ImportNamespaceSpecifier"
  91. };