| 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 4263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4274 * expression ::= | 4274 * expression ::= |
| 4275 * [AssignmentExpression] | 4275 * [AssignmentExpression] |
| 4276 * | [ConditionalExpression] cascadeSection* | 4276 * | [ConditionalExpression] cascadeSection* |
| 4277 * | [ThrowExpression] | 4277 * | [ThrowExpression] |
| 4278 * </pre> | 4278 * </pre> |
| 4279 * | 4279 * |
| 4280 * @coverage dart.engine.ast | 4280 * @coverage dart.engine.ast |
| 4281 */ | 4281 */ |
| 4282 abstract class Expression extends ASTNode { | 4282 abstract class Expression extends ASTNode { |
| 4283 /** | 4283 /** |
| 4284 * An empty array of expressions. |
| 4285 */ |
| 4286 static List<Expression> EMPTY_ARRAY = new List<Expression>(0); |
| 4287 |
| 4288 /** |
| 4284 * The static type of this expression, or `null` if the AST structure has not
been resolved. | 4289 * The static type of this expression, or `null` if the AST structure has not
been resolved. |
| 4285 */ | 4290 */ |
| 4286 Type2 staticType; | 4291 Type2 staticType; |
| 4287 | 4292 |
| 4288 /** | 4293 /** |
| 4289 * The propagated type of this expression, or `null` if type propagation has n
ot been | 4294 * The propagated type of this expression, or `null` if type propagation has n
ot been |
| 4290 * performed on the AST structure. | 4295 * performed on the AST structure. |
| 4291 */ | 4296 */ |
| 4292 Type2 propagatedType; | 4297 Type2 propagatedType; |
| 4293 | 4298 |
| (...skipping 12163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16457 } | 16462 } |
| 16458 void operator[]=(int index, E node) { | 16463 void operator[]=(int index, E node) { |
| 16459 if (index < 0 || index >= _elements.length) { | 16464 if (index < 0 || index >= _elements.length) { |
| 16460 throw new RangeError("Index: ${index}, Size: ${_elements.length}"); | 16465 throw new RangeError("Index: ${index}, Size: ${_elements.length}"); |
| 16461 } | 16466 } |
| 16462 owner.becomeParentOf(node); | 16467 owner.becomeParentOf(node); |
| 16463 _elements[index] = node; | 16468 _elements[index] = node; |
| 16464 } | 16469 } |
| 16465 int get length => _elements.length; | 16470 int get length => _elements.length; |
| 16466 } | 16471 } |
| OLD | NEW |