Class Unparser

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Unparser
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Unparses (un-compiles) an AST to a Writer. See main(String[]) for a usage example.
    • Field Detail

      • pw

        protected final java.io.PrintWriter pw
        Where the visit...() methods print their text. Notice that this PrintWriter does not print to the output directly, but through an AutoIndentWriter.
    • Constructor Detail

      • Unparser

        public Unparser​(java.io.Writer w)