Class DefaultVisualizer
java.lang.Object
com.oracle.truffle.api.instrument.impl.DefaultVisualizer
- All Implemented Interfaces:
Visualizer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayCallTargetName
(CallTarget callTarget) The name of the method.displayIdentifier
(FrameSlot slot) Converts a slot identifier in the guest language to a display string.displayMethodName
(Node node) Describes the name of the method containing a node.displaySourceLocation
(Node node) A short description of a source location in terms of source + line number.displayValue
(ExecutionContext context, Object value) Converts a value in the guest language to a display string.Gets a printer for Truffle ASTs, possibly specialized to be helpful for a specific guest language implementation.
-
Constructor Details
-
DefaultVisualizer
public DefaultVisualizer()
-
-
Method Details
-
getASTPrinter
Description copied from interface:Visualizer
Gets a printer for Truffle ASTs, possibly specialized to be helpful for a specific guest language implementation.- Specified by:
getASTPrinter
in interfaceVisualizer
-
displaySourceLocation
Description copied from interface:Visualizer
A short description of a source location in terms of source + line number.- Specified by:
displaySourceLocation
in interfaceVisualizer
-
displayMethodName
Description copied from interface:Visualizer
Describes the name of the method containing a node.- Specified by:
displayMethodName
in interfaceVisualizer
-
displayCallTargetName
Description copied from interface:Visualizer
The name of the method.- Specified by:
displayCallTargetName
in interfaceVisualizer
-
displayValue
Description copied from interface:Visualizer
Converts a value in the guest language to a display string.- Specified by:
displayValue
in interfaceVisualizer
-
displayIdentifier
Description copied from interface:Visualizer
Converts a slot identifier in the guest language to a display string.- Specified by:
displayIdentifier
in interfaceVisualizer
-