
scala.meta.internal.quasiquotes.Flatten.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quasiquotes_2.11 Show documentation
Show all versions of quasiquotes_2.11 Show documentation
Scala.meta's quasiquotes for abstract syntax trees
package scala.meta
package internal
package quasiquotes
import scala.{Seq => _}
import scala.collection.immutable.Seq
object Flatten {
def unapply[T](x: Option[Seq[T]]): Option[Seq[T]] = x match {
case Some(xs) => Some(xs)
case None => Some(Nil)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy