Method astToString and cscan