object show
- Alphabetic
- By Inheritance
- show
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- macro def apply[T](config: String)(value: T): T
Macro that logs the source code for the given argument to the console during compilation.
Macro that logs the source code for the given argument to the console during compilation. Apart from this the macro is completely transparent, i.e. doesn't change the runtime behavior of the program in any way.
The source code is formatted with scalafmt before output. The scalafmt config file is expected to be present as
./.scalafmt.confin the current directory. Otherwise the config file location must be configured via thescalafmtConfigFilesetting (see below).The output is configured via the given
configparameter, which must be a literal String. It contains a comma- or blank-separated list of the following, optional config settings:scalafmtConfigFile=/path/to/file Configures the location of the scalafmt config file to be used
suppress=[org.example.,java.lang.] Specifies a comma-separated list of strings that are to be removed from the output. Helpful, for example, for removing full qualification of package names, which can otherwise hinder readability.
printTypes Triggers the addition of comments containing the types inferred by the compiler.
Example
config: "scalafmtConfigFile=./sfmt.conf,printTypes" - macro def apply[T](value: T): T
Macro that logs the source code for the given argument to the console during compilation.
Macro that logs the source code for the given argument to the console during compilation. Apart from this the macro is completely transparent, i.e. doesn't change the runtime behavior of the program in any way.
The source code is formatted with scalafmt before output. The scalafmt config file is expected to be present as
./.scalafmt.confin the current directory.If you want to configure the output in any way use the other overload that takes a
configString. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated