class Interpreter extends InterpreterInterface
A convenient bundle of all the functionality necessary to interpret Scala code. Doesn't attempt to provide any real encapsulation for now.
- Self Type
- Interpreter
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Interpreter
- InterpreterInterface
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Interpreter(printer: Printer, storage: Storage, customPredefs: Seq[PredefInfo], extraBridges: (Interpreter) ⇒ Seq[(String, String, AnyRef)], wd: Path, verboseOutput: Boolean = true)
Type Members
- abstract class DefaultLoadJar extends LoadJar
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val beforeExitHooks: Buffer[(Any) ⇒ Any]
- val bridgePredefs: Seq[PredefInfo]
- val bridges: Seq[(String, String, AnyRef)]
- def cachedCompileBlock(processed: Output, printer: Printer, wrapperName: Name, fileName: String, pkgName: Seq[Name], printCode: String): Res[(Class[_], Imports, String)]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def compilationCount: Int
- def compileClass(processed: Output, printer: Printer, fileName: String): Res[(ClassFiles, Imports)]
- var compiler: Compiler
- val dynamicClasspath: VirtualDirectory
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val eval: Evaluator
- def evalClassloader: SpecialClassLoader
- def evaluateLine(processed: Output, printer: Printer, fileName: String, indexedWrapperName: Name): Res[Evaluated]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def handleEvalClasspath(jar: File): Unit
- def handleOutput(res: Res[Evaluated]): Unit
- def handlePluginClasspath(jar: File): Unit
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- val importHooks: Ref[Map[Seq[String], ImportHook]] { ... /* 2 definitions in type refinement */ }
- def init(): Unit
- lazy val interpApi: InterpAPI
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var lastException: Throwable
-
def
loadIvy(coordinates: (String, String, String)): Set[File]
- Definition Classes
- Interpreter → InterpreterInterface
- val mainThread: Thread
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- var predefImports: Imports
- val predefs: Seq[PredefInfo]
- def preprocessScript(source: Source, code: String): Res[(Seq[(String, Seq[String])], Imports, Seq[Seq[ImportTree]])]
- var pressy: Pressy
- val printer: Printer
- def processCorrectScript(blocks: Seq[(String, Seq[String])], startingImports: Imports, pkgName: Seq[Name], wrapperName: Name, evaluate: EvaluateCallback, autoImport: Boolean, extraCode: String): Res[CacheData]
- def processExec(code: String): Res[Imports]
- def processLine(code: String, stmts: Seq[String], fileName: String): Res[Evaluated]
- def processModule(source: Source, code: String, wrapperName: Name, pkgName: Seq[Name], autoImport: Boolean, extraCode: String, hardcoded: Boolean): Res[(Imports, Seq[(String, String)])]
- def processModule0(source: Source, code: String, wrapperName: Name, pkgName: Seq[Name], startingImports: Imports, autoImport: Boolean, extraCode: String): Res[ProcessedData]
- def processScriptBlock(processed: Output, printer: Printer, wrapperName: Name, fileName: String, pkgName: Seq[Name]): Res[Evaluated]
- def reInit(): Unit
- def resolveImportHooks(source: Source, stmts: Seq[String]): Res[(Imports, Seq[String], Seq[ImportTree])]
- def resolveSingleImportHook(source: Source, tree: ImportTree): Res[Seq[Imports]]
- val storage: Storage
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
wd: Path
- Definition Classes
- Interpreter → InterpreterInterface
- def withContextClassloader[T](t: ⇒ T): T