Class StandardTags.TryBlockTag
java.lang.Object
com.oracle.truffle.api.instrumentation.Tag
com.oracle.truffle.api.instrumentation.StandardTags.TryBlockTag
- Enclosing class:
StandardTags
Marks program locations to be considered as try blocks, that are followed by catch. To
determine which exceptions are caught by
InstrumentableNode
tagged with this tag, the
node might provide a node object
that has
catches
function, which takes a an interop value that returns true
for InteropLibrary.isException(Object)
and returns a boolean value indicating whether
the try block catches the exception, or not. When this block catches all exceptions, no
special node object or catches function needs to be provided.- Since:
- 19.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.instrumentation.Tag
Tag.Identifier
-
Field Summary
-
Method Summary
Methods inherited from class com.oracle.truffle.api.instrumentation.Tag
findProvidedTag, getIdentifier
-
Field Details
-
CATCHES
Name of thecatches
function.- Since:
- 19.0
- See Also:
-