| 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 analyzer.dart.ast.ast; | 5 library analyzer.dart.ast.ast; |
| 6 | 6 |
| 7 import 'package:analyzer/dart/element/element.dart'; | 7 import 'package:analyzer/dart/element/element.dart'; |
| 8 import 'package:analyzer/dart/element/type.dart'; | 8 import 'package:analyzer/dart/element/type.dart'; |
| 9 import 'package:analyzer/src/dart/ast/ast.dart'; | 9 import 'package:analyzer/src/dart/ast/ast.dart'; |
| 10 import 'package:analyzer/src/dart/element/element.dart' show AuxiliaryElements; | 10 import 'package:analyzer/src/dart/element/element.dart' show AuxiliaryElements; |
| (...skipping 2838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2849 SimpleIdentifier name, | 2849 SimpleIdentifier name, |
| 2850 Token leftBracket, | 2850 Token leftBracket, |
| 2851 List<EnumConstantDeclaration> constants, | 2851 List<EnumConstantDeclaration> constants, |
| 2852 Token rightBracket) = EnumDeclarationImpl; | 2852 Token rightBracket) = EnumDeclarationImpl; |
| 2853 | 2853 |
| 2854 /** | 2854 /** |
| 2855 * Return the enumeration constants being declared. | 2855 * Return the enumeration constants being declared. |
| 2856 */ | 2856 */ |
| 2857 NodeList<EnumConstantDeclaration> get constants; | 2857 NodeList<EnumConstantDeclaration> get constants; |
| 2858 | 2858 |
| 2859 @override |
| 2860 ClassElement get element; |
| 2861 |
| 2859 /** | 2862 /** |
| 2860 * Return the 'enum' keyword. | 2863 * Return the 'enum' keyword. |
| 2861 */ | 2864 */ |
| 2862 Token get enumKeyword; | 2865 Token get enumKeyword; |
| 2863 | 2866 |
| 2864 /** | 2867 /** |
| 2865 * Set the 'enum' keyword to the given [token]. | 2868 * Set the 'enum' keyword to the given [token]. |
| 2866 */ | 2869 */ |
| 2867 void set enumKeyword(Token token); | 2870 void set enumKeyword(Token token); |
| 2868 | 2871 |
| (...skipping 5107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7976 /** | 7979 /** |
| 7977 * Return the 'yield' keyword. | 7980 * Return the 'yield' keyword. |
| 7978 */ | 7981 */ |
| 7979 Token get yieldKeyword; | 7982 Token get yieldKeyword; |
| 7980 | 7983 |
| 7981 /** | 7984 /** |
| 7982 * Return the 'yield' keyword to the given [token]. | 7985 * Return the 'yield' keyword to the given [token]. |
| 7983 */ | 7986 */ |
| 7984 void set yieldKeyword(Token token); | 7987 void set yieldKeyword(Token token); |
| 7985 } | 7988 } |
| OLD | NEW |