captures
actual fun captures(predicate: QueryPredicate.(QueryMatch) -> Boolean): Sequence<Pair<UInt, QueryMatch>>(source)
Iterate over all the individual captures in the order that they appear.
This is useful if you don't care about which pattern matched.
Parameters
predicate
A function that handles custom predicates.
expect fun captures(predicate: QueryPredicate.(QueryMatch) -> Boolean = { true }): Sequence<Pair<UInt, QueryMatch>>(source)
Iterate over all the individual captures in the order that they appear.
This is useful if you don't care about which pattern matched.
Parameters
predicate
A function that handles custom predicates.
actual fun captures(predicate: QueryPredicate.(QueryMatch) -> Boolean): Sequence<Pair<UInt, QueryMatch>>(source)
Iterate over all the individual captures in the order that they appear.
This is useful if you don't care about which pattern matched.
Parameters
predicate
A function that handles custom predicates.
actual fun captures(predicate: QueryPredicate.(QueryMatch) -> Boolean): Sequence<Pair<UInt, QueryMatch>>(source)
Iterate over all the individual captures in the order that they appear.
This is useful if you don't care about which pattern matched.
Parameters
predicate
A function that handles custom predicates.