TreeParser

class TreeParser[F[_]](parsers: NonEmptyList[MarkupParser], val theme: Theme[F])(implicit evidence$1: Sync[F], evidence$2: Batch[F]) extends InputOps[F]

Parser for a tree of input documents.

Companion
object
trait InputOps[F]
class Object
trait Matchable
class Any

Type members

Types

type Result = Op[F]

Inherited types

type FileFilter = File => Boolean
Inherited from
InputOps

Value members

Concrete methods

def fromInput(input: InputTreeBuilder[F]): Op[F]

Inherited methods

def fromDirectories(roots: Seq[File], exclude: FileFilter)(implicit codec: Codec): Result

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 Params
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

Inherited from
InputOps
def fromDirectories(roots: Seq[File])(implicit codec: Codec): Result

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 Params
codec

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

roots

the root directories to traverse

Inherited from
InputOps
def fromDirectory(dir: File, exclude: FileFilter)(implicit codec: Codec): Result

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 Params
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

Inherited from
InputOps
def fromDirectory(dir: File)(implicit codec: Codec): Result

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 Params
codec

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

dir

the root directory to traverse

Inherited from
InputOps
def fromDirectory(name: String, exclude: FileFilter)(implicit codec: Codec): Result

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 Params
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

Inherited from
InputOps
def fromDirectory(name: String)(implicit codec: Codec): Result

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 Params
codec

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

name

the name of the directory to traverse

Inherited from
InputOps
def fromWorkingDirectory(exclude: FileFilter)(implicit codec: Codec): Result

Builder step that instructs the runtime to parse files from the current working directory.

Builder step that instructs the runtime to parse files from the current working directory.

Value Params
codec

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

exclude

the files to exclude from processing

Inherited from
InputOps

Concrete fields

val F: Sync[F]
lazy val config: OperationConfig
val docType: TextDocumentType
val theme: Theme[F]