abstract class TreeMapperOps[F[_]] extends AnyRef
Operations for builders of transformers that allow to modify the tree or documents between parsing and rendering.
This hook differs from the rewrite rules in two ways: first it does not only operate on the AST nodes of a document, therefore it can also change its path or config. Secondly it allows for effectful transformations which are not available in the pure laika-core module.
- Alphabetic
- By Inheritance
- TreeMapperOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TreeMapperOps()(implicit arg0: Sync[F])
Type Members
- abstract type MapRes
Abstract Value Members
-
abstract
def
evalMapTree(f: (ParsedTree[F]) ⇒ F[ParsedTree[F]]): MapRes
Creates a new transformer that applies the specified effectful function to the parsed tree before rendering.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val F: Sync[F]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
evalMapDocuments(f: (Document) ⇒ F[Document]): MapRes
Creates a new transformer that applies the specified effectful function to each document in the parsed tree before rendering.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapDocuments(f: (Document) ⇒ Document): MapRes
Creates a new transformer that applies the specified function to each document in the parsed tree before rendering.
-
def
mapTree(f: (ParsedTree[F]) ⇒ ParsedTree[F]): MapRes
Creates a new transformer that applies the specified function to the parsed tree before rendering.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()