public class RhinoTopLevel extends AbstractRhinoTopLevel
| Constructor and Description |
|---|
RhinoTopLevel(org.mozilla.javascript.Context cx) |
RhinoTopLevel(org.mozilla.javascript.Context cx,
boolean sealed) |
| Modifier and Type | Method and Description |
|---|---|
static void |
installNativeRequire(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable globalScope,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.commonjs.module.provider.ModuleSourceProvider sourceProvider) |
static void |
load(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static void |
loadModule(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Path modulePath) |
static void |
print(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
print function exported to javascript
|
_load, _print, deref, initStandardObjectsexecIdCall, findPrototypeId, get, getClassName, has, importPackage, init, initPrototypeIdcacheBuiltins, getBuiltinCtor, getBuiltinCtor, getBuiltinPrototype, getBuiltinPrototypeactivatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getOwnPropertyDescriptor, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdAttributes, setInstanceIdValueapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic RhinoTopLevel(org.mozilla.javascript.Context cx)
cx - sealed - public RhinoTopLevel(org.mozilla.javascript.Context cx,
boolean sealed)
cx - sealed - public static void print(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
cx - thisObj - args - funObj - public static void load(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
throws Exception
cx - thisObj - args - funObj - Exceptionpublic static void loadModule(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Path modulePath)
public static void installNativeRequire(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable globalScope,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.commonjs.module.provider.ModuleSourceProvider sourceProvider)
Copyright © 2017. All rights reserved.