Class JSONHelper


  • public class JSONHelper
    extends java.lang.Object
    Helper function that allows to dump the AST during creation to a JSON format.
    • Constructor Detail

      • JSONHelper

        public JSONHelper()
    • Method Detail

      • dumpNewChild

        public static void dumpNewChild​(Node parentNode,
                                        Node childNode)
      • dumpReplaceChild

        public static void dumpReplaceChild​(Node oldNode,
                                            Node newNode,
                                            java.lang.CharSequence reason)
      • dumpNewNode

        public static void dumpNewNode​(Node newNode)
      • getResult

        public static java.lang.String getResult()
      • restart

        public static void restart()