can generate string representation of ast