StyleDeclarationSet

laika.ast.styles.StyleDeclarationSet
See theStyleDeclarationSet companion object

Represents a set of one or more style declarations.

Value parameters

paths

the paths the style declarations have been obtained from

precedence

the precedence of this set compared to other provided sets

styles

the style declarations that belong to this set

Attributes

Companion
object
Source
styles.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Merges the style declaration of this instance with the specified set and returns the merged set in a new instance.

Merges the style declaration of this instance with the specified set and returns the merged set in a new instance.

Attributes

Source
styles.scala

Collects all the styles that apply to the specified target element.

Collects all the styles that apply to the specified target element.

Value parameters

parents

the parents of the specified target element

target

the target element to collect the matching styles for

Attributes

Returns

a map representing the keys and values of all styles that apply to the target element

Source
styles.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product