1
namespace VQDR.Expression {
3
public class RootToken : Token {
7
this.mandatory_num_child = 1;
8
this.optional_num_child = 0;
11
public RootToken (Token? root = null) {
13
this.set_child (1, root);
16
protected override void evaluate_self (Context instance) throws GLib.Error {
17
Token? child = get_child (1);
18
child.evaluate (instance);
19
this.result_value = child.result_value;
20
this.result_max_value = child.result_max_value;
21
this.result_min_value = child.result_min_value;
22
this.result_string = child.result_string;