OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta.modifier_builder; | 5 library fasta.modifier_builder; |
6 | 6 |
7 import '../modifier.dart' | 7 import '../modifier.dart' |
8 show | 8 show |
9 abstractMask, | 9 abstractMask, |
10 constMask, | 10 constMask, |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 bool get isExternal => (modifiers & externalMask) != 0; | 30 bool get isExternal => (modifiers & externalMask) != 0; |
31 | 31 |
32 bool get isFinal => (modifiers & finalMask) != 0; | 32 bool get isFinal => (modifiers & finalMask) != 0; |
33 | 33 |
34 bool get isStatic => (modifiers & staticMask) != 0; | 34 bool get isStatic => (modifiers & staticMask) != 0; |
35 | 35 |
36 bool get isNamedMixinApplication { | 36 bool get isNamedMixinApplication { |
37 return (modifiers & namedMixinApplicationMask) != 0; | 37 return (modifiers & namedMixinApplicationMask) != 0; |
38 } | 38 } |
| 39 |
| 40 bool get isClassMember => false; |
| 41 |
| 42 String get name; |
| 43 |
| 44 bool get isNative => false; |
39 } | 45 } |
OLD | NEW |