anchor.diff:    final DeclaredVariables declaredVariables = new DeclaredVariables();
   
     /**
  -   * If `true`, then analysis should be done without using tasks model.
  -   */
  -  final bool analyzeWithoutTasks;
  -
  -  /**
      * Information about the context root being analyzed by this driver.
      */
     final ContextRoot contextRoot;
  
positive.code:       try {
          LibraryContext libraryContext = _createLibraryContext(library);
          try {
            CompilationUnit resolvedUnit;
            List<int> bytes;
            if (analyzeWithoutTasks) {
              LibraryAnalyzer analyzer = new LibraryAnalyzer(
                  analysisOptions,
                  declaredVariables,
                  sourceFactory,
                  _fileTracker.fsState,
                  libraryContext.store,
                  library);
              Map<FileState, UnitAnalysisResult> results = analyzer.analyze();
              for (FileState unitFile in results.keys) {
                UnitAnalysisResult unitResult = results[unitFile];
                List<int> unitBytes =
                    _serializeResolvedUnit(unitResult.unit, unitResult.errors);
                String unitSignature =
                    _getResolvedUnitSignature(library, unitFile);
                String unitKey = _getResolvedUnitKey(unitSignature);
                _byteStore.put(unitKey, unitBytes);
                if (unitFile == file) {
                  bytes = unitBytes;
                  resolvedUnit = unitResult.unit;
                }
              }
            } else {
              ResolutionResult resolutionResult =
                  libraryContext.resolveUnit(library.source, file.source);
              resolvedUnit = resolutionResult.resolvedUnit;
              List<AnalysisError> errors = resolutionResult.errors;
  
              // Store the result into the cache.
              bytes = _serializeResolvedUnit(resolvedUnit, errors);
              _byteStore.put(key, bytes);
            }
  
            // Return the result, full or partial.
  
negative.code:       this.contextRoot,
        SourceFactory sourceFactory,
        this._analysisOptions,
        {PackageBundle sdkBundle})
        : _logger = logger,
          _sourceFactory = sourceFactory.clone(),
          _sdkBundle = sdkBundle {
  