Dumper - Get expressions

This commit is contained in:
Emmanuel BENOîT 2023-01-09 06:55:41 +01:00
parent 082acaaa1e
commit 2bdf675090

View file

@ -264,7 +264,11 @@ fn dump_expr_node(dumper: &mut Dumper, expr: &ExprNode) {
dumper.current_line().push(')'); dumper.current_line().push(')');
} }
ExprNode::Get(_) => todo!(), ExprNode::Get(get_expr) => {
dump_expr_node(dumper, &get_expr.instance);
dumper.current_line().push('.');
dumper.current_line().push_str(&get_expr.name.lexeme);
}
} }
} }