| 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 7765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7776 } | 7776 } |
| 7777 | 7777 |
| 7778 /** | 7778 /** |
| 7779 * Return the expression evaluated to produce the iterator. | 7779 * Return the expression evaluated to produce the iterator. |
| 7780 * | 7780 * |
| 7781 * @return the expression evaluated to produce the iterator | 7781 * @return the expression evaluated to produce the iterator |
| 7782 */ | 7782 */ |
| 7783 Expression get iterable => _iterable; | 7783 Expression get iterable => _iterable; |
| 7784 | 7784 |
| 7785 /** | 7785 /** |
| 7786 * Return the expression evaluated to produce the iterator. |
| 7787 * |
| 7788 * Deprecated, use [iterable] instead. |
| 7789 */ |
| 7790 @deprecated |
| 7791 Expression get iterator => iterable; |
| 7792 |
| 7793 /** |
| 7786 * Set the expression evaluated to produce the iterator to the given expressio
n. | 7794 * Set the expression evaluated to produce the iterator to the given expressio
n. |
| 7787 * | 7795 * |
| 7788 * @param expression the expression evaluated to produce the iterator | 7796 * @param expression the expression evaluated to produce the iterator |
| 7789 */ | 7797 */ |
| 7790 void set iterable(Expression expression) { | 7798 void set iterable(Expression expression) { |
| 7791 _iterable = becomeParentOf(expression); | 7799 _iterable = becomeParentOf(expression); |
| 7792 } | 7800 } |
| 7793 | 7801 |
| 7794 /** | 7802 /** |
| 7795 * Return the declaration of the loop variable, or `null` if the loop variable
is a simple | 7803 * Return the declaration of the loop variable, or `null` if the loop variable
is a simple |
| (...skipping 12870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20666 } | 20674 } |
| 20667 | 20675 |
| 20668 @override | 20676 @override |
| 20669 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); | 20677 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); |
| 20670 | 20678 |
| 20671 @override | 20679 @override |
| 20672 void visitChildren(AstVisitor visitor) { | 20680 void visitChildren(AstVisitor visitor) { |
| 20673 safelyVisitChild(_expression, visitor); | 20681 safelyVisitChild(_expression, visitor); |
| 20674 } | 20682 } |
| 20675 } | 20683 } |
| OLD | NEW |