resetContext

fun resetContext(nullGlobalContext: Boolean)

Resets the script engine context, clearing all variable and type mappings.

Parameters

nullGlobalContext

if true, sets the global scope bindings to null