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

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

Issue 1250633002: Add operators test to source_mapping_test. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Cleanup Created 5 years, 5 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 09d1ca9304bd557672902719a84183d6de507a5e..7acf71922a49973c1e3b2a6c81d28ce8342275c6 100644
--- a/pkg/compiler/lib/src/io/source_information.dart
+++ b/pkg/compiler/lib/src/io/source_information.dart
@@ -74,13 +74,13 @@ class SourceInformationBuilder {
/// Generate [SourceInformation] for the loop [node].
SourceInformation buildLoop(Node node) => null;
- /// Generate [SourceInformation] for the read access in [node].
+ /// Generate [SourceInformation] for a read access like `a.b` where in
+ /// [receiver] points to the left-most part of the access, `a` in the example,
+ /// and [property] points to the 'name' of accessed property, `b` in the
+ /// example.
SourceInformation buildGet(Node node) => null;
- /// Generate [SourceInformation] for an invocation like `a.b()` where
- /// [receiver] points to the left-most part of the invocation, `a` in the
- /// example, and [call] points the 'name' of the call, `b` or `()` depending
- /// on whether `b` is a method or a field/getter.
+ /// Generate [SourceInformation] for the read access in [node].
SourceInformation buildCall(Node receiver, Node call) => null;
/// Generate [SourceInformation] for the if statement in [node].

Powered by Google App Engine
This is Rietveld 408576698