Pretty print function calls
This commit is contained in:
parent
fc139c31f4
commit
81e2a28b06
3 changed files with 34 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for Expr {
|
|||
fn pretty(self, allocator: &'a D) -> DocBuilder<'a, D> {
|
||||
match self {
|
||||
Self::Lit(lit) => lit.pretty(allocator),
|
||||
Self::Call(call) => allocator.text("<call>"),
|
||||
Self::Call(call) => call.pretty(allocator),
|
||||
Self::Field(field) => allocator.text("<field>"),
|
||||
Self::Var(var) => allocator.text("<var>"),
|
||||
Self::TableConstr(constr) => constr.pretty(allocator),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue