Dumper - Get expressions
This commit is contained in:
parent
082acaaa1e
commit
2bdf675090
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue