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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/resolution/secret_tree_element.dart

Issue 15818003: - Inline iterator calls made for a "for in". (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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) 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 /** 5 /**
6 * Encapsulates the field [TreeElementMixin._element]. 6 * Encapsulates the field [TreeElementMixin._element].
7 * 7 *
8 * This library is an implementation detail of dart2js, and should not 8 * This library is an implementation detail of dart2js, and should not
9 * be imported except by resolution and tree node libraries, or for 9 * be imported except by resolution and tree node libraries, or for
10 * testing. 10 * testing.
11 * 11 *
12 * We have taken great care to ensure AST nodes can be cached between 12 * We have taken great care to ensure AST nodes can be cached between
13 * compiler instances. Part of this is requires that we always access 13 * compiler instances. Part of this requires that we always access
14 * resolution results through TreeElements. 14 * resolution results through TreeElements.
15 * 15 *
16 * So please, do not add additional elements to this library, and do 16 * So please, do not add additional elements to this library, and do
17 * not import it. 17 * not import it.
18 */ 18 */
19 library secret_tree_element; 19 library secret_tree_element;
20 20
21 /** 21 /**
22 * The superclass of all AST nodes. 22 * The superclass of all AST nodes.
23 */ 23 */
(...skipping 13 matching lines...) Expand all
37 return node._element; 37 return node._element;
38 } 38 }
39 39
40 /** 40 /**
41 * Do not call this method directly. Instead, use an instance of 41 * Do not call this method directly. Instead, use an instance of
42 * TreeElements. 42 * TreeElements.
43 */ 43 */
44 void setTreeElement(TreeElementMixin node, Object value) { 44 void setTreeElement(TreeElementMixin node, Object value) {
45 node._element = value; 45 node._element = value;
46 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698