UNPKG

react-scripts

Version:
83 lines (72 loc) 1.69 kB
"use strict"; var _index = require("./index"); var _index2 = _interopRequireDefault(_index); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } (0, _index2.default)("AwaitExpression", { builder: ["argument"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { argument: { validate: (0, _index.assertNodeType)("Expression") } } }); (0, _index2.default)("BindExpression", { visitor: ["object", "callee"], aliases: ["Expression"], fields: {} }); (0, _index2.default)("Decorator", { visitor: ["expression"], fields: { expression: { validate: (0, _index.assertNodeType)("Expression") } } }); (0, _index2.default)("DoExpression", { visitor: ["body"], aliases: ["Expression"], fields: { body: { validate: (0, _index.assertNodeType)("BlockStatement") } } }); (0, _index2.default)("ExportDefaultSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, _index.assertNodeType)("Identifier") } } }); (0, _index2.default)("ExportNamespaceSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, _index.assertNodeType)("Identifier") } } }); (0, _index2.default)("RestProperty", { visitor: ["argument"], aliases: ["UnaryLike"], fields: { argument: { validate: (0, _index.assertNodeType)("LVal") } } }); (0, _index2.default)("SpreadProperty", { visitor: ["argument"], aliases: ["UnaryLike"], fields: { argument: { validate: (0, _index.assertNodeType)("Expression") } } });