UNPKG

cst

Version:

JavaScript CST Implementation

100 lines (99 loc) 3.71 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { ArrayExpression: ['elements'], ArrayPattern: ['elements'], ArrowFunctionExpression: ['params', 'body'], AssignmentExpression: ['left', 'right'], AssignmentPattern: ['left', 'right'], AwaitExpression: ['argument'], BinaryExpression: ['left', 'right'], BindExpression: ['object', 'callee'], BlockStatement: ['body', 'directives'], BooleanLiteral: [], BreakStatement: ['label'], CallExpression: ['callee', 'arguments'], CatchClause: ['param', 'body'], ClassBody: ['body'], ClassDeclaration: ['id', 'superClass', 'body'], ClassExpression: ['id', 'superClass', 'body'], ClassMethod: ['key', 'body', 'params'], ClassProperty: ['key', 'value'], ConditionalExpression: ['test', 'consequent', 'alternate'], ContinueStatement: ['label'], DebuggerStatement: [], Directive: ['value'], DirectiveLiteral: [], DoWhileStatement: ['body', 'test'], EmptyStatement: [], ExportAllDeclaration: ['source'], ExportDefaultDeclaration: ['declaration'], ExportDefaultSpecifier: ['exported'], ExportNamedDeclaration: ['declaration', 'specifiers', 'source'], ExportNamespaceSpecifier: ['exported'], ExportSpecifier: ['exported', 'local'], ExpressionStatement: ['expression'], ForInStatement: ['left', 'right', 'body'], ForOfStatement: ['left', 'right', 'body'], ForStatement: ['init', 'test', 'update', 'body'], FunctionDeclaration: ['id', 'params', 'body'], FunctionExpression: ['id', 'params', 'body'], Identifier: [], IfStatement: ['test', 'consequent', 'alternate'], ImportDeclaration: ['specifiers', 'source'], ImportDefaultSpecifier: ['local'], ImportNamespaceSpecifier: ['local'], ImportSpecifier: ['imported', 'local'], JSXAttribute: ['name', 'value'], JSXClosingElement: ['name'], JSXElement: ['openingElement', 'closingElement', 'children'], JSXEmptyExpression: [], JSXExpressionContainer: ['expression'], JSXIdentifier: [], JSXMemberExpression: ['object', 'property'], JSXNamespacedName: ['namespace', 'name'], JSXOpeningElement: ['name', 'attributes'], JSXSpreadAttribute: ['argument'], JSXText: [], LabeledStatement: ['label', 'body'], LogicalExpression: ['left', 'right'], MemberExpression: ['object', 'property'], MetaProperty: ['meta', 'property'], ModuleDeclaration: [], ModuleSpecifier: ['local'], NewExpression: ['callee', 'arguments'], NullLiteral: [], NumericLiteral: [], ObjectExpression: ['properties'], ObjectMethod: ['key', 'params', 'body'], ObjectPattern: ['properties'], ObjectProperty: ['key', 'value'], Program: ['body', 'directives'], RegExpLiteral: [], RestElement: ['argument'], RestProperty: ['argument'], ReturnStatement: ['argument'], SequenceExpression: ['expressions'], SpreadElement: ['argument'], SpreadProperty: ['argument'], StringLiteral: [], Super: [], SwitchCase: ['test', 'consequent'], SwitchStatement: ['discriminant', 'cases'], TaggedTemplateExpression: ['tag', 'quasi'], TemplateElement: [], TemplateLiteral: ['quasis', 'expressions'], ThisExpression: [], ThrowStatement: ['argument'], TryStatement: ['block', 'handler', 'finalizer'], UnaryExpression: ['argument'], UpdateExpression: ['argument'], VariableDeclaration: ['declarations'], VariableDeclarator: ['id', 'init'], WhileStatement: ['test', 'body'], WithStatement: ['object', 'body'], YieldExpression: ['argument'] }; //# sourceMappingURL=visitorKeys.js.map