sealed trait ConfigLike extends AnyRef
- Alphabetic
- By Inheritance
- ConfigLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def bindings: Seq[(String, Any)]
A list of bindings which make objects in the hosting environment available to the interpreter under a given name.
- abstract def executor: String
An injected code fragment which precedes the evaluation of the each interpreted line's wrapping object.
An injected code fragment which precedes the evaluation of the each interpreted line's wrapping object.
For example if the interpreted code was
val foo = 33, the actually compiled code looks likeval res = <execution> { object <synthetic> { val foo = 33 }}
The executor can be used for example to set a particular context needed during the evaluation of the object's body. Then most probably it will be defined to take a thunk argument, for instance:
object MyExecutor { def apply[A](thunk: => A): A = concurrent.stm.atomic(_ => thunk) config.executor = "MyExecutor"
Then the evaluated code may find the STM transaction using
Txn.findCurrent - abstract def imports: Seq[String]
A list of package names to import to the scope of the interpreter.
- abstract def out: Option[Writer]
The interpreter's output printing device.
- abstract def quietImports: Boolean
Whether initial imports should be performed silently (
true) or not (false).Whether initial imports should be performed silently (
true) or not (false). Not silent means the imported packages' names will be printed to the default printing device (out).
Concrete 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
- implicit def build(b: ConfigBuilder): Config
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated