io.scalaland.chimney.internal.compiletime.DefinitionsPlatform.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chimney-macro-commons_2.13 Show documentation
Show all versions of chimney-macro-commons_2.13 Show documentation
Utilities for writing cross-platform macro logic
The newest version!
package io.scalaland.chimney.internal.compiletime
import scala.reflect.macros.blackbox
trait DefinitionsPlatform
extends Definitions
with TypesPlatform
with ExprsPlatform
with ExprPromisesPlatform
with ResultsPlatform {
val c: blackbox.Context
protected val XMacroSettings: List[String] = c.settings
/** Useful for distinction between 2.12 and 2.13, when necessary. */
protected val isScala212: Boolean = scala.util.Properties.versionNumberString < "2.13"
}