B C D E F G H I J L M P Q R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BytecodeModuleLoader() - Constructor for class com.whl.quickjs.wrapper.QuickJSContext.BytecodeModuleLoader
C
- call(Object...) - Method in interface com.whl.quickjs.wrapper.JSCallFunction
- call(Object...) - Method in class com.whl.quickjs.wrapper.JSFunction
- callFunctionBack(int, Object...) - Method in class com.whl.quickjs.wrapper.QuickJSContext
-
该方法只提供给 Native 层回调.
- com.whl.quickjs.wrapper - package com.whl.quickjs.wrapper
- compile(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- compile(String, String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- compileModule(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- compileModule(String, String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- create() - Static method in class com.whl.quickjs.wrapper.QuickJSContext
- createNewJSArray() - Method in class com.whl.quickjs.wrapper.QuickJSContext
- createNewJSObject() - Method in class com.whl.quickjs.wrapper.QuickJSContext
D
- DefaultModuleLoader() - Constructor for class com.whl.quickjs.wrapper.QuickJSContext.DefaultModuleLoader
- destroy() - Method in class com.whl.quickjs.wrapper.QuickJSContext
- dumpMemoryUsage() - Method in class com.whl.quickjs.wrapper.QuickJSContext
- dumpMemoryUsage(File) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- dumpObjects() - Method in class com.whl.quickjs.wrapper.QuickJSContext
- dumpObjects(File) - Method in class com.whl.quickjs.wrapper.QuickJSContext
E
- equals(Object) - Method in class com.whl.quickjs.wrapper.JSObject
- evaluate(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- evaluate(String, String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- evaluateModule(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- evaluateModule(String, String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- execute(byte[]) - Method in class com.whl.quickjs.wrapper.QuickJSContext
F
- freeValue(JSObject) - Method in class com.whl.quickjs.wrapper.QuickJSContext
G
- get(int) - Method in class com.whl.quickjs.wrapper.JSArray
- get(JSArray, int) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- getBoolean(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getBooleanProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
- getContext() - Method in class com.whl.quickjs.wrapper.JSObject
- getCurrentThreadId() - Method in class com.whl.quickjs.wrapper.QuickJSContext
- getDouble(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getDoubleProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
- getGlobalObject() - Method in class com.whl.quickjs.wrapper.QuickJSContext
- getInteger(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getIntProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
- getJSArray(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getJSArrayProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
- getJSFunction(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getJSFunctionProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
- getJSObject(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getJSObjectProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
- getLong(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getModuleBytecode(String) - Method in interface com.whl.quickjs.wrapper.ModuleLoader
-
获取字节码代码内容
- getModuleBytecode(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext.DefaultModuleLoader
- getModuleLoader() - Method in class com.whl.quickjs.wrapper.QuickJSContext
- getModuleStringCode(String) - Method in interface com.whl.quickjs.wrapper.ModuleLoader
-
获取字符串代码内容
- getModuleStringCode(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext.BytecodeModuleLoader
- getNames() - Method in class com.whl.quickjs.wrapper.JSObject
- getOwnPropertyNames() - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
- getPointer() - Method in class com.whl.quickjs.wrapper.JSObject
- getProperty(JSObject, String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- getProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getString(String) - Method in class com.whl.quickjs.wrapper.JSObject
- getStringProperty(String) - Method in class com.whl.quickjs.wrapper.JSObject
-
Deprecated.
H
- hashCode() - Method in class com.whl.quickjs.wrapper.JSObject
- hold() - Method in class com.whl.quickjs.wrapper.JSObject
- hold(JSObject) - Method in class com.whl.quickjs.wrapper.QuickJSContext
-
Automatically manage the release of objects, the hold method is equivalent to call the dupValue and freeDupValue methods with NativeCleaner.
I
- isAlive() - Method in class com.whl.quickjs.wrapper.JSObject
- isBytecodeMode() - Method in interface com.whl.quickjs.wrapper.ModuleLoader
-
模块加载模式: True 会调用
ModuleLoader.getModuleBytecode(String)False 会调用ModuleLoader.getModuleStringCode(String) - isBytecodeMode() - Method in class com.whl.quickjs.wrapper.QuickJSContext.BytecodeModuleLoader
- isBytecodeMode() - Method in class com.whl.quickjs.wrapper.QuickJSContext.DefaultModuleLoader
- isJSError() - Method in exception com.whl.quickjs.wrapper.QuickJSException
- isLiveObject(JSObject) - Method in class com.whl.quickjs.wrapper.QuickJSContext
J
- JSArray - Class in com.whl.quickjs.wrapper
- JSArray(QuickJSContext, long) - Constructor for class com.whl.quickjs.wrapper.JSArray
- JSCallFunction - Interface in com.whl.quickjs.wrapper
- JSFunction - Class in com.whl.quickjs.wrapper
- JSFunction(QuickJSContext, long, long) - Constructor for class com.whl.quickjs.wrapper.JSFunction
- JSMethod - Annotation Type in com.whl.quickjs.wrapper
- JSObject - Class in com.whl.quickjs.wrapper
- JSObject(QuickJSContext, long) - Constructor for class com.whl.quickjs.wrapper.JSObject
L
- length() - Method in class com.whl.quickjs.wrapper.JSArray
- length(JSArray) - Method in class com.whl.quickjs.wrapper.QuickJSContext
M
- ModuleLoader - Interface in com.whl.quickjs.wrapper
-
Created by Harlon Wang on 2023/8/26.
P
- parse(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- parseJSON(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
-
Deprecated.
Q
- QuickJSContext - Class in com.whl.quickjs.wrapper
- QuickJSContext.BytecodeModuleLoader - Class in com.whl.quickjs.wrapper
- QuickJSContext.DefaultModuleLoader - Class in com.whl.quickjs.wrapper
- QuickJSException - Exception in com.whl.quickjs.wrapper
-
Created by Harlon Wang on 2022/2/8.
- QuickJSException(String) - Constructor for exception com.whl.quickjs.wrapper.QuickJSException
- QuickJSException(String, boolean) - Constructor for exception com.whl.quickjs.wrapper.QuickJSException
R
- release() - Method in class com.whl.quickjs.wrapper.JSObject
-
JSObject 确定不再使用后,调用该方法可主动释放对 JS 对象的引用。 注意:该方法不能调用多次以及释放后不能再被使用对应的 JS 对象。
- removeCallFunction(int) - Method in class com.whl.quickjs.wrapper.QuickJSContext
-
该方法只提供给 Native 层回调.
- runGC() - Method in class com.whl.quickjs.wrapper.QuickJSContext
S
- set(JSArray, Object, int) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- set(Object, int) - Method in class com.whl.quickjs.wrapper.JSArray
- setMaxStackSize(int) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- setMemoryLimit(int) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- setModuleLoader(ModuleLoader) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- setProperty(JSObject, String, Object) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- setProperty(String, boolean) - Method in class com.whl.quickjs.wrapper.JSObject
- setProperty(String, double) - Method in class com.whl.quickjs.wrapper.JSObject
- setProperty(String, int) - Method in class com.whl.quickjs.wrapper.JSObject
- setProperty(String, long) - Method in class com.whl.quickjs.wrapper.JSObject
- setProperty(String, JSCallFunction) - Method in class com.whl.quickjs.wrapper.JSObject
- setProperty(String, JSObject) - Method in class com.whl.quickjs.wrapper.JSObject
- setProperty(String, Class) - Method in class com.whl.quickjs.wrapper.JSObject
-
Class 添加
JSMethod的方法会被注入到 JSContext 中 注意:该方法暂不支持匿名内部类的注册,因为匿名内部类构造参数不是无参的,newInstance 时会报错 - setProperty(String, String) - Method in class com.whl.quickjs.wrapper.JSObject
- stringify() - Method in class com.whl.quickjs.wrapper.JSObject
- stringify(JSObject) - Method in class com.whl.quickjs.wrapper.QuickJSContext
T
- throwJSException(String) - Method in class com.whl.quickjs.wrapper.QuickJSContext
- toString() - Method in class com.whl.quickjs.wrapper.JSObject
-
这里与 JavaScript 的 toString 方法保持一致 返回结果参考:https://262.ecma-international.org/14.0/#sec-tostring
All Classes All Packages