Nth

data class Nth(val a: Int, val b: Int, val fromEnd: Boolean, val ofType: Boolean) : SimpleSelector(source)

:nth-child(an+b), :nth-last-child, :nth-of-type and :nth-last-of-type

Constructors

Link copied to clipboard
constructor(a: Int, b: Int, fromEnd: Boolean, ofType: Boolean)

Properties

Link copied to clipboard
val a: Int
Link copied to clipboard
val b: Int
Link copied to clipboard
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