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_3 Show documentation
Show all versions of chimney-macro-commons_3 Show documentation
Utilities for writing cross-platform macro logic
The newest version!
package io.scalaland.chimney.internal.compiletime
import scala.quoted
abstract class DefinitionsPlatform(using val quotes: quoted.Quotes)
extends Definitions
with TypesPlatform
with ExprsPlatform
with ExprPromisesPlatform
with ResultsPlatform {
protected val XMacroSettings: List[String] = {
// workaround to contain @experimental from polluting the whole codebase
val info = quotes.reflect.CompilationInfo
info.getClass.getMethod("XmacroSettings").invoke(info).asInstanceOf[List[String]]
}
}