MultiValueEvaluator

This ValueEvaluator can resolve multiple possible values of a node.

It requires running the EdgeCachePass after the translation to add all necessary edges.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val cannotEvaluate: (Node?, ValueEvaluator) -> Any?

Contains a reference to a function that gets called if the value cannot be resolved by the standard behaviour.

Link copied to clipboard
val path: MutableList<Node>

This property contains the path of the latest execution of evaluateInternal.

Functions

Link copied to clipboard
fun clearPath()
Link copied to clipboard
open override fun evaluate(node: Any?): Any?