nl_tokens: Remove node comments
pl_tokens: function removeComments ( t , path , type ) { let commentPaths = <mask> . get ( type ) ; if ( ! commentPaths || ! commentPaths . length ) { return ; } let isLeadingType = type === LEADING_COMMENT_TYPE ; if ( isLeadingType ) { let parentPath = path . parentPath ; let isParentProgram = parentPath && t . isProgram ( parentPath . node ) ; // move leading comments to program if ( isParentProgram ) { parentPath . addComments ( 'leading' , commentPaths . map ( item => item . node ) ) ; } } commentPaths . forEach ( item => item . remove ( ) ) ; }