public abstract class XStreamUtils
extends Object
Serializes AST structures to XML for debugging.
Serializes the supplied AST object to an XML file next to the named source. The file is given the source file's permissions, so it exposes no more than the source already does; where there is no source file to match, or the filesystem has no POSIX permissions, the file is owner-only or left to the default respectively.
name - the source name or URI used to derive the XML file nameast - the AST object to serialize