Op

laika.io.api.TreeParser$.Op
case class Op[F[_]](parsers: NonEmptyList[MarkupParser], theme: Theme[F], input: InputTreeBuilder[F])(implicit evidence$5: Async[F], evidence$6: Batch[F])

Represents a parsing operation for a tree of input documents.

It can be run by invoking the parse method which delegates to the library's default runtime implementation or by developing a custom runner that performs the parsing based on this operation's properties.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Provides a description of this operation, the parsers and extension bundles used, as well as the input sources. This functionality is mostly intended for tooling support.

Provides a description of this operation, the parsers and extension bundles used, as well as the input sources. This functionality is mostly intended for tooling support.

Attributes

def parse: F[ParsedTree[F]]

Performs the parsing operation based on the library's default runtime implementation, suspended in the effect F.

Performs the parsing operation based on the library's default runtime implementation, suspended in the effect F.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val config: OperationConfig

The merged configuration of all markup parsers of this operation, including the theme extensions.

The merged configuration of all markup parsers of this operation, including the theme extensions.

Attributes

lazy val styleSheetParser: DocumentInput => Either[ParserError, StyleDeclarationSet]

The parser for CSS documents for this operation. Currently CSS input will only be parsed for PDF output, in case of HTML or EPUB formats CSS documents will merely copied to the target format.

The parser for CSS documents for this operation. Currently CSS input will only be parsed for PDF output, in case of HTML or EPUB formats CSS documents will merely copied to the target format.

Attributes

lazy val templateParser: Option[DocumentInput => Either[ParserError, TemplateDocument]]

The template parser for this operation. If this property is empty templating is not supported for this operation.

The template parser for this operation. If this property is empty templating is not supported for this operation.

Attributes