MCPcopy
hub / github.com/rollup/rollup / deoptimizePath

Method deoptimizePath

src/ast/Entity.ts:15–15  ·  view source on GitHub ↗

* Reassign a given path of an object. * E.g., node.deoptimizePath(['x', 'y']) is called when something * is assigned to node.x.y. If the path is [UnknownKey], then the return * expression of this node is reassigned as well.

(path: ObjectPath)

Source from the content-addressed store, hash-verified

13 * expression of this node is reassigned as well.
14 */
15 deoptimizePath(path: ObjectPath): void;
16
17 hasEffectsOnInteractionAtPath(
18 path: ObjectPath,

Callers 15

includeAllExportsMethod · 0.65
deoptimizePathMethod · 0.65
deoptimizePathMethod · 0.65
includePathMethod · 0.65
deoptimizePathMethod · 0.65
deoptimizePathMethod · 0.65

Implementers 15

ExpressionEntitysrc/ast/nodes/shared/Expression.ts
LocalVariablesrc/ast/variables/LocalVariable.ts
ParameterVariablesrc/ast/variables/ParameterVariable.ts
NamespaceVariablesrc/ast/variables/NamespaceVariable.ts
ThisExpressionsrc/ast/nodes/ThisExpression.ts
SequenceExpressionsrc/ast/nodes/SequenceExpression.ts
ConditionalExpressionsrc/ast/nodes/ConditionalExpression.ts
PropertyDefinitionsrc/ast/nodes/PropertyDefinition.ts
ArrayPatternsrc/ast/nodes/ArrayPattern.ts
MemberExpressionsrc/ast/nodes/MemberExpression.ts
LogicalExpressionsrc/ast/nodes/LogicalExpression.ts
VariableDeclarationsrc/ast/nodes/VariableDeclaration.ts

Calls

no outgoing calls

Tested by

no test coverage detected