ReadonlyloadingThe loading order context provides access to the loading order of script files in the project.
ReadonlynameThe name of this context.
Get all files that have been considered during dataflow analysis.
Check if a file exists at the given path, optionally ignoring case.
The path to the file.
Whether to ignore case when checking for the file.
Please note that this method checks the file system based on the configuration (see FlowrConfigOptions.project.resolveUnknownPathsOnDisk).
The actual path of the file if it exists, otherwise undefined.
Get all requests that have been added to this context.
Check if the context has a file with the given path. Please note, that this may also check the file system, depending on the configuration (see FlowrConfigOptions.project.resolveUnknownPathsOnDisk).
The path to the file.
If you do not know the exact path or, e.g., casing of the file, use exists instead.
Until parsers support multiple request types from the virtual context system, we resolve their contents.
This is the read-only interface for the files context, which is used to manage all files known to the FlowrAnalyzer. It prevents you from modifying the available files, but allows you to inspect them (which is probably what you want when using the FlowrAnalyzer). If you are a FlowrAnalyzerProjectDiscoveryPlugin and want to modify the available files, you can use the FlowrAnalyzerFilesContext directly.