Angular Modernizer
    Preparing search index...

    Factory for creating context objects. This is used internally by the orchestration layer.

    Index

    Constructors

    Methods

    • Create an analysis context.

      Type Parameters

      • TApi = any

      Parameters

      • params: {
            api: TApi;
            config?: Record<string, unknown>;
            options?: { deep?: boolean; maxDepth?: number };
            project: Project;
            sourceFile: SourceFile;
        }

      Returns AnalysisContext<TApi>

    • Create a transform context.

      Type Parameters

      • TApi = any

      Parameters

      • params: {
            api: TApi;
            config?: Record<string, unknown>;
            options?: { autoSave?: boolean; dryRun?: boolean; format?: boolean };
            project: Project;
            sourceFile: SourceFile;
        }

      Returns TransformContext<TApi>

    • Create a validation context.

      Type Parameters

      • TApi = any

      Parameters

      • params: {
            api: TApi;
            config?: Record<string, unknown>;
            options?: { failFast?: boolean };
            project: Project;
            sourceFile: SourceFile;
        }

      Returns ValidationContext<TApi>