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

Unified Diff: pkg/compiler/lib/src/common_elements.dart

Issue 2854013002: Make JavaScriptBackend.processAnnotations element-model agnostic (Closed)
Patch Set: Fix and check declaration invariant. Created 3 years, 8 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common_elements.dart
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart
index 1e238d0b009c77a03ee77eb06a80fa891caa4df2..3f86e6cd5cf4a13a5848715632d1970f8663eb4f 100644
--- a/pkg/compiler/lib/src/common_elements.dart
+++ b/pkg/compiler/lib/src/common_elements.dart
@@ -6,11 +6,12 @@
library dart2js.type_system;
import 'common/names.dart' show Identifiers, Uris;
-import 'js_backend/constant_system_javascript.dart';
+import 'constants/values.dart';
import 'elements/types.dart';
import 'elements/elements.dart' show PublicName;
import 'elements/entities.dart';
import 'js_backend/backend.dart' show JavaScriptBackend;
+import 'js_backend/constant_system_javascript.dart';
import 'universe/call_structure.dart' show CallStructure;
import 'universe/selector.dart' show Selector;
import 'universe/call_structure.dart';
@@ -1259,4 +1260,7 @@ abstract class ElementEnvironment {
/// Returns `true` if [member] a the synthetic getter `loadLibrary` injected
/// on deferred libraries.
bool isDeferredLoadLibraryGetter(MemberEntity member);
+
+ /// Returns the metadata constants declared on [member].
+ Iterable<ConstantValue> getMemberMetadata(MemberEntity member);
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698