Class DisposeResourcesNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.control.DisposeResourcesNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Method Summary
Modifier and TypeMethodDescriptionprotected final Objectprotected final ObjectcaptureDisposeError(Throwable throwable) protected final ObjectcombineDisposeErrors(Object newError, Object currentError) static DisposeResourcesNodecreate()protected final JSErrorObjectcreateSuppressedErrorObject(Object error, Object suppressed) voidexecute(DisposeCapability capability, Object currentError) protected final voidthrowError(Object errorObject) protected final ObjecttoErrorObject(Throwable throwable) Methods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Method Details
-
create
-
execute
-
callDisposeMethod
-
toErrorObject
-
captureDisposeError
-
combineDisposeErrors
-
throwError
-
createSuppressedErrorObject
-