Class TRegexLiteralLookAroundExecutorNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.regex.tregex.nodes.TRegexExecutorBaseNode
com.oracle.truffle.regex.tregex.nodes.TRegexExecutorNode
com.oracle.truffle.regex.tregex.nodes.nfa.TRegexBacktrackerSubExecutorNode
com.oracle.truffle.regex.tregex.nodes.nfa.TRegexLiteralLookAroundExecutorNode
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode,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.ChildrenNested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode -
Field Summary
Fields inherited from class com.oracle.truffle.regex.tregex.nodes.nfa.TRegexBacktrackerSubExecutorNode
NO_SUB_EXECUTORS, subExecutorsFields inherited from class com.oracle.truffle.regex.tregex.nodes.TRegexExecutorNode
ASTRAL_PROBABILITY, BMP_PROBABILITY, CONTINUE_PROBABILITY, EXIT_PROBABILITY, LATIN1_PROBABILITY -
Method Summary
Modifier and TypeMethodDescriptioncreate(RegexAST ast, LookAroundAssertion lookAround, CompilationBuffer compilationBuffer) createLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int maxIndex, int regionFrom, int regionTo, int index) execute(com.oracle.truffle.api.frame.VirtualFrame frame, TRegexExecutorLocals abstractLocals, com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange) getName()intbooleanbooleanReturnstrueif this executor may write any new capture group boundaries.Methods inherited from class com.oracle.truffle.regex.tregex.nodes.TRegexExecutorNode
countUpTo, getAstralProfile, getBMPProfile, getMaxIndex, getMinIndex, getNumberOfCaptureGroups, getNumberOfTransitions, getSource, inputAdvance, inputAtBegin, inputAtEnd, inputGetCodePointSize, inputGetCodePointSize, inputHasNext, inputHasNext, inputHasNext, inputIncNextIndexRaw, inputIncNextIndexRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputReadAndDecode, inputReadAndDecode, inputReadRaw, inputReadRaw, inputReadRaw, inputReadRaw, inputSkip, inputSkipIntl, inputSkipReverse, inputUTF16IsHighSurrogate, inputUTF16IsLowSurrogate, inputUTF16ToCodePoint, isSimpleCG, rewindUpToMethods inherited from class com.oracle.truffle.regex.tregex.nodes.TRegexExecutorBaseNode
createWrapper, getEncoding, isBooleanMatch, isInstrumentable, isTrivial, isUTF16, isUTF32, isUTF8, unwrapMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
findNearestNodeAt, findNearestNodeAt, getNodeObject, hasTag, materializeInstrumentableNodes
-
Method Details
-
create
public static TRegexLiteralLookAroundExecutorNode create(RegexAST ast, LookAroundAssertion lookAround, CompilationBuffer compilationBuffer) -
shallowCopy
- Specified by:
shallowCopyin classTRegexBacktrackerSubExecutorNode
-
getNumberOfStates
public int getNumberOfStates()- Specified by:
getNumberOfStatesin classTRegexExecutorBaseNode
-
getName
- Specified by:
getNamein classTRegexExecutorBaseNode
-
isForward
public boolean isForward()- Specified by:
isForwardin classTRegexExecutorBaseNode
-
writesCaptureGroups
public boolean writesCaptureGroups()Description copied from class:TRegexExecutorBaseNodeReturnstrueif this executor may write any new capture group boundaries.- Specified by:
writesCaptureGroupsin classTRegexExecutorBaseNode
-
createLocals
public TRegexExecutorLocals createLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int maxIndex, int regionFrom, int regionTo, int index) - Specified by:
createLocalsin classTRegexExecutorBaseNode
-
execute
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame, TRegexExecutorLocals abstractLocals, com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange) - Specified by:
executein classTRegexExecutorBaseNode
-