CodeImpl

object CodeImpl
class Object
trait Matchable
class Any

Type members

Classlikes

object Run
object format extends ConstFormat[Code]

Value members

Concrete methods

def addType(tpe: Type): Unit
def apply(id: Int, source: String): Code
def compileBody[I, O, A, Repr <: T[I, O]](code: Repr, resCl: Class[A])(compiler: Compiler): Future[Unit]
def compileThunk[A](code: Code, resCl: Class[A], execute: Boolean)(compiler: Compiler): A
def compileToJar(name: String, code: Code, prelude: String, postlude: String)(compiler: Compiler): Array[Byte]

Compiles a source code consisting of a body which is wrapped in its prelude/postlude, and returns the raw jar file produced in the compilation.

Compiles a source code consisting of a body which is wrapped in its prelude/postlude, and returns the raw jar file produced in the compilation.

Value Params
name

Note: it is currently unused

def future[A](fun: => A)(compiler: Compiler): Future[A]
def getImports(id: Int): IndexedSeq[Import]
def getType(id: Int): Type
def importsPrelude(code: Code, indent: Int): String
def registerImports(id: Int, imports: Seq[Import]): Unit
def types: Seq[Type]
def unpackJar(bytes: Array[Byte]): Map[String, Array[Byte]]