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

Side by Side Diff: pkg/compiler/lib/src/compiler.dart

Issue 1335983004: Add ImportElement and ExportElement (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/constants/expressions.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.compiler_base; 5 library dart2js.compiler_base;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 EventSink, 8 EventSink,
9 Future; 9 Future;
10 10
(...skipping 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1492 * [:null:] if [resolvedUri] is loaded as the main library. The 1492 * [:null:] if [resolvedUri] is loaded as the main library. The
1493 * [importingLibrary] is used to grant access to internal libraries from 1493 * [importingLibrary] is used to grant access to internal libraries from
1494 * platform libraries and patch libraries. 1494 * platform libraries and patch libraries.
1495 * 1495 *
1496 * If the [resolvedUri] is not accessible from [importingLibrary], this method 1496 * If the [resolvedUri] is not accessible from [importingLibrary], this method
1497 * is responsible for reporting errors. 1497 * is responsible for reporting errors.
1498 * 1498 *
1499 * See [LibraryLoader] for terminology on URIs. 1499 * See [LibraryLoader] for terminology on URIs.
1500 */ 1500 */
1501 Uri translateResolvedUri(LibraryElement importingLibrary, 1501 Uri translateResolvedUri(LibraryElement importingLibrary,
1502 Uri resolvedUri, Node node) { 1502 Uri resolvedUri, Spannable spannable) {
1503 unimplemented(importingLibrary, 'Compiler.translateResolvedUri'); 1503 unimplemented(importingLibrary, 'Compiler.translateResolvedUri');
1504 return null; 1504 return null;
1505 } 1505 }
1506 1506
1507 /** 1507 /**
1508 * Reads the script specified by the [readableUri]. 1508 * Reads the script specified by the [readableUri].
1509 * 1509 *
1510 * See [LibraryLoader] for terminology on URIs. 1510 * See [LibraryLoader] for terminology on URIs.
1511 */ 1511 */
1512 Future<Script> readScript(Spannable node, Uri readableUri) { 1512 Future<Script> readScript(Spannable node, Uri readableUri) {
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 1792
1793 @override 1793 @override
1794 InterfaceType streamType([DartType elementType]) { 1794 InterfaceType streamType([DartType elementType]) {
1795 InterfaceType type = streamClass.computeType(compiler); 1795 InterfaceType type = streamClass.computeType(compiler);
1796 if (elementType == null) { 1796 if (elementType == null) {
1797 return streamClass.rawType; 1797 return streamClass.rawType;
1798 } 1798 }
1799 return type.createInstantiation([elementType]); 1799 return type.createInstantiation([elementType]);
1800 } 1800 }
1801 } 1801 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/constants/expressions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698