scala.meta.contrib.implicits.SetExtensions.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalameta_native0.5_2.13 Show documentation
Show all versions of scalameta_native0.5_2.13 Show documentation
Scalameta umbrella module that includes all public APIs
package scala.meta.contrib.implicits
import scala.meta._
import scala.meta.contrib._
import scala.meta.contrib.equality.Structurally
import scala.meta.contrib.equality.Syntactically
trait SetExtensions {
implicit class SetEnrichments[A <: Tree](set: Set[A]) {
def structurally: Set[Structurally[A]] = set.map(Structurally(_))
def syntactically: Set[Syntactically[A]] = set.map(Syntactically(_))
}
}
object SetExtensions extends SetExtensions
© 2015 - 2025 Weber Informatics LLC | Privacy Policy