From 2bdf6750906b39f0606e69025c062e339dc94fc2 Mon Sep 17 00:00:00 2001 From: Emmanuel Benoit Date: Mon, 9 Jan 2023 06:55:41 +0100 Subject: [PATCH] Dumper - Get expressions --- src/dumper.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/dumper.rs b/src/dumper.rs index 18d22d8..1e7b8f6 100644 --- a/src/dumper.rs +++ b/src/dumper.rs @@ -264,7 +264,11 @@ fn dump_expr_node(dumper: &mut Dumper, expr: &ExprNode) { 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); + } } }