Index: pkg/compiler/lib/src/backend_strategy.dart |
diff --git a/pkg/compiler/lib/src/backend_strategy.dart b/pkg/compiler/lib/src/backend_strategy.dart |
index d7597039ad3af3535b06b05ab186f08dd1174f00..432926636240ad592762e99f3402ccbcb79b71ed 100644 |
--- a/pkg/compiler/lib/src/backend_strategy.dart |
+++ b/pkg/compiler/lib/src/backend_strategy.dart |
@@ -5,8 +5,10 @@ |
library dart2js.backend_strategy; |
import 'closure.dart' show ClosureConversionTask; |
+import 'common.dart'; |
import 'common/tasks.dart'; |
import 'enqueue.dart'; |
+import 'elements/entities.dart'; |
import 'io/source_information.dart'; |
import 'js_backend/js_backend.dart'; |
import 'js_backend/native_data.dart'; |
@@ -43,4 +45,7 @@ abstract class BackendStrategy { |
/// Returns the [SourceInformationStrategy] use for the element model. |
SourceInformationStrategy get sourceInformationStrategy; |
+ |
+ /// Creates a [SourceSpan] from [spannable] in context of [currentElement]. |
+ SourceSpan spanFromSpannable(Spannable spannable, Entity currentElement); |
} |