Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: pkg/compiler/lib/src/io/source_information.dart

Issue 1779153002: Make source information on conditions mandatory in CPS (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/io/source_information.dart
diff --git a/pkg/compiler/lib/src/io/source_information.dart b/pkg/compiler/lib/src/io/source_information.dart
index fb02260119bd1eb948c180e9dbfb5da3d1211eb4..8a24759a83ef141586450faed31da21325f71929 100644
--- a/pkg/compiler/lib/src/io/source_information.dart
+++ b/pkg/compiler/lib/src/io/source_information.dart
@@ -141,6 +141,12 @@ class SourceInformationBuilder {
/// Generate [SourceInformation] for the as-cast in [node].
SourceInformation buildAs(Node node) => null;
+
+ /// Generate [SourceInformation] for the switch statement [node].
+ SourceInformation buildSwitch(Node node) => null;
+
+ /// Generate [SourceInformation] for the switch case in [node].
+ SourceInformation buildSwitchCase(Node node) => null;
}
/// A location in a source file.
« no previous file with comments | « pkg/compiler/lib/src/io/position_information.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698