diff --git a/drift_dev/lib/src/analysis/backend.dart b/drift_dev/lib/src/analysis/backend.dart index 9662407d..8df3fe70 100644 --- a/drift_dev/lib/src/analysis/backend.dart +++ b/drift_dev/lib/src/analysis/backend.dart @@ -20,14 +20,14 @@ abstract class DriftBackend { } /// Resolves a Dart library by its uri. - /// + /// /// This should also be able to resolve SDK libraries. /// If no Dart library can be found under that uri, throws a /// [NotALibraryException]. Future readDart(Uri uri); /// Loads the resolved AST node defining the given [element]. - /// + /// /// Depending on how the analyzer is accessed, this may throw an exception if /// the resolved AST is not available. /// When the [element] does not have a syntactic representation in the AST, diff --git a/drift_dev/lib/src/analysis/driver/cache.dart b/drift_dev/lib/src/analysis/driver/cache.dart index b38b72b1..7f69241e 100644 --- a/drift_dev/lib/src/analysis/driver/cache.dart +++ b/drift_dev/lib/src/analysis/driver/cache.dart @@ -2,10 +2,9 @@ import '../results/element.dart'; import 'state.dart'; /// An in-memory cache of analysis results for drift elements. -/// +/// /// At the moment, the cache is not set up to handle changing files. class DriftAnalysisCache { - final Map> serializedElements = {}; final Map knownFiles = {}; final Map discoveredElements = {}; diff --git a/drift_dev/lib/src/analysis/driver/driver.dart b/drift_dev/lib/src/analysis/driver/driver.dart index d183c5a3..6d3efbd7 100644 --- a/drift_dev/lib/src/analysis/driver/driver.dart +++ b/drift_dev/lib/src/analysis/driver/driver.dart @@ -161,7 +161,7 @@ class DriftAnalysisDriver { } /// Runs the second analysis step (element analysis) on a file. - /// + /// /// The file, as well as all imports, should have undergone the first analysis /// step (discovery) at this point, so that the resolver is able to /// recognize dependencies between different elements. diff --git a/drift_dev/lib/src/analysis/preprocess_drift.dart b/drift_dev/lib/src/analysis/preprocess_drift.dart index 80878207..60165a9d 100644 --- a/drift_dev/lib/src/analysis/preprocess_drift.dart +++ b/drift_dev/lib/src/analysis/preprocess_drift.dart @@ -49,7 +49,7 @@ class DriftPreprocessorResult { } /// Processes `.drift` files to extract all embedded Dart snippets. -/// +/// /// To analyze drift files in the build system, we extract these snippets into /// a standalone Dart file so that we're able to analyze them with the resolvers /// provided by the build system.