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 library engine.ast; | 5 library engine.ast; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'element.dart'; | 9 import 'element.dart'; |
10 import 'engine.dart' show AnalysisEngine; | 10 import 'engine.dart' show AnalysisEngine; |
(...skipping 5837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5848 _safelyVisitChild(_expression, visitor); | 5848 _safelyVisitChild(_expression, visitor); |
5849 } | 5849 } |
5850 } | 5850 } |
5851 | 5851 |
5852 /** | 5852 /** |
5853 * A node that can occur in the initializer list of a constructor declaration. | 5853 * A node that can occur in the initializer list of a constructor declaration. |
5854 * | 5854 * |
5855 * > constructorInitializer ::= | 5855 * > constructorInitializer ::= |
5856 * > [SuperConstructorInvocation] | 5856 * > [SuperConstructorInvocation] |
5857 * > | [ConstructorFieldInitializer] | 5857 * > | [ConstructorFieldInitializer] |
| 5858 * > | [RedirectingConstructorInvocation] |
5858 */ | 5859 */ |
5859 abstract class ConstructorInitializer extends AstNode {} | 5860 abstract class ConstructorInitializer extends AstNode {} |
5860 | 5861 |
5861 /** | 5862 /** |
5862 * The name of the constructor. | 5863 * The name of the constructor. |
5863 * | 5864 * |
5864 * > constructorName ::= | 5865 * > constructorName ::= |
5865 * > type ('.' identifier)? | 5866 * > type ('.' identifier)? |
5866 */ | 5867 */ |
5867 class ConstructorName extends AstNode { | 5868 class ConstructorName extends AstNode { |
(...skipping 14779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20647 } | 20648 } |
20648 | 20649 |
20649 @override | 20650 @override |
20650 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); | 20651 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); |
20651 | 20652 |
20652 @override | 20653 @override |
20653 void visitChildren(AstVisitor visitor) { | 20654 void visitChildren(AstVisitor visitor) { |
20654 _safelyVisitChild(_expression, visitor); | 20655 _safelyVisitChild(_expression, visitor); |
20655 } | 20656 } |
20656 } | 20657 } |
OLD | NEW |