@eagleoutice/flowr - v2.13.14
    Preparing search index...

    This is the analyzer file context to be modified by all plugins that affect the files. If you are interested in inspecting these files, refer to ReadOnlyFlowrAnalyzerFilesContext. Plugins, however, can use this context directly to modify files.

    Hierarchy (View Summary)

    Implements

    Index

    The linked full project context, allowing plugins to modify and access it.

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

    name: "flowr-analyzer-files-context" = 'flowr-analyzer-files-context'

    A human-readable name of the context. Try to make it unique to avoid confusion in the logs.

    The plugins registered for this context. These build the foundation for applyPlugins.

    • Check if a file exists at the given path, optionally ignoring case.

      Parameters

      • p: string
      • ignoreCase: boolean

        Whether to ignore case when checking for the file.

        Please note that this method checks the file system based on the configuration (see FlowrConfig.project.resolveUnknownPathsOnDisk).

      Returns string | undefined

      The actual path of the file if it exists, otherwise undefined.

    • The total number of files known to this context (every file added via addFile, both disk-backed and inline).

      This is unrelated to getFilesByRole: A file counted here may have no role, one role, or several (summing getFilesByRole(role).length over all roles can both over-count (multi-role files) and under-count (roleless files) relative to this method).

      Files that were merely considered during dataflow analysis (see consideredFilesList) but never actually added to the context are not included.

      Returns number

      The number of files currently held by this context.