evaluate


Description:

public bool evaluate (Object? this_, Value value)

Evaluates the given expression and on success stores the result in value.

The Type of value will be the type given by get_value_type.

It is possible that expressions cannot be evaluated - for example when the expression references objects that have been destroyed or set to null. In that case value will remain empty and false will be returned.

Parameters:

this

a Expression

this_

the this argument for the evaluation

value

an empty Value

Returns:

true if the expression could be evaluated