public final class NativeGenerator extends IdScriptableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
NativeGenerator.GeneratorClosedException |
| Modifier and Type | Field and Description |
|---|---|
static int |
GENERATOR_CLOSE |
static int |
GENERATOR_SEND |
static int |
GENERATOR_THROW |
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
NativeGenerator(Scriptable scope,
NativeFunction function,
Object savedState) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned.
|
void |
finalize()
Close the generator if it is still open.
|
protected int |
findPrototypeId(String s) |
String |
getClassName()
Return the name of the class.
|
protected void |
initPrototypeId(int id) |
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, delete, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, get, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdValueassociateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypepublic static final int GENERATOR_SEND
public static final int GENERATOR_THROW
public static final int GENERATOR_CLOSE
public NativeGenerator(Scriptable scope, NativeFunction function, Object savedState)
public String getClassName()
ScriptableObjectgetClassName in interface ScriptablegetClassName in class ScriptableObjectpublic void finalize()
throws Throwable
protected void initPrototypeId(int id)
initPrototypeId in class IdScriptableObjectpublic Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
IdScriptableObjectexecIdCall in interface IdFunctionCallexecIdCall in class IdScriptableObjectprotected int findPrototypeId(String s)
findPrototypeId in class IdScriptableObjectCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.