MCPcopy
hub / github.com/lebab/lebab / remove

Method remove

src/transform/class/PotentialMethod.js:78–84  ·  view source on GitHub ↗

* Removes original prototype assignment node from AST.

()

Source from the content-addressed store, hash-verified

76 * Removes original prototype assignment node from AST.
77 */
78 remove() {
79 multiReplaceStatement({
80 parent: this.parent,
81 node: this.fullNode,
82 replacements: [],
83 });
84 }
85
86 // To be overridden in subclasses
87 getBody() {

Callers 2

enterFunction · 0.80
transformMethod · 0.80

Calls 1

multiReplaceStatementFunction · 0.85

Tested by

no test coverage detected