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.
Value parameters
- 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
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article