TreeExtractors

class Object
trait Matchable
class Any

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)

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)}.

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