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:VisualizerGets a printer for Truffle ASTs, possibly specialized to be helpful for a specific guest language implementation.- Specified by:
getASTPrinterin interfaceVisualizer
-
displaySourceLocation
Description copied from interface:VisualizerA short description of a source location in terms of source + line number.- Specified by:
displaySourceLocationin interfaceVisualizer
-
displayMethodName
Description copied from interface:VisualizerDescribes the name of the method containing a node.- Specified by:
displayMethodNamein interfaceVisualizer
-
displayCallTargetName
Description copied from interface:VisualizerThe name of the method.- Specified by:
displayCallTargetNamein interfaceVisualizer
-
displayValue
Description copied from interface:VisualizerConverts a value in the guest language to a display string.- Specified by:
displayValuein interfaceVisualizer
-
displayIdentifier
Description copied from interface:VisualizerConverts a slot identifier in the guest language to a display string.- Specified by:
displayIdentifierin interfaceVisualizer
-