Document
laika.ast.Document
case class Document(path: Path, content: RootElement, fragments: Map[String, Element], config: Config, position: TreePosition) extends DocumentStructure with TreeContent
Represents a single document and provides access to the document content and structure as well as hooks for triggering rewrite operations.
Attributes
- config
the configuration for this document
- content
the tree model obtained from parsing the markup document
- fragments
separate named fragments that had been extracted from the content
- path
the full, absolute path of this document in the (virtual) document tree
- position
the position of this document inside a document tree hierarchy, expressed as a list of Ints
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait TreeContenttrait DocumentStructuretrait DocumentNavigationtrait Navigatableclass Objecttrait Matchableclass Any