| 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 17953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17964 _writer.print(";"); | 17964 _writer.print(";"); |
| 17965 _visitNodeListWithSeparatorAndPrefix(" ", node.updaters, ", "); | 17965 _visitNodeListWithSeparatorAndPrefix(" ", node.updaters, ", "); |
| 17966 _writer.print(") "); | 17966 _writer.print(") "); |
| 17967 _visitNode(node.body); | 17967 _visitNode(node.body); |
| 17968 return null; | 17968 return null; |
| 17969 } | 17969 } |
| 17970 | 17970 |
| 17971 @override | 17971 @override |
| 17972 Object visitFunctionDeclaration(FunctionDeclaration node) { | 17972 Object visitFunctionDeclaration(FunctionDeclaration node) { |
| 17973 _visitNodeListWithSeparatorAndSuffix(node.metadata, " ", " "); | 17973 _visitNodeListWithSeparatorAndSuffix(node.metadata, " ", " "); |
| 17974 _visitTokenWithSuffix(node.externalKeyword, " "); |
| 17974 _visitNodeWithSuffix(node.returnType, " "); | 17975 _visitNodeWithSuffix(node.returnType, " "); |
| 17975 _visitTokenWithSuffix(node.propertyKeyword, " "); | 17976 _visitTokenWithSuffix(node.propertyKeyword, " "); |
| 17976 _visitNode(node.name); | 17977 _visitNode(node.name); |
| 17977 _visitNode(node.functionExpression); | 17978 _visitNode(node.functionExpression); |
| 17978 return null; | 17979 return null; |
| 17979 } | 17980 } |
| 17980 | 17981 |
| 17981 @override | 17982 @override |
| 17982 Object visitFunctionDeclarationStatement(FunctionDeclarationStatement node) { | 17983 Object visitFunctionDeclarationStatement(FunctionDeclarationStatement node) { |
| 17983 _visitNode(node.functionDeclaration); | 17984 _visitNode(node.functionDeclaration); |
| 17984 return null; | 17985 return null; |
| 17985 } | 17986 } |
| 17986 | 17987 |
| 17987 @override | 17988 @override |
| 17988 Object visitFunctionExpression(FunctionExpression node) { | 17989 Object visitFunctionExpression(FunctionExpression node) { |
| 17989 _visitNode(node.typeParameters); | 17990 _visitNode(node.typeParameters); |
| 17990 _visitNode(node.parameters); | 17991 _visitNode(node.parameters); |
| 17991 _writer.print(' '); | 17992 if (node.body is! EmptyFunctionBody) { |
| 17993 _writer.print(' '); |
| 17994 } |
| 17992 _visitNode(node.body); | 17995 _visitNode(node.body); |
| 17993 return null; | 17996 return null; |
| 17994 } | 17997 } |
| 17995 | 17998 |
| 17996 @override | 17999 @override |
| 17997 Object visitFunctionExpressionInvocation(FunctionExpressionInvocation node) { | 18000 Object visitFunctionExpressionInvocation(FunctionExpressionInvocation node) { |
| 17998 _visitNode(node.function); | 18001 _visitNode(node.function); |
| 17999 _visitNode(node.typeArguments); | 18002 _visitNode(node.typeArguments); |
| 18000 _visitNode(node.argumentList); | 18003 _visitNode(node.argumentList); |
| 18001 return null; | 18004 return null; |
| (...skipping 2192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20194 } | 20197 } |
| 20195 | 20198 |
| 20196 @override | 20199 @override |
| 20197 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); | 20200 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); |
| 20198 | 20201 |
| 20199 @override | 20202 @override |
| 20200 void visitChildren(AstVisitor visitor) { | 20203 void visitChildren(AstVisitor visitor) { |
| 20201 _safelyVisitChild(_expression, visitor); | 20204 _safelyVisitChild(_expression, visitor); |
| 20202 } | 20205 } |
| 20203 } | 20206 } |
| OLD | NEW |