print AST