Print AST on console.