OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 library fasta.parser.member_kind; |
| 6 |
| 7 enum MemberKind { |
| 8 /// A catch block, not a real member. |
| 9 Catch, |
| 10 |
| 11 /// A factory |
| 12 Factory, |
| 13 |
| 14 /// Old-style typedef. |
| 15 FunctionTypeAlias, |
| 16 |
| 17 /// Old-style function-typed parameter, not a real member. |
| 18 FunctionTypedParameter, |
| 19 |
| 20 /// A generalized function type, not a real member. |
| 21 GeneralizedFunctionType, |
| 22 |
| 23 /// A local function. |
| 24 Local, |
| 25 |
| 26 /// A non-static method in a class (including constructors). |
| 27 NonStaticMethod, |
| 28 |
| 29 /// A static method in a class. |
| 30 StaticMethod, |
| 31 |
| 32 /// A top-level method. |
| 33 TopLevelMethod, |
| 34 |
| 35 /// An instance field in a class. |
| 36 NonStaticField, |
| 37 |
| 38 /// A static field in a class. |
| 39 StaticField, |
| 40 |
| 41 /// A top-level field. |
| 42 TopLevelField, |
| 43 } |
OLD | NEW |