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

Side by Side Diff: frog/member_set.dart

Issue 9621001: Fix private member name mangling. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve private names. Created 8 years, 9 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
« no previous file with comments | « frog/library.dart ('k') | frog/minfrog » ('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 class MemberSet { 5 class MemberSet {
6 final String name; 6 final String name;
7 final List<Member> members; 7 final List<Member> members;
8 final String jsname;
9 final bool isVar; 8 final bool isVar;
9 String jsname;
10 bool jsnameUnique = false;
10 11
11 bool _treatAsField; 12 bool _treatAsField;
12 Type _returnTypeForGet; 13 Type _returnTypeForGet;
13 bool _preparedForSet = false; 14 bool _preparedForSet = false;
14 List<InvokeKey> _invokes; 15 List<InvokeKey> _invokes;
15 16
16 MemberSet(Member member, [bool isVar=false]): 17 MemberSet(Member member, [bool isVar=false]):
17 name = member.name, members = [member], jsname = member.jsname, 18 name = member.name, members = [member], jsname = member.jsname,
18 isVar = isVar; 19 isVar = isVar;
19 20
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 returnType = world.varType; 291 returnType = world.varType;
291 } 292 }
292 } 293 }
293 } 294 }
294 if (returnType == null) { 295 if (returnType == null) {
295 // TODO(jimhug): Warning here for no match anywhere in the world? 296 // TODO(jimhug): Warning here for no match anywhere in the world?
296 returnType = world.varType; 297 returnType = world.varType;
297 } 298 }
298 } 299 }
299 } 300 }
OLDNEW
« no previous file with comments | « frog/library.dart ('k') | frog/minfrog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698