class Compiler extends AnyRef
- Alphabetic
- By Inheritance
- Compiler
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Compiler(global: Global)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Compiler, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkReport(allowMessage: (Info) => Boolean = _ => false): Unit
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compileAsmMethod(code: String, allowMessage: (Info) => Boolean = _ => false): MethodNode
- def compileAsmMethods(code: String, allowMessage: (Info) => Boolean = _ => false): List[MethodNode]
- def compileClass(code: String, javaCode: List[(String, String)] = Nil, allowMessage: (Info) => Boolean = _ => false): ClassNode
- def compileClasses(code: String, javaCode: List[(String, String)] = Nil, allowMessage: (Info) => Boolean = _ => false): List[ClassNode]
- def compileClassesTransformed(scalaCode: String, javaCode: List[(String, String)] = Nil, beforeBackend: (nsc.Global.Tree) => nsc.Global.Tree): List[ClassNode]
- def compileInstructions(code: String, allowMessage: (Info) => Boolean = _ => false): List[Instruction]
- def compileMethod(code: String, allowMessage: (Info) => Boolean = _ => false): Method
- def compileMethods(code: String, allowMessage: (Info) => Boolean = _ => false): List[Method]
- def compileToBytes(scalaCode: String, javaCode: List[(String, String)] = Nil, allowMessage: (Info) => Boolean = _ => false): List[(String, Array[Byte])]
- def compileToBytesTransformed(scalaCode: String, javaCode: List[(String, String)] = Nil, beforeBackend: (nsc.Global.Tree) => nsc.Global.Tree): List[(String, Array[Byte])]
- def compiledClassesFromCache: collection.immutable.List[ClassNode]
Get class nodes stored in the byteCodeRepository.
Get class nodes stored in the byteCodeRepository. The ones returned by compileClasses are not the same, these are created new from the classfile byte array. They are completely separate instances which cannot be used to look up methods / callsites in the callGraph hash maps for example. NOTE: This method only works if
global.genBCode.bTypes.byteCodeRepository.compilingClasseswas passed to keepPerRunCachesAfterRun. - def ensuring(cond: (Compiler) => Boolean, msg: => Any): Compiler
- def ensuring(cond: (Compiler) => Boolean): Compiler
- def ensuring(cond: Boolean, msg: => Any): Compiler
- def ensuring(cond: Boolean): Compiler
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val global: Global
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keepPerRunCachesAfterRun(caches: List[Clearable]): Unit
Clear certain per-run caches before a compilation, instead of after.
Clear certain per-run caches before a compilation, instead of after. This allows inspecting their content after a compilation run.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newRun: Run
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def resetOutput(): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
Deprecated Value Members
- def →[B](y: B): (Compiler, B)
- Implicit
- This member is added by an implicit conversion from Compiler toArrowAssoc[Compiler] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.