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

Side by Side Diff: dart/sdk/lib/_internal/lib/js_mirrors.dart

Issue 23606010: Fix various parser bugs related to modifiers of top-level and class members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 dart._js_mirrors; 5 library dart._js_mirrors;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection' show UnmodifiableListView; 8 import 'dart:collection' show UnmodifiableListView;
9 import 'dart:mirrors'; 9 import 'dart:mirrors';
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 new JsLibraryMirror( 97 new JsLibraryMirror(
98 s(name), uri, classes, functions, metadata, fields, isRoot)); 98 s(name), uri, classes, functions, metadata, fields, isRoot));
99 } 99 }
100 return result; 100 return result;
101 } 101 }
102 } 102 }
103 103
104 abstract class JsMirror implements Mirror { 104 abstract class JsMirror implements Mirror {
105 const JsMirror(); 105 const JsMirror();
106 106
107 abstract String get _prettyName; 107 String get _prettyName;
108 108
109 String toString() => _prettyName; 109 String toString() => _prettyName;
110 110
111 // TODO(ahe): Remove this method from the API. 111 // TODO(ahe): Remove this method from the API.
112 MirrorSystem get mirrors => currentJsMirrorSystem; 112 MirrorSystem get mirrors => currentJsMirrorSystem;
113 113
114 _getField(JsMirror receiver) { 114 _getField(JsMirror receiver) {
115 throw new UnimplementedError(); 115 throw new UnimplementedError();
116 } 116 }
117 117
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 void operator []=(K key, V value) => _throw(); 1519 void operator []=(K key, V value) => _throw();
1520 1520
1521 V putIfAbsent(K key, V ifAbsent()) { _throw(); } 1521 V putIfAbsent(K key, V ifAbsent()) { _throw(); }
1522 1522
1523 void addAll(Map<K, V> other) => _throw(); 1523 void addAll(Map<K, V> other) => _throw();
1524 1524
1525 V remove(K key) { _throw(); } 1525 V remove(K key) { _throw(); }
1526 1526
1527 void clear() => _throw(); 1527 void clear() => _throw();
1528 } 1528 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/warnings.dart ('k') | dart/tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698