class Scripted extends AbstractScriptEngine with Compilable
- Source
- Scripted.scala
- Alphabetic
- By Inheritance
- Scripted
- Compilable
- AbstractScriptEngine
- ScriptEngine
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- ξ new Scripted(factory: ScriptEngineFactory, settings: Settings, out: JPrintWriter)
Value Members
-
ξ
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef β Any
-
ξ
final
def
##(): Int
- Definition Classes
- AnyRef β Any
- ξ def +(other: String): String
- ξ def ->[B](y: B): (Scripted, B)
-
ξ
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef β Any
-
ξ
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
ξ
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
ξ
def
compile(reader: Reader): CompiledScript
- Definition Classes
- Scripted β Compilable
- Annotations
- @throws( ... )
-
ξ
def
compile(script: String): CompiledScript
- Definition Classes
- Scripted β Compilable
- Annotations
- @throws( ... )
- ξ def compile(script: String, context: ScriptContext): CompiledScript
- ξ var compileContext: ScriptContext
-
ξ
def
createBindings(): Bindings
- Definition Classes
- Scripted β ScriptEngine
- ξ final val ctx: String("$ctx")
- ξ def dynamicContext: ScriptContext
- ξ def dynamicContext_=(ctx: ScriptContext): Unit
- ξ def ensuring(cond: (Scripted) β Boolean, msg: β Any): Scripted
- ξ def ensuring(cond: (Scripted) β Boolean): Scripted
- ξ def ensuring(cond: Boolean, msg: β Any): Scripted
- ξ def ensuring(cond: Boolean): Scripted
-
ξ
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
ξ
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef β Any
-
ξ
def
eval(reader: Reader, context: ScriptContext): AnyRef
- Definition Classes
- Scripted β ScriptEngine
- Annotations
- @throws( ... )
-
ξ
def
eval(script: String, context: ScriptContext): AnyRef
- Definition Classes
- Scripted β ScriptEngine
- Annotations
- @throws( ... )
-
ξ
def
eval(arg0: String): AnyRef
- Definition Classes
- AbstractScriptEngine β ScriptEngine
- Annotations
- @throws( ... )
-
ξ
def
eval(arg0: Reader): AnyRef
- Definition Classes
- AbstractScriptEngine β ScriptEngine
- Annotations
- @throws( ... )
-
ξ
def
eval(arg0: String, arg1: Bindings): AnyRef
- Definition Classes
- AbstractScriptEngine β ScriptEngine
- Annotations
- @throws( ... )
-
ξ
def
eval(arg0: Reader, arg1: Bindings): AnyRef
- Definition Classes
- AbstractScriptEngine β ScriptEngine
- Annotations
- @throws( ... )
- ξ val factory: ScriptEngineFactory
-
ξ
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
ξ
def
get(arg0: String): AnyRef
- Definition Classes
- AbstractScriptEngine β ScriptEngine
-
ξ
def
getBindings(arg0: Int): Bindings
- Definition Classes
- AbstractScriptEngine β ScriptEngine
-
ξ
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef β Any
- Annotations
- @native()
-
ξ
def
getContext(): ScriptContext
- Definition Classes
- AbstractScriptEngine β ScriptEngine
-
ξ
def
getFactory(): ScriptEngineFactory
- Definition Classes
- Scripted β ScriptEngine
-
ξ
def
getScriptContext(arg0: Bindings): ScriptContext
- Attributes
- protected[script]
- Definition Classes
- AbstractScriptEngine
-
ξ
def
hashCode(): Int
- Definition Classes
- AnyRef β Any
- Annotations
- @native()
- ξ val intp: IMain { def contextNames: Set[this.global.Name] }
-
ξ
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()
-
ξ
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
ξ
def
put(arg0: String, arg1: Any): Unit
- Definition Classes
- AbstractScriptEngine β ScriptEngine
- ξ val scriptContextRep: (intp)#ReadEvalPrint
-
ξ
def
setBindings(arg0: Bindings, arg1: Int): Unit
- Definition Classes
- AbstractScriptEngine β ScriptEngine
-
ξ
def
setContext(arg0: ScriptContext): Unit
- Definition Classes
- AbstractScriptEngine β ScriptEngine
-
ξ
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( ... ) @native()
- ξ def withCompileContext[A](context: ScriptContext)(body: β A): A
- ξ def withScriptContext[A](context: ScriptContext)(body: β A): A
- ξ def β[B](y: B): (Scripted, B)
Deprecated Value Members
-
ξ
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Scripted to StringFormat[Scripted] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.