We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 491e88e commit 7fbcaccCopy full SHA for 7fbcacc
lib/src/library.dart
@@ -26,10 +26,8 @@ class LibraryReader {
26
ClassElement findType(String name) =>
27
element.getType(name) ?? _namespace.get(name) as ClassElement;
28
29
- /// All of the declarations in this library, including the [LibraryElement] as
30
- /// the first item.
+ /// All of the declarations in this library.
31
Iterable<Element> get allElements sync* {
32
- yield element;
33
for (var cu in element.units) {
34
for (var compUnitMember in cu.unit.declarations) {
35
yield* _getElements(compUnitMember);
0 commit comments