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

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

Issue 1785633002: Make source information mandatory for building send-like node in CPS (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. 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 35d9583098e1237f66ada5e5e47a902828845a0d..fb02260119bd1eb948c180e9dbfb5da3d1211eb4 100644
--- a/pkg/compiler/lib/src/io/source_information.dart
+++ b/pkg/compiler/lib/src/io/source_information.dart
@@ -105,6 +105,42 @@ class SourceInformationBuilder {
/// Generate [SourceInformation] for the variable declaration inserted as
/// first statement of a function.
SourceInformation buildVariableDeclaration() => null;
+
+ /// Generate [SourceInformation] for an invocation of a foreign method.
+ SourceInformation buildForeignCode(Node node) => null;
+
+ /// Generate [SourceInformation] for a string interpolation of [node].
+ SourceInformation buildStringInterpolation(Node node) => null;
+
+ /// Generate [SourceInformation] for the for-in `iterator` access in [node].
+ SourceInformation buildForInIterator(Node node) => null;
+
+ /// Generate [SourceInformation] for the for-in `moveNext` call in [node].
+ SourceInformation buildForInMoveNext(Node node) => null;
+
+ /// Generate [SourceInformation] for the for-in `current` access in [node].
+ SourceInformation buildForInCurrent(Node node) => null;
+
+ /// Generate [SourceInformation] for the for-in variable assignment in [node].
+ SourceInformation buildForInSet(Node node) => null;
+
+ /// Generate [SourceInformation] for the operator `[]` access in [node].
+ SourceInformation buildIndex(Node node) => null;
+
+ /// Generate [SourceInformation] for the operator `[]=` assignment in [node].
+ SourceInformation buildIndexSet(Node node) => null;
+
+ /// Generate [SourceInformation] for the binary operation in [node].
+ SourceInformation buildBinary(Node node) => null;
+
+ /// Generate [SourceInformation] for the unary operator in [node].
+ SourceInformation buildCatch(Node node) => null;
+
+ /// Generate [SourceInformation] for the is-test in [node].
+ SourceInformation buildIs(Node node) => null;
+
+ /// Generate [SourceInformation] for the as-cast in [node].
+ SourceInformation buildAs(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