| 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 2334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2345 SimpleIdentifier get name => _name; | 2345 SimpleIdentifier get name => _name; |
| 2346 | 2346 |
| 2347 /** | 2347 /** |
| 2348 * Return the with clause for the class, or `null` if the class does not have
a with clause. | 2348 * Return the with clause for the class, or `null` if the class does not have
a with clause. |
| 2349 * | 2349 * |
| 2350 * @return the with clause for the class | 2350 * @return the with clause for the class |
| 2351 */ | 2351 */ |
| 2352 WithClause get withClause => _withClause; | 2352 WithClause get withClause => _withClause; |
| 2353 | 2353 |
| 2354 /** | 2354 /** |
| 2355 * Return `true` if this class is declared to be an abstract class. |
| 2356 * |
| 2357 * @return `true` if this class is declared to be an abstract class |
| 2358 */ |
| 2359 bool get isAbstract => abstractKeyword != null; |
| 2360 |
| 2361 /** |
| 2355 * Set the extends clause for this class to the given clause. | 2362 * Set the extends clause for this class to the given clause. |
| 2356 * | 2363 * |
| 2357 * @param extendsClause the extends clause for this class | 2364 * @param extendsClause the extends clause for this class |
| 2358 */ | 2365 */ |
| 2359 void set extendsClause(ExtendsClause extendsClause) { | 2366 void set extendsClause(ExtendsClause extendsClause) { |
| 2360 this._extendsClause = becomeParentOf(extendsClause); | 2367 this._extendsClause = becomeParentOf(extendsClause); |
| 2361 } | 2368 } |
| 2362 | 2369 |
| 2363 /** | 2370 /** |
| 2364 * Set the implements clause for the class to the given clause. | 2371 * Set the implements clause for the class to the given clause. |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2530 TypeParameterList get typeParameters => _typeParameters; | 2537 TypeParameterList get typeParameters => _typeParameters; |
| 2531 | 2538 |
| 2532 /** | 2539 /** |
| 2533 * Return the with clause for this class. | 2540 * Return the with clause for this class. |
| 2534 * | 2541 * |
| 2535 * @return the with clause for this class | 2542 * @return the with clause for this class |
| 2536 */ | 2543 */ |
| 2537 WithClause get withClause => _withClause; | 2544 WithClause get withClause => _withClause; |
| 2538 | 2545 |
| 2539 /** | 2546 /** |
| 2547 * Return `true` if this class is declared to be an abstract class. |
| 2548 * |
| 2549 * @return `true` if this class is declared to be an abstract class |
| 2550 */ |
| 2551 bool get isAbstract => abstractKeyword != null; |
| 2552 |
| 2553 /** |
| 2540 * Set the implements clause for this class to the given implements clause. | 2554 * Set the implements clause for this class to the given implements clause. |
| 2541 * | 2555 * |
| 2542 * @param implementsClause the implements clause for this class | 2556 * @param implementsClause the implements clause for this class |
| 2543 */ | 2557 */ |
| 2544 void set implementsClause(ImplementsClause implementsClause) { | 2558 void set implementsClause(ImplementsClause implementsClause) { |
| 2545 this._implementsClause = becomeParentOf(implementsClause); | 2559 this._implementsClause = becomeParentOf(implementsClause); |
| 2546 } | 2560 } |
| 2547 | 2561 |
| 2548 /** | 2562 /** |
| 2549 * Set the name of the class being declared to the given identifier. | 2563 * Set the name of the class being declared to the given identifier. |
| (...skipping 15082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17632 _elements[index] = node; | 17646 _elements[index] = node; |
| 17633 } | 17647 } |
| 17634 void clear() { | 17648 void clear() { |
| 17635 _elements = <E> []; | 17649 _elements = <E> []; |
| 17636 } | 17650 } |
| 17637 int get length => _elements.length; | 17651 int get length => _elements.length; |
| 17638 void set length(int value) { | 17652 void set length(int value) { |
| 17639 throw new UnsupportedError("Cannot resize NodeList."); | 17653 throw new UnsupportedError("Cannot resize NodeList."); |
| 17640 } | 17654 } |
| 17641 } | 17655 } |
| OLD | NEW |