| OLD | NEW |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 1 // 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 |
| 2 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 3 | 7 |
| 4 library engine.ast; | 8 library engine.ast; |
| 5 | 9 |
| 6 import 'dart:collection'; | 10 import 'dart:collection'; |
| 7 import 'java_core.dart'; | 11 import 'java_core.dart'; |
| 8 import 'java_engine.dart'; | 12 import 'java_engine.dart'; |
| 9 import 'source.dart' show LineInfo; | 13 import 'source.dart' show LineInfo; |
| 10 import 'scanner.dart'; | 14 import 'scanner.dart'; |
| (...skipping 16360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16371 } | 16375 } |
| 16372 void operator[]=(int index, E node) { | 16376 void operator[]=(int index, E node) { |
| 16373 if (index < 0 || index >= _elements.length) { | 16377 if (index < 0 || index >= _elements.length) { |
| 16374 throw new RangeError("Index: ${index}, Size: ${_elements.length}"); | 16378 throw new RangeError("Index: ${index}, Size: ${_elements.length}"); |
| 16375 } | 16379 } |
| 16376 owner.becomeParentOf(node); | 16380 owner.becomeParentOf(node); |
| 16377 _elements[index] = node; | 16381 _elements[index] = node; |
| 16378 } | 16382 } |
| 16379 int get length => _elements.length; | 16383 int get length => _elements.length; |
| 16380 } | 16384 } |
| OLD | NEW |