| OLD | NEW |
| 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. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 */ | 58 */ |
| 59 Object getTreeElement(TreeElementMixin node) => node._element; | 59 Object getTreeElement(TreeElementMixin node) => node._element; |
| 60 | 60 |
| 61 /** | 61 /** |
| 62 * Do not call this method directly. Instead, use an instance of | 62 * Do not call this method directly. Instead, use an instance of |
| 63 * TreeElements. | 63 * TreeElements. |
| 64 */ | 64 */ |
| 65 void setTreeElement(TreeElementMixin node, Object value) { | 65 void setTreeElement(TreeElementMixin node, Object value) { |
| 66 node._element = value; | 66 node._element = value; |
| 67 } | 67 } |
| OLD | NEW |