public interface Visualizer
Disclaimer: experimental interface under development.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
displayCallTargetName(CallTarget callTarget)
The name of the method.
|
java.lang.String |
displayIdentifier(FrameSlot slot)
Converts a slot identifier in the guest language to a display string.
|
java.lang.String |
displayMethodName(Node node)
Describes the name of the method containing a node.
|
java.lang.String |
displaySourceLocation(Node node)
A short description of a source location in terms of source + line number.
|
java.lang.String |
displayValue(ExecutionContext context,
java.lang.Object value)
Converts a value in the guest language to a display string.
|
ASTPrinter |
getASTPrinter()
Gets a printer for Truffle ASTs, possibly specialized to be helpful for a specific guest
language implementation.
|
ASTPrinter getASTPrinter()
java.lang.String displaySourceLocation(Node node)
java.lang.String displayMethodName(Node node)
java.lang.String displayCallTargetName(CallTarget callTarget)
java.lang.String displayValue(ExecutionContext context, java.lang.Object value)
java.lang.String displayIdentifier(FrameSlot slot)