ScriptContext

脚本上下文, 可以获取当前正在运行的脚本.

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract override fun close()

回收资源, 不要手动调用.

Link copied to clipboard
abstract fun getBindings(): ScriptBindings

获取脚本绑定对象.

Link copied to clipboard
abstract override fun getContext(): ScriptContext

获取脚本上下文对象.

Link copied to clipboard
abstract fun getCurrentScript(): Script<*>

获取当前上下文绑定的脚本对象.