StyleName

laika.ast.StylePredicate$.StyleName
case class StyleName(name: String) extends StylePredicate

A predicate that holds if the given style name matches one of the styles of the target element.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete 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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

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