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

Side by Side Diff: lib/compiler/implementation/world.dart

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « lib/compiler/implementation/warnings.dart ('k') | no next file » | 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 part of dart2js;
6
5 class World { 7 class World {
6 final Compiler compiler; 8 final Compiler compiler;
7 final Map<ClassElement, Set<ClassElement>> subtypes; 9 final Map<ClassElement, Set<ClassElement>> subtypes;
8 final Set<ClassElement> classesNeedingRti; 10 final Set<ClassElement> classesNeedingRti;
9 final Map<ClassElement, Set<ClassElement>> rtiDependencies; 11 final Map<ClassElement, Set<ClassElement>> rtiDependencies;
10 final FunctionSet userDefinedGetters; 12 final FunctionSet userDefinedGetters;
11 final FunctionSet userDefinedSetters; 13 final FunctionSet userDefinedSetters;
12 14
13 World(Compiler compiler) 15 World(Compiler compiler)
14 : subtypes = new Map<ClassElement, Set<ClassElement>>(), 16 : subtypes = new Map<ClassElement, Set<ClassElement>>(),
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 final SourceString name; 186 final SourceString name;
185 187
186 MemberSet(SourceString this.name) : elements = new Set<Element>(); 188 MemberSet(SourceString this.name) : elements = new Set<Element>();
187 189
188 void add(Element element) { 190 void add(Element element) {
189 elements.add(element); 191 elements.add(element);
190 } 192 }
191 193
192 bool get isEmpty => elements.isEmpty; 194 bool get isEmpty => elements.isEmpty;
193 } 195 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/warnings.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698