ammonite.runtime
What actually lets us compile and execute code in the Ammonite REPL; deals with the Scala compiler, preprocessing the strings, JVM classloaders, etc.
Attributes
Members list
Type members
Classlikes
Evaluates already-compiled Bytecode.
Evaluates already-compiled Bytecode.
Deals with all the munging of Classloaders, Class[_] objects, and Array[Byte]s representing class files, and reflection necessary to take the already-compile Scala bytecode and execute it in our process.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Try to load resources from two parents; necessary to get Ammonite's source code browsing to work in SBT projects because SBT messes up the context classloader https://stackoverflow.com/q/44237791/871202
Try to load resources from two parents; necessary to get Ammonite's source code browsing to work in SBT projects because SBT messes up the context classloader https://stackoverflow.com/q/44237791/871202
Attributes
- Supertypes
-
class ClassLoaderclass Objecttrait Matchableclass Any
Represents a single "frame" of the sess.save/sess.load stack/tree.
Represents a single "frame" of the sess.save/sess.load stack/tree.
Exposes imports and classpath as readable but only writable in particular ways: imports can only be updated via mergeImports, while classpath can only be added to.
Attributes
- Companion
- object
- Supertypes
-
trait Frameclass Objecttrait Matchableclass Any
An extensible hook into the Ammonite REPL's import system; allows the end user to hook into import $foo.bar.{baz, qux => qua} syntax, and in response load jars or process source files before the "current" compilation unit is run. Can be used to load script files, ivy dependencies, jars, or files from the web.
An extensible hook into the Ammonite REPL's import system; allows the end user to hook into import $foo.bar.{baz, qux => qua} syntax, and in response load jars or process source files before the "current" compilation unit is run. Can be used to load script files, ivy dependencies, jars, or files from the web.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BaseClasspathobject Classpathobject PluginClasspathclass BaseIvyobject Ivyobject PluginIvyobject Repoclass SourceHookobject Execobject Fileobject URLShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ImportHook.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SessionChangedclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SessionChanged.type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SpecialClassLoader.type
Classloader used to implement the jar-downloading command-evaluating logic in Ammonite.
Classloader used to implement the jar-downloading command-evaluating logic in Ammonite.
http://stackoverflow.com/questions/3544614/how-is-the-control-flow-to-findclass-of
Attributes
- Companion
- object
- Supertypes
-
class ReplClassLoaderclass URLClassLoadertrait Closeabletrait AutoCloseableclass SecureClassLoaderclass ClassLoaderclass Objecttrait Matchableclass AnyShow all
Trait for the interface of common persistent storage. This handles history and persistent caches. Right now it is not threadsafe nor does it handle the mutual exclusion of files between processes. Mutexes should be added to be able to run multiple Ammonite processes on the same system.
Trait for the interface of common persistent storage. This handles history and persistent caches. Right now it is not threadsafe nor does it handle the mutual exclusion of files between processes. Mutexes should be added to be able to run multiple Ammonite processes on the same system.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes