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 classstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSONHelper.JSONArrayBuilderarray()static voiddumpNewChild(Node parentNode, Node childNode) static voiddumpNewNode(Node newNode) static voiddumpReplaceChild(Node oldNode, Node newNode, CharSequence reason) static Stringstatic JSONHelper.JSONObjectBuilderobject()static voidrestart()
-
Constructor Details
-
JSONHelper
public JSONHelper()
-
-
Method Details
-
dumpNewChild
-
dumpReplaceChild
-
dumpNewNode
-
getResult
-
restart
public static void restart() -
object
-
array
-