Readonly
depsThe dependencies context provides access to the identified dependencies and their versions.
Readonly
filesThe files context provides access to the files to be analyzed and their loading order.
Get a read-only version of this context. This is useful if you want to pass the context to a place where you do not want it to be modified or just to reduce the available methods.
this conducts all the step that can be done before the main analysis run
This summarizes the other context layers used by the FlowrAnalyzer. Have a look at the attributes and layers listed below (e.g., files and deps) to get an idea of the capabilities provided by this context. Besides these, this layer only orchestrates the different steps and layers, providing a collection of convenience methods alongside the resolvePreAnalysis method that conducts all the steps that can be done before the main analysis run. In general, you do not have to worry about these details, as the FlowrAnalyzerBuilder and FlowrAnalyzer take care of them.
To inspect, e.g., the loading order, you can do so via files.loadingOrder.getLoadingOrder. To get information on a specific library, use deps.getDependency. If you are just interested in inspecting the context, you can use ReadOnlyFlowrAnalyzerContext instead (e.g., via inspect).