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

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

Issue 2220993005: Split js_backend into multiple libraries (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 part of js_backend; 5 part of js_backend.namer;
6 6
7 abstract class _NamerName extends jsAst.Name { 7 abstract class _NamerName extends jsAst.Name {
8 int get _kind; 8 int get _kind;
9 _NamerName get _target => this; 9 _NamerName get _target => this;
10 10
11 String toString() { 11 String toString() {
12 if (DEBUG_MODE) { 12 if (DEBUG_MODE) {
13 return 'Name($key)'; 13 return 'Name($key)';
14 } 14 }
15 throw new UnsupportedError("Cannot convert a name to a string"); 15 throw new UnsupportedError("Cannot convert a name to a string");
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 @override 212 @override
213 int compareTo(_NamerName other) => _target.compareTo(other); 213 int compareTo(_NamerName other) => _target.compareTo(other);
214 214
215 @override 215 @override
216 bool operator ==(other) => _target == other; 216 bool operator ==(other) => _target == other;
217 217
218 @override 218 @override
219 int get hashCode => _target.hashCode; 219 int get hashCode => _target.hashCode;
220 } 220 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/namer.dart ('k') | pkg/compiler/lib/src/js_backend/no_such_method_registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698