handleComments

fun handleComments(file: File, translationUnit: TranslationUnitDeclaration)

Extracts comments from the file with a regular expression and calls a best effort approach function that matches them to the closes ast node in the cpg.

Parameters

file

The source of comments

translationUnit

the ast root node which children get the comments associated to