PythonExprEvaluator

An expression evaluator backed by the Python (Jython) scripting engine (py extension).

Evaluates Python expressions and returns boolean or arbitrary results. Expressions pass the same best-effort checks as PythonScript code first; see PythonGuards.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun compute(expr: String): Any?
Link copied to clipboard
fun eval(expr: String): Boolean
Link copied to clipboard
fun resetContext(nullGlobalContext: Boolean)