AbstractExprEvaluator

abstract class AbstractExprEvaluator(extension: String) : AbstractEngine

Constructors

Link copied to clipboard
constructor(extension: String)

Properties

Link copied to clipboard

The underlying JSR 223 script engine for this extension.

Functions

Link copied to clipboard
fun compute(expr: String): Any

Evaluates the given expression and returns the result as Any.

Link copied to clipboard
fun eval(expr: String): Boolean
Link copied to clipboard
fun resetContext(nullGlobalContext: Boolean = false)

Resets the script engine context, clearing all bindings and state.