Skip to content

Commit 5dc207e

Browse files
committed
remove unused method setKind
1 parent f204e05 commit 5dc207e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/ast.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -409,13 +409,6 @@ AST.prototype.prepare = function(kind, docs, parser) {
409409
result.stackUid = AST.stackUid;
410410
}
411411

412-
/**
413-
* Helper to change a node kind
414-
* @param {String} newKind
415-
*/
416-
result.setKind = function(newKind) {
417-
kind = newKind;
418-
};
419412
/**
420413
* Sets a list of trailing comments
421414
* @param {*} docs

0 commit comments

Comments
 (0)