How do I generate a view of the AST of an expression?