ParserBuilderOps

API for specifying configuration options that apply to all kinds of operations that contain a parsing step (Parser and Transformer).

class Object
trait Matchable
class Any

Type members

Inherited types

The type of the operation being configured by this instance.

The type of the operation being configured by this instance.

Inherited from:
CommonBuilderOps

Value members

Concrete methods

Specifies the filter to apply to runtime messages that should cause a transformation to fail.

Specifies the filter to apply to runtime messages that should cause a transformation to fail.

The default is to fail transformations on messages of level Error or higher.

Turns strict mode on for the target parser, switching off any features not part of the original markup syntax. This includes the registration of markup directives (custom tags) as well as configuration sections at the start of the document.

Turns strict mode on for the target parser, switching off any features not part of the original markup syntax. This includes the registration of markup directives (custom tags) as well as configuration sections at the start of the document.

def withConfigValue[T : DefaultKey](value: T): ThisType

Returns a new instance with the specified configuration value added.

Returns a new instance with the specified configuration value added.

The specified value with have higher precedence than any value with the same key registered by extension bundles, but lower precedence than any value with the same key specified in a configuration file for a directory or a configuration header in a markup document.

def withConfigValue[T : ConfigEncoder](key: String, value: T): ThisType

Returns a new instance with the specified configuration value added.

Returns a new instance with the specified configuration value added.

The specified value with have higher precedence than any value with the same key registered by extension bundles, but lower precedence than any value with the same key specified in a configuration file for a directory or a configuration header in a markup document.

def withConfigValue[T : ConfigEncoder](key: Key, value: T): ThisType

Returns a new instance with the specified configuration value added.

Returns a new instance with the specified configuration value added.

The specified value with have higher precedence than any value with the same key registered by extension bundles, but lower precedence than any value with the same key specified in a configuration file for a directory or a configuration header in a markup document.

Enables all extensions that process raw content embedded into the host markup language. These are disabled by default as Laika is designed to render to multiple output formats from a single input document. With raw content embedded the markup document is tied to a specific output format.

Enables all extensions that process raw content embedded into the host markup language. These are disabled by default as Laika is designed to render to multiple output formats from a single input document. With raw content embedded the markup document is tied to a specific output format.

Inherited methods

protected def config: OperationConfig

The current configuration for this instance.

The current configuration for this instance.

Inherited from:
CommonBuilderOps

Returns a new instance with the specified extension bundles installed. Features in the new bundles may override features in already installed bundles.

Returns a new instance with the specified extension bundles installed. Features in the new bundles may override features in already installed bundles.

Bundles are usually provided by libraries (by Laika itself or a 3rd-party extension library) or as re-usable building blocks by application code.

Inherited from:
CommonBuilderOps

Returns a new instance with the specified configuration.

Returns a new instance with the specified configuration.

This method discards any previously specified options. It is usually meant to be used when copying over the configuration from a fully configured object to an unconfigured one.

Inherited from:
CommonBuilderOps