ValueClassUnbox

dotty.tools.dotc.transform.TreeExtractors.ValueClassUnbox

For an instance v of a value class like: class V(val underlying: X) extends AnyVal Match v.underlying() and extract v

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply(t: Tree)(using Context): Option[Tree]