Query<T extends Node> class abstract

Chainable series of conditions to filter nodes in a tree.

Implementers

Constructors

Query.new()

Properties

conditions List<bool Function(T)>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findAll(Node root) Iterable<T>
Find multiple nodes matching this query inside another node.
findOne(Node root) → T?
Find one node matching this query inside another node.
matches(T candidate) bool
Check if this query matches a node.
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