public class Script extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
Script(Objs.Constructor<?> c,
Object js) |
|
Script(String code) |
|
Script(String code,
ScriptOptions options) |
Modifier and Type | Method and Description |
---|---|
static Script |
$as(Object obj) |
Object |
runInContext(Context contextifiedSandbox) |
Object |
runInContext(Context contextifiedSandbox,
RunningScriptOptions options) |
Object |
runInNewContext() |
Object |
runInNewContext(Context sandbox) |
Object |
runInNewContext(Context sandbox,
RunningScriptOptions options) |
Object |
runInThisContext() |
Object |
runInThisContext(RunningScriptOptions options) |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected Script(Objs.Constructor<?> c, Object js)
public Script(String code, ScriptOptions options)
public Script(String code)
public Object runInContext(Context contextifiedSandbox, RunningScriptOptions options)
public Object runInNewContext(Context sandbox, RunningScriptOptions options)
public Object runInNewContext()
public Object runInThisContext(RunningScriptOptions options)
public Object runInThisContext()
Copyright © 2018. All rights reserved.