Replace

scala.meta.contrib.Replace
See theReplace companion object
trait Replace[A, B]

The purpose of this typeclass is to replace one list of things with another of that type.

eg. replacing the statements of a Defn.Class with a new set of statements

Type parameters

A

the object you are replacing the items in

B

the type of items you are replacing

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def replace(a: A, bs: List[B]): A