case class ParsedTree[F[_]](root: DocumentTreeRoot, staticDocuments: Seq[BinaryInput[F]]) extends Product with Serializable
The result of a parsing operation for an entire document tree.
The DocumentTreeRoot
is the recursive structure of parsed inputs, like markup
document, templates or other file types, represented by their AST.
The static documents are merely a sequence of unprocessed inputs that have been discovered via directory scanning (or have been passed programmatically). The actual processing of these inputs is left to the render step, which might copy them into a target directory, or embed them into an output format like EPUB.
- Alphabetic
- By Inheritance
- ParsedTree
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ParsedTree(root: DocumentTreeRoot, staticDocuments: Seq[BinaryInput[F]])
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
-
def
addStaticDocuments(newStaticDocs: Seq[BinaryInput[F]]): ParsedTree[F]
Adds the specified static documents to this instance.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
modifyRoot(f: (DocumentTreeRoot) ⇒ DocumentTreeRoot): ParsedTree[F]
Creates a new instance by applying the specified function to the root tree.
-
def
modifyTree(f: (DocumentTree) ⇒ DocumentTree): ParsedTree[F]
Creates a new instance by applying the specified function to the nested tree.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
removeStaticDocuments(filter: (Path) ⇒ Boolean): ParsedTree[F]
Removes all static documents of this instance that match the specified filter.
-
def
replaceStaticDocuments(newStaticDocs: Seq[BinaryInput[F]]): ParsedTree[F]
Removes all static documents of this instance and replaces them with the specified alternatives.
- val root: DocumentTreeRoot
- val staticDocuments: Seq[BinaryInput[F]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated