TreeParser

laika.io.api.TreeParser
See theTreeParser companion object
class TreeParser[F[_]]

Parser for a tree of input documents.

Attributes

Companion
object
Source
TreeParser.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Result = Op[F]

The type of the result returned by all operations of this trait.

The type of the result returned by all operations of this trait.

Attributes

Source
TreeParser.scala

Value members

Concrete methods

Builder step that instructs the runtime to use the specified input builder for all parsing operations.

Builder step that instructs the runtime to use the specified input builder for all parsing operations.

This is the most generic way to specify the input as it allows to freely compose inputs from multiple directories, files, streams, the classpath or in-memory inputs. All other methods in this trait are mere shortcuts that delegate to this method.

Value parameters

input

the input tree to process

Attributes

Source
TreeParser.scala

Inherited methods

Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.

Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.

Value parameters

codec

the character encoding of the files, if not specified the platform default will be used.

exclude

the files to exclude from processing

roots

the root directories to traverse

Attributes

Inherited from:
InputOps (hidden)
Source
InputOps.scala

Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.

Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.

Value parameters

codec

the character encoding of the files, if not specified the platform default will be used.

roots

the root directories to traverse

Attributes

Inherited from:
InputOps (hidden)
Source
InputOps.scala

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Value parameters

codec

the character encoding of the files, if not specified the platform default will be used.

dir

the root directory to traverse

exclude

the files to exclude from processing

Attributes

Inherited from:
InputOps (hidden)
Source
InputOps.scala

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Value parameters

codec

the character encoding of the files, if not specified the platform default will be used.

dir

the root directory to traverse

Attributes

Inherited from:
InputOps (hidden)
Source
InputOps.scala

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Value parameters

codec

the character encoding of the files, if not specified the platform default will be used.

exclude

the files to exclude from processing

name

the name of the directory to traverse

Attributes

Inherited from:
InputOps (hidden)
Source
InputOps.scala

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.

Value parameters

codec

the character encoding of the files, if not specified the platform default will be used.

name

the name of the directory to traverse

Attributes

Inherited from:
InputOps (hidden)
Source
InputOps.scala

Concrete fields

The configuration to use for all input operations.

The configuration to use for all input operations.

Attributes

Source
TreeParser.scala
val theme: Theme[F]

Attributes

Source
TreeParser.scala