Package com.oracle.truffle.api.strings
Class TruffleString.SubstringByteIndexNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode
- All Implemented Interfaces:
NodeInterface
,Cloneable
- Enclosing class:
TruffleString
TruffleString.SubstringNode
, but with byte indices.- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a newTruffleString.SubstringByteIndexNode
.abstract TruffleString
execute
(AbstractTruffleString a, int fromByteIndex, int byteLength, TruffleString.Encoding expectedEncoding, boolean lazy) TruffleString.SubstringNode
, but with byte indices.Get the uncached version ofTruffleString.SubstringByteIndexNode
.Methods 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, toString
-
Method Details
-
execute
public abstract TruffleString execute(AbstractTruffleString a, int fromByteIndex, int byteLength, TruffleString.Encoding expectedEncoding, boolean lazy) TruffleString.SubstringNode
, but with byte indices.- Since:
- 22.1
-
create
Create a newTruffleString.SubstringByteIndexNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleString.SubstringByteIndexNode
.- Since:
- 22.1
-