SizeEvaluator

class SizeEvaluator : ValueEvaluator

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
fun SizeEvaluator()

Functions

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

Properties

Link copied to clipboard
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.