TemplateDocument

laika.ast.TemplateDocument
case class TemplateDocument(path: Path, content: TemplateRoot, config: ConfigParser) extends Navigatable

A template document containing the element tree of a parsed template and its extracted configuration section (if present).

Attributes

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

Members list

Value members

Concrete methods

def applyTo(document: Document, rules: RewriteRules, outputContext: OutputContext): Either[ConfigError, Document]

Applies this template to the specified document, replacing all span and block resolvers in the template with the final resolved element.

Applies this template to the specified document, replacing all span and block resolvers in the template with the final resolved element.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

lazy val name: String

The local name of this navigatable.

The local name of this navigatable.

Attributes

Inherited from:
Navigatable