components property

List<ComplexSelectorComponent> components
final

The components of this selector.

This is only empty if leadingCombinators is not empty.

Descendant combinators aren't explicitly represented here. If two CompoundSelectors are adjacent to one another, there's an implicit descendant combinator between them.

It's possible for multiple Combinators to be adjacent to one another. This isn't valid CSS, but Sass supports it for CSS hack purposes.

Implementation

final List<ComplexSelectorComponent> components;