SizeEvaluator

Simple evaluation of the size of an object. Right now, it can only support a statically given size of arrays and strings.

Constructors

Link copied to clipboard
constructor()

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?