When I was reading the code, I see `parent` is not used in `_getComments` function. so it make me confused why we delivery the `parent` in those functions. If I'm wrong, please correct me.
@babel/generator
Turns an AST into code.
See our website @babel/generator for more information or the issues associated with this package.
Install
Using npm:
npm install --save-dev @babel/generator
or using yarn:
yarn add @babel/generator --dev