Finder class abstract

A query over an Element tree. Implementations walk the subtree rooted at apply's argument and yield matching elements.

Finders are stateless and reusable.

Constructors

Finder()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(Element root) → Iterable<Element>
Yields every element in the subtree rooted at root that matches this finder, in pre-order (parent before children).
describe() → String
Human-readable label used in test failure messages.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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