Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/@babel/traverse/lib/path/index.js

    rd565449 r0c6b92a  
    1919var NodePath_conversion = require("./conversion.js");
    2020var NodePath_introspection = require("./introspection.js");
    21 var NodePath_context = require("./context.js");
     21var _context = require("./context.js");
     22var NodePath_context = _context;
    2223var NodePath_removal = require("./removal.js");
    2324var NodePath_modification = require("./modification.js");
     
    9091      if (targetNode) paths.set(targetNode, path);
    9192    }
    92     path.setup(parentPath, container, listKey, key);
     93    _context.setup.call(path, parentPath, container, listKey, key);
    9394    return path;
    9495  }
     
    182183  ensureFunctionName: NodePath_conversion.ensureFunctionName,
    183184  matchesPattern: NodePath_introspection.matchesPattern,
    184   has: NodePath_introspection.has,
    185185  isStatic: NodePath_introspection.isStatic,
    186   is: NodePath_introspection.is,
    187   isnt: NodePath_introspection.isnt,
    188   equals: NodePath_introspection.equals,
    189186  isNodeType: NodePath_introspection.isNodeType,
    190187  canHaveVariableDeclarationOrExpression: NodePath_introspection.canHaveVariableDeclarationOrExpression,
     
    199196  isConstantExpression: NodePath_introspection.isConstantExpression,
    200197  isInStrictMode: NodePath_introspection.isInStrictMode,
    201   call: NodePath_context.call,
    202198  isDenylisted: NodePath_context.isDenylisted,
    203   isBlacklisted: NodePath_context.isBlacklisted,
    204199  visit: NodePath_context.visit,
    205200  skip: NodePath_context.skip,
    206201  skipKey: NodePath_context.skipKey,
    207202  stop: NodePath_context.stop,
    208   setScope: NodePath_context.setScope,
    209203  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,
    215204  requeue: NodePath_context.requeue,
    216205  requeueComputedKeyAndDecorators: NodePath_context.requeueComputedKeyAndDecorators,
     
    218207  insertBefore: NodePath_modification.insertBefore,
    219208  insertAfter: NodePath_modification.insertAfter,
    220   updateSiblingKeys: NodePath_modification.updateSiblingKeys,
    221209  unshiftContainer: NodePath_modification.unshiftContainer,
    222210  pushContainer: NodePath_modification.pushContainer,
    223   hoist: NodePath_modification.hoist,
    224211  getOpposite: NodePath_family.getOpposite,
    225212  getCompletionRecords: NodePath_family.getCompletionRecords,
     
    242229{
    243230  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  });
    244247}
    245248{
    246249  NodePath_Final.prototype._guessExecutionStatusRelativeToDifferentFunctions = NodePath_introspection._guessExecutionStatusRelativeTo;
    247 }
    248 {
    249250  NodePath_Final.prototype._guessExecutionStatusRelativeToDifferentFunctions = NodePath_introspection._guessExecutionStatusRelativeTo;
    250251  Object.assign(NodePath_Final.prototype, {
Note: See TracChangeset for help on using the changeset viewer.