Class StandardTags.CallTag

java.lang.Object
com.oracle.truffle.api.instrumentation.Tag
com.oracle.truffle.api.instrumentation.StandardTags.CallTag
Enclosing class:
StandardTags

public static final class StandardTags.CallTag extends Tag
Marks program locations that represent a call to other guest language functions, methods or closures.

Use case descriptions:

  • Debugger: Marks program locations where returning or stepping out from a method/procedure/closure call should halt. The debugger will halt at the code location that has just executed the call that returned.
The CallTag uses the identifier "CALL". A node tagged with StandardTags.CallTag must provide a source section, if its root node provides a source section.

If the a node tagged with call returns a non null value then it must be an interop value. There are assertions in place verifying this when Java assertions are enabled (-ea).

Since:
0.12