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.

interface ReadOnlyFlowrAnalyzerFilesContext {
    getFilesByRole<Role extends SpecialFileRole>(
        role: Role,
    ): SpecialFiles[Role];
    loadingOrder: ReadOnlyFlowrAnalyzerLoadingOrderContext;
    name: string;
}

Implemented by

Properties

Methods

Properties

The loading order context provides access to the loading order of script files in the project.

name: string

The name of this context.

Methods