PseudoClass

data class PseudoClass(val name: String) : SimpleSelector(source)

A pseudo-class without arguments: the structural ones, root, empty, first-child, last-child, only-child, first-of-type, last-of-type and only-of-type, and states, like hover, that the tree knows

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
Link copied to clipboard
open override val specificity: Specificity

Functions

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