Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/@babel/traverse/lib/path/index.js
rd565449 r0c6b92a 19 19 var NodePath_conversion = require("./conversion.js"); 20 20 var NodePath_introspection = require("./introspection.js"); 21 var NodePath_context = require("./context.js"); 21 var _context = require("./context.js"); 22 var NodePath_context = _context; 22 23 var NodePath_removal = require("./removal.js"); 23 24 var NodePath_modification = require("./modification.js"); … … 90 91 if (targetNode) paths.set(targetNode, path); 91 92 } 92 path.setup(parentPath, container, listKey, key);93 _context.setup.call(path, parentPath, container, listKey, key); 93 94 return path; 94 95 } … … 182 183 ensureFunctionName: NodePath_conversion.ensureFunctionName, 183 184 matchesPattern: NodePath_introspection.matchesPattern, 184 has: NodePath_introspection.has,185 185 isStatic: NodePath_introspection.isStatic, 186 is: NodePath_introspection.is,187 isnt: NodePath_introspection.isnt,188 equals: NodePath_introspection.equals,189 186 isNodeType: NodePath_introspection.isNodeType, 190 187 canHaveVariableDeclarationOrExpression: NodePath_introspection.canHaveVariableDeclarationOrExpression, … … 199 196 isConstantExpression: NodePath_introspection.isConstantExpression, 200 197 isInStrictMode: NodePath_introspection.isInStrictMode, 201 call: NodePath_context.call,202 198 isDenylisted: NodePath_context.isDenylisted, 203 isBlacklisted: NodePath_context.isBlacklisted,204 199 visit: NodePath_context.visit, 205 200 skip: NodePath_context.skip, 206 201 skipKey: NodePath_context.skipKey, 207 202 stop: NodePath_context.stop, 208 setScope: NodePath_context.setScope,209 203 setContext: NodePath_context.setContext, 210 resync: NodePath_context.resync,211 popContext: NodePath_context.popContext,212 pushContext: NodePath_context.pushContext,213 setup: NodePath_context.setup,214 setKey: NodePath_context.setKey,215 204 requeue: NodePath_context.requeue, 216 205 requeueComputedKeyAndDecorators: NodePath_context.requeueComputedKeyAndDecorators, … … 218 207 insertBefore: NodePath_modification.insertBefore, 219 208 insertAfter: NodePath_modification.insertAfter, 220 updateSiblingKeys: NodePath_modification.updateSiblingKeys,221 209 unshiftContainer: NodePath_modification.unshiftContainer, 222 210 pushContainer: NodePath_modification.pushContainer, 223 hoist: NodePath_modification.hoist,224 211 getOpposite: NodePath_family.getOpposite, 225 212 getCompletionRecords: NodePath_family.getCompletionRecords, … … 242 229 { 243 230 NodePath_Final.prototype.arrowFunctionToShadowed = NodePath_conversion[String("arrowFunctionToShadowed")]; 231 Object.assign(NodePath_Final.prototype, { 232 has: NodePath_introspection[String("has")], 233 is: NodePath_introspection[String("is")], 234 isnt: NodePath_introspection[String("isnt")], 235 equals: NodePath_introspection[String("equals")], 236 hoist: NodePath_modification[String("hoist")], 237 updateSiblingKeys: NodePath_modification.updateSiblingKeys, 238 call: NodePath_context.call, 239 isBlacklisted: NodePath_context[String("isBlacklisted")], 240 setScope: NodePath_context.setScope, 241 resync: NodePath_context.resync, 242 popContext: NodePath_context.popContext, 243 pushContext: NodePath_context.pushContext, 244 setup: NodePath_context.setup, 245 setKey: NodePath_context.setKey 246 }); 244 247 } 245 248 { 246 249 NodePath_Final.prototype._guessExecutionStatusRelativeToDifferentFunctions = NodePath_introspection._guessExecutionStatusRelativeTo; 247 }248 {249 250 NodePath_Final.prototype._guessExecutionStatusRelativeToDifferentFunctions = NodePath_introspection._guessExecutionStatusRelativeTo; 250 251 Object.assign(NodePath_Final.prototype, {
Note:
See TracChangeset
for help on using the changeset viewer.