Package com.oracle.truffle.api.utilities
Class JSONHelper
java.lang.Object
com.oracle.truffle.api.utilities.JSONHelper
Helper function that allows to dump the AST during creation to a JSON format.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSONHelper.JSONArrayBuilder
array()
static void
dumpNewChild
(Node parentNode, Node childNode) static void
dumpNewNode
(Node newNode) static void
dumpReplaceChild
(Node oldNode, Node newNode, CharSequence reason) static String
static JSONHelper.JSONObjectBuilder
object()
static void
restart()
-
Constructor Details
-
JSONHelper
public JSONHelper()
-
-
Method Details
-
dumpNewChild
-
dumpReplaceChild
-
dumpNewNode
-
getResult
-
restart
public static void restart() -
object
-
array
-