ComplexSelector

data class ComplexSelector(val compounds: List<CompoundSelector>, val combinators: List<Combinator>)(source)

A complex selector of CSS: compounds from left to right, with the combinators between them, one fewer than the compounds. The last compound selects the node.

Constructors

Link copied to clipboard
constructor(compounds: List<CompoundSelector>, combinators: List<Combinator>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the pseudo-classes of states, like hover, that the selector depends on

Link copied to clipboard

true when the selector depends on the siblings before nodes, their styles change when their siblings change

Functions

Link copied to clipboard
fun <N> matches(node: N, tree: SelectorTree<N>): Boolean

true when the selector selects node of tree

Link copied to clipboard
open override fun toString(): String