io.scalaland.chimney.internal.compiletime.Results.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
package io.scalaland.chimney.internal.compiletime
private[compiletime] trait Results { this: Definitions =>
/** Prints info at current macro expansion - assume it can only be called once */
protected def reportInfo(info: String): Unit
/** Prints error at current macro expansion AND throw exception for aborting macro expansion */
protected def reportError(errors: String): Nothing
/** Throws AssertionFailed exception */
protected def assertionFailed(assertion: String): Nothing = throw new AssertionError(assertion)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy