forked from LibertyGlobal/flutter-tvos-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Macro. Prepare for reporting resolved macro generated files. Step Lib…
…ertyGlobal#1. Change-Id: Ib84e1aeef508cbfdd5b02d5c4c13420c5aa4daff Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/344421 Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
- Loading branch information
Showing
6 changed files
with
416 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file | ||
// for details. All rights reserved. Use of this source code is governed by a | ||
// BSD-style license that can be found in the LICENSE file. | ||
|
||
import 'package:analyzer/src/dart/analysis/driver.dart'; | ||
import 'package:analyzer/src/dart/analysis/file_state.dart'; | ||
|
||
/// An event that happened inside the [AnalysisDriver]. | ||
sealed class AnalysisDriverEvent {} | ||
|
||
final class ComputeAnalysis extends AnalysisDriverEvent { | ||
final FileState file; | ||
final LibraryFileKind library; | ||
|
||
ComputeAnalysis({ | ||
required this.file, | ||
required this.library, | ||
}); | ||
} | ||
|
||
final class ComputeResolvedLibrary extends AnalysisDriverEvent { | ||
final LibraryFileKind library; | ||
|
||
ComputeResolvedLibrary({ | ||
required this.library, | ||
}); | ||
} |
Oops, something went wrong.