I know that Base.names
can be used to extract most of the names that are accessible from inside a Module m
, but I just realized that even if one calls it names(m;all=true, imported=true)
, the list of returned names does not include the ones that are exposed inside m
because of using other packages.
As an example suppose you have the following simple module definition
module TESTMODULE
using BenchmarkTools
end
calling names(TESTMODULE;all=true, imported=true)
does not return any of the names exported by BenchmarkTools
.
Is there a way to extract all of the variables/functions that are accessible from TESTMODULE
above?