NarrowingPart

data class NarrowingPart(val part: String, val alone: Int, val without: Int, val nearMisses: List<String>)(source)

One part of a selector that matched nothing (SelectorNarrowing.parts): an operand of its top-level and, such as text("Pay"), clickable() or the app("com.shop") scope App.element adds.

Constructors

Link copied to clipboard
constructor(part: String, alone: Int, without: Int, nearMisses: List<String>)

Properties

Link copied to clipboard
val alone: Int

Nodes this part matches by itself (capped at 1000).

Link copied to clipboard

Up to 3 values those nodes have for this part's property (text, description, hint, class, package or resource name); empty for flags and relations.

Link copied to clipboard

The part in builder syntax.

Link copied to clipboard

Nodes every other part matches (capped at 1000). Above zero, this part rules those nodes out.