Pretty print variable accesses and assignments
This commit is contained in:
parent
5bd43ee37a
commit
c7fc8584ff
3 changed files with 47 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for Expr {
|
|||
Self::Lit(lit) => lit.pretty(allocator),
|
||||
Self::Call(call) => call.pretty(allocator),
|
||||
Self::Field(field) => field.pretty(allocator),
|
||||
Self::Var(var) => allocator.text("<var>"),
|
||||
Self::Var(var) => var.pretty(allocator),
|
||||
Self::TableConstr(constr) => constr.pretty(allocator),
|
||||
Self::TableDestr(destr) => allocator.text("<destr>"),
|
||||
Self::FuncDef(def) => allocator.text("<def>"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue