Class RegexRootNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
com.oracle.truffle.regex.RegexRootNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
public final class RegexRootNode
extends com.oracle.truffle.api.nodes.RootNode
-
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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.oracle.truffle.api.frame.FrameDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThrows aRegexInterruptedExceptionif the current thread is marked as interrupted.execute(com.oracle.truffle.api.frame.VirtualFrame frame) com.oracle.truffle.api.source.SourceSectiontoString()Methods inherited from class com.oracle.truffle.api.nodes.RootNode
cloneUninitialized, computeSize, copy, countsTowardsStackTraceLimit, createConstantNode, findAsynchronousFrames, findBytecodeIndex, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isInternal, isSameFrame, isTrivial, prepareForAOT, translateStackTraceElementMethods inherited from class com.oracle.truffle.api.nodes.ExecutableNode
getLanguage, getLanguageInfoMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize
-
Field Details
-
SHARED_EMPTY_FRAMEDESCRIPTOR
public static final com.oracle.truffle.api.frame.FrameDescriptor SHARED_EMPTY_FRAMEDESCRIPTOR
-
-
Constructor Details
-
RegexRootNode
-
-
Method Details
-
getSource
-
getBodyUnwrapped
-
getSourceSection
public com.oracle.truffle.api.source.SourceSection getSourceSection()- Overrides:
getSourceSectionin classcom.oracle.truffle.api.nodes.Node
-
execute
- Specified by:
executein classcom.oracle.truffle.api.nodes.RootNode
-
toString
- Overrides:
toStringin classcom.oracle.truffle.api.nodes.Node
-
checkThreadInterrupted
public static void checkThreadInterrupted()Throws aRegexInterruptedExceptionif the current thread is marked as interrupted. This method should be called in interpreter mode only, since all cancel requests will cause a deopt on the entire AST held by this root node.
-