JSFRuntime<T> class abstract

抽象 JSRuntime 实例。

需要由对应的 js 引擎实现。

Constructors

JSFRuntime.create()
创建 js 引擎。

Properties

hashCode int
The hash code for this object.
no setterinherited
rt ↔ T
实际 js 引擎。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executePendingJob(JSFContext ctx) int
执行轮询任务。 返回值 1 表示成功,0 表示失败。
free() → void
释放 js 引擎。
newContext() JSFContext
创建 js 上下文,js 代码和 js 引擎实际交互者。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited