DartElementsParent<E extends DartElement> class abstract

Abstract class for DartElements that have children that are "queriable". A queriable element is an element that have a known location and name, so only packages, libraries, types, methods and variables are considered queriables.

If the method children returns instances that are not queriable, for instance, parameters and library dependencies, queries made by DartElementFinder that rely on the location of the element would return incorrect result, since all of these elements have an unknown location.

Implementers

Constructors

DartElementsParent()

Properties

children List<E>
This method should return all queriable elements that are declared inside of this element, considering that a queriable element is an element that have a known location and a name.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited