topLevelElements property

Iterable<Element> get topLevelElements

Return the top-level elements defined in each of the compilation units that are included in this library. This includes both public and private elements, but does not include imports, exports, or synthetic elements.

Implementation

Iterable<Element> get topLevelElements;