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 12448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12459 node.rightHandSide = _newNode as Expression; | 12459 node.rightHandSide = _newNode as Expression; |
12460 return true; | 12460 return true; |
12461 } | 12461 } |
12462 return visitNode(node); | 12462 return visitNode(node); |
12463 } | 12463 } |
12464 | 12464 |
12465 @override | 12465 @override |
12466 bool visitAwaitExpression(AwaitExpression node) { | 12466 bool visitAwaitExpression(AwaitExpression node) { |
12467 if (identical(node.expression, _oldNode)) { | 12467 if (identical(node.expression, _oldNode)) { |
12468 node.expression = _newNode as Expression; | 12468 node.expression = _newNode as Expression; |
| 12469 return true; |
12469 } | 12470 } |
12470 return visitNode(node); | 12471 return visitNode(node); |
12471 } | 12472 } |
12472 | 12473 |
12473 @override | 12474 @override |
12474 bool visitBinaryExpression(BinaryExpression node) { | 12475 bool visitBinaryExpression(BinaryExpression node) { |
12475 if (identical(node.leftOperand, _oldNode)) { | 12476 if (identical(node.leftOperand, _oldNode)) { |
12476 node.leftOperand = _newNode as Expression; | 12477 node.leftOperand = _newNode as Expression; |
12477 return true; | 12478 return true; |
12478 } else if (identical(node.rightOperand, _oldNode)) { | 12479 } else if (identical(node.rightOperand, _oldNode)) { |
(...skipping 7578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20057 } | 20058 } |
20058 | 20059 |
20059 @override | 20060 @override |
20060 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); | 20061 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); |
20061 | 20062 |
20062 @override | 20063 @override |
20063 void visitChildren(AstVisitor visitor) { | 20064 void visitChildren(AstVisitor visitor) { |
20064 _safelyVisitChild(_expression, visitor); | 20065 _safelyVisitChild(_expression, visitor); |
20065 } | 20066 } |
20066 } | 20067 } |
OLD | NEW |