| 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.parser; | 8 library engine.parser; |
| 9 | 9 |
| 10 import "dart:math" as math; | 10 import "dart:math" as math; |
| (...skipping 9965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9976 _isEqualTokens(node.propertyKeyword, toNode.propertyKeyword), | 9976 _isEqualTokens(node.propertyKeyword, toNode.propertyKeyword), |
| 9977 _isEqualNodes(node.name, toNode.name), | 9977 _isEqualNodes(node.name, toNode.name), |
| 9978 _isEqualNodes(node.parameters, toNode.parameters), | 9978 _isEqualNodes(node.parameters, toNode.parameters), |
| 9979 _isEqualNodes(node.body, toNode.body)); | 9979 _isEqualNodes(node.body, toNode.body)); |
| 9980 } | 9980 } |
| 9981 | 9981 |
| 9982 @override | 9982 @override |
| 9983 bool visitMethodInvocation(MethodInvocation node) { | 9983 bool visitMethodInvocation(MethodInvocation node) { |
| 9984 MethodInvocation toNode = this._toNode as MethodInvocation; | 9984 MethodInvocation toNode = this._toNode as MethodInvocation; |
| 9985 if (_and(_isEqualNodes(node.target, toNode.target), | 9985 if (_and(_isEqualNodes(node.target, toNode.target), |
| 9986 _isEqualTokens(node.period, toNode.period), | 9986 _isEqualTokens(node.operator, toNode.operator), |
| 9987 _isEqualNodes(node.methodName, toNode.methodName), | 9987 _isEqualNodes(node.methodName, toNode.methodName), |
| 9988 _isEqualNodes(node.argumentList, toNode.argumentList))) { | 9988 _isEqualNodes(node.argumentList, toNode.argumentList))) { |
| 9989 toNode.propagatedType = node.propagatedType; | 9989 toNode.propagatedType = node.propagatedType; |
| 9990 toNode.staticType = node.staticType; | 9990 toNode.staticType = node.staticType; |
| 9991 return true; | 9991 return true; |
| 9992 } | 9992 } |
| 9993 return false; | 9993 return false; |
| 9994 } | 9994 } |
| 9995 | 9995 |
| 9996 @override | 9996 @override |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10537 } | 10537 } |
| 10538 | 10538 |
| 10539 /** | 10539 /** |
| 10540 * Copy resolution data from the [fromNode] to the [toNode]. | 10540 * Copy resolution data from the [fromNode] to the [toNode]. |
| 10541 */ | 10541 */ |
| 10542 static void copyResolutionData(AstNode fromNode, AstNode toNode) { | 10542 static void copyResolutionData(AstNode fromNode, AstNode toNode) { |
| 10543 ResolutionCopier copier = new ResolutionCopier(); | 10543 ResolutionCopier copier = new ResolutionCopier(); |
| 10544 copier._isEqualNodes(fromNode, toNode); | 10544 copier._isEqualNodes(fromNode, toNode); |
| 10545 } | 10545 } |
| 10546 } | 10546 } |
| OLD | NEW |