b7fbf1e4b2
Previously we'd fail to match anything here and end up using "top level", showing snippets for creating classes. This adds enums to "inClass" showing things like "function" snippets. I didn't split class/enums because right now we don't have any snippets that would differ, though we might want to do this if that changes. Fixes https://github.com/Dart-Code/Dart-Code/issues/4473. Change-Id: I67c8e2a67698fb15136cba68b63549acf29ee596 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/292884 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>