laika.ast.TreeCursor
See theTreeCursor companion object
case class TreeCursor(target: DocumentTree, parent: Option[TreeCursor], root: RootCursor, config: Config, position: TreePosition) extends Cursor
Cursor for an entire document tree, providing access to all child cursors of this tree and allowing to trigger rewrite operations.
Attributes
- config
the configuration associated with this tree
- parent
the immediate parent of this tree or
None
if this is the root- position
the position of this tree within the document tree
- root
the root of this tree
- target
the document tree this cursor points to
- Companion:
- object
- Graph
- Supertypes