1
namespace VQDR.Expression {
3
public class VariableValueToken : ValueToken {
8
this.priority = PRIO_VALUE;
11
public VariableValueToken (string name, int position) {
17
public override void evaluate_self (Context instance) throws GLib.Error {
18
// in the original code there was a check to see if the intance
19
// was null, this is not needed here as we don't allow null for that
22
result_value = instance.get_value (name);
23
result_string = "[" + name + ":" + result_value.to_string () + "]";
24
} catch (GLib.Error? e) {
25
result_value = result_min_value = result_max_value = 0;
28
GLib.Error? err = null;
29
GLib.Error.propagate (out err, e);