| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.ast; | 8 library engine.ast; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| (...skipping 13609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13620 if (identical(node.expression, _oldNode)) { | 13620 if (identical(node.expression, _oldNode)) { |
| 13621 node.expression = _newNode as Expression; | 13621 node.expression = _newNode as Expression; |
| 13622 } | 13622 } |
| 13623 return visitNode(node); | 13623 return visitNode(node); |
| 13624 } | 13624 } |
| 13625 | 13625 |
| 13626 bool _replaceInList(NodeList list) { | 13626 bool _replaceInList(NodeList list) { |
| 13627 int count = list.length; | 13627 int count = list.length; |
| 13628 for (int i = 0; i < count; i++) { | 13628 for (int i = 0; i < count; i++) { |
| 13629 if (identical(_oldNode, list[i])) { | 13629 if (identical(_oldNode, list[i])) { |
| 13630 javaListSet(list, i, _newNode); | 13630 list[i] = _newNode; |
| 13631 return true; | 13631 return true; |
| 13632 } | 13632 } |
| 13633 } | 13633 } |
| 13634 return false; | 13634 return false; |
| 13635 } | 13635 } |
| 13636 } | 13636 } |
| 13637 | 13637 |
| 13638 /** | 13638 /** |
| 13639 * The abstract class `NormalFormalParameter` defines the behavior common to for
mal parameters | 13639 * The abstract class `NormalFormalParameter` defines the behavior common to for
mal parameters |
| 13640 * that are required (are not optional). | 13640 * that are required (are not optional). |
| (...skipping 6604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20245 _elements[index] = node; | 20245 _elements[index] = node; |
| 20246 } | 20246 } |
| 20247 void clear() { | 20247 void clear() { |
| 20248 _elements = <E> []; | 20248 _elements = <E> []; |
| 20249 } | 20249 } |
| 20250 int get length => _elements.length; | 20250 int get length => _elements.length; |
| 20251 void set length(int value) { | 20251 void set length(int value) { |
| 20252 throw new UnsupportedError("Cannot resize NodeList."); | 20252 throw new UnsupportedError("Cannot resize NodeList."); |
| 20253 } | 20253 } |
| 20254 } | 20254 } |
| OLD | NEW |