Copy

trait Copy[In <: Txn[In], Out <: Txn[Out]]
Companion
object
class Object
trait Matchable
class Any
class CopyImpl[In, Out]

Value members

Abstract methods

def apply[Repr <: ([~ <: Txn[LazyRef(...)]] =>> Elem[~])](in: Repr[In]): Repr[Out]

Makes a deep copy of the input element. Passing in an Obj will also copy the attributes.

Makes a deep copy of the input element. Passing in an Obj will also copy the attributes.

def copyAttr(in: Obj[In], out: Obj[Out]): Unit

Copies all attributes from input to output.

Copies all attributes from input to output.

def copyPlain[Repr <: ([~ <: Txn[LazyRef(...)]] =>> Elem[~])](in: Repr[In]): Repr[Out]

Copies the object but not its attributes.

Copies the object but not its attributes.

def defer[Repr <: ([~ <: Txn[LazyRef(...)]] =>> Obj[~])](in: Repr[In], out: Repr[Out])(code: => Unit): Unit

Stores an early copy of an object from within its own copy method, to allow mutual correspondences. The copy is only completed with the provided code thunk argument which will be executed in the finish() stage.

Stores an early copy of an object from within its own copy method, to allow mutual correspondences. The copy is only completed with the provided code thunk argument which will be executed in the finish() stage.

def finish(): Unit
def getHint[A](in: Elem[In], key: String)(implicit ct: ClassTag[A]): Option[A]
def putHint[A](in: Elem[In], key: String, value: A): Unit

Provides a hint for the input element with key and value by convention.

Provides a hint for the input element with key and value by convention.