Code

object Code
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Action(source: String) extends Code
Companion
object
object Action extends Type
Companion
class
final case
class CodeIncomplete() extends Exception
final case
class CompilationFailed() extends Exception
trait Compiler
final case
class Control(source: String) extends Code
Companion
object
object Control extends Type
Companion
class
case
class Example(name: String, mnemonic: Char, code: String)
final case
class Import(prefix: String, selectors: List[Selector])
Companion
object
object Import
Companion
class
object Obj extends ExprTypeImpl[Code, [Tx <: Txn[Tx]] =>> Obj[Tx]]
Companion
class
trait Obj[Tx <: Txn[Tx]] extends Expr[Tx, Code]
Companion
object
final case
class Proc(source: String) extends Code
Companion
object
object Proc extends Type
Companion
class
trait Type

Types

type T[I, O] = Code { type In = I; type Out = O; }

Value members

Concrete methods

def addType(tpe: Type): Unit
def apply(id: Int, source: String): Code
def fullPrelude(code: Code): String

Generates the full prelude of a code object, containing package, imports, and code specific prelude.

Generates the full prelude of a code object, containing package, imports, and code specific prelude.

def future[A](fun: => A)(implicit compiler: Compiler): Future[A]
def getImports(id: Int): IndexedSeq[Import]
def getType(id: Int): Type
def importsPrelude(code: Code, indent: Int): String

Generates the import statements prelude for a given code object.

Generates the import statements prelude for a given code object.

def init(): Unit
def packagePrelude: String

Generates the default package statement.

Generates the default package statement.

def read(in: DataInput): Code
def registerImports(id: Int, imports: Seq[Import]): Unit
def types: Seq[Type]
def unpackJar(bytes: Array[Byte]): Map[String, Array[Byte]]

Concrete fields

final
val UserPackage: "user"
final
val typeId: 131073

Implicits

Implicits

implicit
def format: ConstFormat[Code]