ConfigHeaderParser

laika.api.bundle.ConfigHeaderParser

Provides parser implementation for configuration header sections in text markup files, which are expected to be in HOCON format.

Attributes

Source
ConfigHeaderParser.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Parser for configuration headers which are enclosed between the specified start and end delimiters.

Parser for configuration headers which are enclosed between the specified start and end delimiters. These delimiters are expected to be both on a separate line.

Attributes

Source
ConfigHeaderParser.scala

Generic base parser for configuration headers based on the specified string parser.

Generic base parser for configuration headers based on the specified string parser.

The parser is expected to detect and consume any start and end delimiters without adding them to the result which is supposed to be a string in HOCON format.

The contract for such a parser is that it fails if it cannot successfully read the expected start or end delimiters, so that other parsers (if defined) can be tried instead.

Attributes

Source
ConfigHeaderParser.scala

Parser for default configuration headers which are enclosed between lines containing {% and %} respectively.

Parser for default configuration headers which are enclosed between lines containing {% and %} respectively.

Attributes

Source
ConfigHeaderParser.scala