Closed dennwc closed 5 years ago
As discussed in https://github.com/src-d/ml-backlog/issues/65 (non-public link), we should implement a helper for getting a list of import paths in the UAST.
PR implements a uast.AllImportPaths function that does all required checks and extracts a single deduplicated and sorted list of import paths.
uast.AllImportPaths
The plan is to expose this functionality in libuast and then the clients.
libuast
Signed-off-by: Denys Smirnov denys@sourced.tech
This change is
As discussed in https://github.com/src-d/ml-backlog/issues/65 (non-public link), we should implement a helper for getting a list of import paths in the UAST.
PR implements a
uast.AllImportPaths
function that does all required checks and extracts a single deduplicated and sorted list of import paths.The plan is to expose this functionality in
libuast
and then the clients.Signed-off-by: Denys Smirnov denys@sourced.tech
This change is