TreeExtractors

dotty.tools.dotc.transform.TreeExtractors

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object BinaryOp

Match arg1.op(arg2) and extract (arg1, op.symbol, arg2)

Match arg1.op(arg2) and extract (arg1, op.symbol, arg2)

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
BinaryOp.type
object NewWithArgs

Match new C(args) and extract (C, args). Also admit new C(args): T and {new C(args)}.

Match new C(args) and extract (C, args). Also admit new C(args): T and {new C(args)}.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type