Prelude

sealed interface Prelude<T : CssComponentValueNode>(source)

Represents the prelude of a Rule, which can be either a selector list or an at-rule prelude.

Parameters

T

The type of component value nodes within the prelude.

Inheritors

Types

Link copied to clipboard
data class AtRule(val components: List<AtRulePrelude>) : Prelude<AtRulePrelude>

Represents an at-rule prelude.

Link copied to clipboard
data class Selector(val components: List<SelectorListItem>) : Prelude<SelectorListItem>

Represents a selector list prelude.

Properties

Link copied to clipboard
abstract val components: List<T>

The list of component value nodes that make up the prelude.