class Compiler extends AnyRef

Source
BytecodeTesting.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Compiler
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Compiler(global: Global)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Compiler toany2stringadd[Compiler] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. 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
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkReport(allowMessage: (Info) => Boolean = _ => false): Unit
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def compileAsmMethod(code: String, allowMessage: (Info) => Boolean = _ => false): MethodNode
  10. def compileAsmMethods(code: String, allowMessage: (Info) => Boolean = _ => false): List[MethodNode]
  11. def compileClass(code: String, javaCode: List[(String, String)] = Nil, allowMessage: (Info) => Boolean = _ => false): ClassNode
  12. def compileClasses(code: String, javaCode: List[(String, String)] = Nil, allowMessage: (Info) => Boolean = _ => false): List[ClassNode]
  13. def compileClassesTransformed(scalaCode: String, javaCode: List[(String, String)] = Nil, beforeBackend: (nsc.Global.Tree) => nsc.Global.Tree): List[ClassNode]
  14. def compileInstructions(code: String, allowMessage: (Info) => Boolean = _ => false): List[Instruction]
  15. def compileMethod(code: String, allowMessage: (Info) => Boolean = _ => false): Method
  16. def compileMethods(code: String, allowMessage: (Info) => Boolean = _ => false): List[Method]
  17. def compileToBytes(scalaCode: String, javaCode: List[(String, String)] = Nil, allowMessage: (Info) => Boolean = _ => false): List[(String, Array[Byte])]
  18. def compileToBytesTransformed(scalaCode: String, javaCode: List[(String, String)] = Nil, beforeBackend: (nsc.Global.Tree) => nsc.Global.Tree): List[(String, Array[Byte])]
  19. 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.compilingClasses was passed to keepPerRunCachesAfterRun.

  20. def ensuring(cond: (Compiler) => Boolean, msg: => Any): Compiler
    Implicit
    This member is added by an implicit conversion from Compiler toEnsuring[Compiler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: (Compiler) => Boolean): Compiler
    Implicit
    This member is added by an implicit conversion from Compiler toEnsuring[Compiler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean, msg: => Any): Compiler
    Implicit
    This member is added by an implicit conversion from Compiler toEnsuring[Compiler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean): Compiler
    Implicit
    This member is added by an implicit conversion from Compiler toEnsuring[Compiler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Compiler toStringFormat[Compiler] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. val global: Global
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. 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.

  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def newRun: Run
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def resetOutput(): Unit
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. 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.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromCompiler to any2stringadd[Compiler]

Inherited by implicit conversion StringFormat fromCompiler to StringFormat[Compiler]

Inherited by implicit conversion Ensuring fromCompiler to Ensuring[Compiler]

Inherited by implicit conversion ArrowAssoc fromCompiler to ArrowAssoc[Compiler]

Ungrouped