Class Selectors

java.lang.Object
org.eclipse.e4.ui.css.core.impl.engine.selector.Selectors

public final class Selectors extends Object
Internal CSS selector AST.

This package is the engine's own selector model: a small set of records the parser builds directly and the matcher consumes end to end. It replaced an earlier layer of vendored selector wrapper classes that the engine no longer depends on.

Specificity follows CSS 2.1: 100 per id, 10 per class / attribute / pseudo-class, 1 per element, 0 for the universal selector. Combinators sum the specificity of their operands; selector lists report the maximum specificity over their alternatives.