Cursor

object Cursor
Companion:
class
Source:
cursor.scala
class Object
trait Matchable
class Any
Cursor.type

Type members

Classlikes

abstract class AbstractCursor extends Cursor

Abstract Cursor providing default implementation of most methods.

Abstract Cursor providing default implementation of most methods.

Source:
cursor.scala
case class Context(rootTpe: Type, path: List[String], resultPath: List[String], typePath: List[Type])

Context represents a position in the output tree in terms of,

Context represents a position in the output tree in terms of,

  1. the path through the schema to the position
  2. the path through the schema with query aliases applied
  3. the type of the element at the position
Companion:
object
Source:
cursor.scala
object Context
Companion:
class
Source:
cursor.scala
case class EmptyCursor(context: Context, parent: Option[Cursor], env: Env) extends AbstractCursor

Empty Cursor with no content

Empty Cursor with no content

Source:
cursor.scala
object Env
Companion:
class
Source:
cursor.scala
sealed trait Env
Companion:
object
Source:
cursor.scala
case class ListTransformCursor(underlying: Cursor, newSize: Int, newElems: Seq[Cursor]) extends ProxyCursor

Proxy list cursor which substitutes an alternative set of elements.

Proxy list cursor which substitutes an alternative set of elements.

Typically used as the result of a TransformCursor operation

Source:
cursor.scala
class ProxyCursor(underlying: Cursor) extends Cursor

Proxy Cursor which delegates most methods to an underlying Cursor..

Proxy Cursor which delegates most methods to an underlying Cursor..

Source:
cursor.scala

Value members

Concrete methods