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

Side by Side Diff: lib/compiler/implementation/universe/function_set.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
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 universe;
6
5 // TODO(kasperl): This actually holds getters and setters just fine 7 // TODO(kasperl): This actually holds getters and setters just fine
6 // too and stricly they aren't functions. Maybe this needs a better 8 // too and stricly they aren't functions. Maybe this needs a better
7 // name -- something like ElementSet seems a bit too generic. 9 // name -- something like ElementSet seems a bit too generic.
8 class FunctionSet extends PartialTypeTree { 10 class FunctionSet extends PartialTypeTree {
9 11
10 FunctionSet(Compiler compiler) : super(compiler); 12 FunctionSet(Compiler compiler) : super(compiler);
11 13
12 FunctionSetNode newSpecializedNode(ClassElement type) 14 FunctionSetNode newSpecializedNode(ClassElement type)
13 => new FunctionSetNode(type); 15 => new FunctionSetNode(type);
14 16
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 131 }
130 132
131 class FunctionSetNode extends PartialTypeTreeNode { 133 class FunctionSetNode extends PartialTypeTreeNode {
132 134
133 final Map<SourceString, Element> membersByName; 135 final Map<SourceString, Element> membersByName;
134 136
135 FunctionSetNode(ClassElement type) : super(type), 137 FunctionSetNode(ClassElement type) : super(type),
136 membersByName = new Map<SourceString, Element>(); 138 membersByName = new Map<SourceString, Element>();
137 139
138 } 140 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698