InstrumentedParts

dotty.tools.dotc.transform.InstrumentCoverage.InstrumentedParts
See theInstrumentedParts companion object
case class InstrumentedParts(pre: List[Tree], invokeCall: Apply | EmptyTree.type, expr: Tree)

An instrumented Tree, in 3 parts.

Value parameters

expr

the instrumented expression, executed just after the invokeCall

invokeCall

call to Invoker.invoked(dir, id), or an empty tree.

pre

preparation code, e.g. lifted arguments. May be empty.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toTree(using Context): Tree

Turns this into an actual Tree.

Turns this into an actual Tree.

Attributes

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product