StylePredicate

laika.ast.StylePredicate
See theStylePredicate companion object
sealed trait StylePredicate

Represents a single predicate which is part of the selector for a style declaration.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ElementType
class Id
class StyleName

Members list

Value members

Abstract methods

def evaluate(element: Element): Boolean

Indicates whether this predicate holds for the specified element.

Indicates whether this predicate holds for the specified element.

Attributes

The specificity of this predicate. Used to calculate the precedence if multiple selectors apply to the same target element.

The specificity of this predicate. Used to calculate the precedence if multiple selectors apply to the same target element.

Attributes