ParsedTree

case class ParsedTree[F[_]](root: DocumentTreeRoot, staticDocuments: Seq[BinaryInput[F]])

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.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addStaticDocuments(newStaticDocs: Seq[BinaryInput[F]]): ParsedTree[F]

Adds the specified static documents to this instance.

Adds the specified static documents to this instance.

def removeStaticDocuments(filter: Path => Boolean): ParsedTree[F]

Removes all static documents of this instance that match the specified filter.

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.

Removes all static documents of this instance and replaces them with the specified alternatives.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product