Package ws.siri.jscore.mapping
Class JSFunction
java.lang.Object
org.mozilla.javascript.ScriptableObject
ws.siri.jscore.mapping.JSFunction
- All Implemented Interfaces:
Serializable,org.mozilla.javascript.Callable,org.mozilla.javascript.ConstProperties,org.mozilla.javascript.Constructable,org.mozilla.javascript.debug.DebuggableObject,org.mozilla.javascript.Function,org.mozilla.javascript.Scriptable,org.mozilla.javascript.SymbolScriptable,ws.siri.yarnwrap.common.ScriptFunction
public class JSFunction
extends org.mozilla.javascript.ScriptableObject
implements org.mozilla.javascript.Function, ws.siri.yarnwrap.common.ScriptFunction
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.javascript.ScriptableObject
org.mozilla.javascript.ScriptableObject.KeyComparator -
Field Summary
FieldsFields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTFields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, Object[] args) org.mozilla.javascript.Scriptableconstruct(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object[] args) toString()Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChangeForSlot, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.mozilla.javascript.Scriptable
delete, delete, get, get, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype
-
Field Details
-
internal
public final ws.siri.yarnwrap.mapping.JavaFunction internal
-
-
Constructor Details
-
JSFunction
public JSFunction(ws.siri.yarnwrap.mapping.JavaFunction internal)
-
-
Method Details
-
run
- Specified by:
runin interfacews.siri.yarnwrap.common.ScriptFunction- Throws:
Exception
-
call
public Object call(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, Object[] args) - Specified by:
callin interfaceorg.mozilla.javascript.Callable- Specified by:
callin interfaceorg.mozilla.javascript.Function
-
construct
public org.mozilla.javascript.Scriptable construct(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object[] args) - Specified by:
constructin interfaceorg.mozilla.javascript.Constructable- Specified by:
constructin interfaceorg.mozilla.javascript.Function
-
getClassName
- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein classorg.mozilla.javascript.ScriptableObject
-
toString
-