TreeExtractors
object TreeExtractors
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)
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)}.
object ValueClassUnbox
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