Index: frog/leg/elements/elements.dart |
=================================================================== |
--- frog/leg/elements/elements.dart (revision 5159) |
+++ frog/leg/elements/elements.dart (working copy) |
@@ -70,6 +70,7 @@ |
bool isParameter() => kind === ElementKind.PARAMETER; |
bool isStatement() => kind === ElementKind.STATEMENT; |
bool isTypedef() => kind === ElementKind.TYPEDEF; |
+ bool isGetter() => kind === ElementKind.GETTER; |
// TODO(ahe): Remove this method. |
bool isClassOrInterfaceOrTypedef() { |
return kind == ElementKind.CLASS || kind == ElementKind.TYPEDEF; |