Class CoverageEventNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.instrumentation.ExecutionEventNode
org.graalvm.tools.lsp.server.utils.CoverageEventNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
public final class CoverageEventNode
extends com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionCoverageEventNode(com.oracle.truffle.api.source.SourceSection instrumentedSection, com.oracle.truffle.api.nodes.Node instrumentedNode, URI coverageUri, Function<URI, TextDocumentSurrogate> func, long creatorThreadId) -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.oracle.truffle.api.nodes.NodevoidinsertOrReplaceChild(com.oracle.truffle.api.nodes.Node node) protected voidonEnter(com.oracle.truffle.api.frame.VirtualFrame frame) Methods inherited from class com.oracle.truffle.api.instrumentation.ExecutionEventNode
getInputContext, getInputCount, getSavedInputValues, onDispose, onInputValue, onResume, onReturnExceptional, onReturnValue, onUnwind, onYield, saveInputValueMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
CoverageEventNode
public CoverageEventNode(com.oracle.truffle.api.source.SourceSection instrumentedSection, com.oracle.truffle.api.nodes.Node instrumentedNode, URI coverageUri, Function<URI, TextDocumentSurrogate> func, long creatorThreadId)
-
-
Method Details
-
getInstrumentedNode
public com.oracle.truffle.api.nodes.Node getInstrumentedNode() -
onEnter
protected void onEnter(com.oracle.truffle.api.frame.VirtualFrame frame) - Overrides:
onEnterin classcom.oracle.truffle.api.instrumentation.ExecutionEventNode
-
insertOrReplaceChild
public void insertOrReplaceChild(com.oracle.truffle.api.nodes.Node node) -
clearChild
public void clearChild()
-