RewriteAction

laika.ast.RewriteAction
See theRewriteAction companion trait
object RewriteAction

Attributes

Companion
trait
Source
RewriteRules.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object Remove extends RewriteAction[Nothing]

Indicates that the element a rewrite rule had been applied to should be removed from the document AST.

Indicates that the element a rewrite rule had been applied to should be removed from the document AST.

Attributes

Source
RewriteRules.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait RewriteAction[Nothing]
class Object
trait Matchable
class Any
Show all
Self type
Remove.type
case class Replace[T](newValue: T) extends RewriteAction[T]

Indicates that the element a rewrite rule had been applied to should be replaced with this new value.

Indicates that the element a rewrite rule had been applied to should be replaced with this new value.

Attributes

Source
RewriteRules.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait RewriteAction[T]
class Object
trait Matchable
class Any
Show all
case object Retain extends RewriteAction[Nothing]

Indicates that the element a rewrite rule had been applied to should be kept in the document AST unchanged.

Indicates that the element a rewrite rule had been applied to should be kept in the document AST unchanged.

Attributes

Source
RewriteRules.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait RewriteAction[Nothing]
class Object
trait Matchable
class Any
Show all
Self type
Retain.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala