Package com.oracle.truffle.api.strings
Class TruffleString.WithMask.CreateUTF32Node
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node
- All Implemented Interfaces:
NodeInterface
,Cloneable
- Enclosing class:
TruffleString.WithMask
Node to create a new
TruffleString.WithMask
from a UTF-32 string and an int array. See
#execute(AbstractTruffleString, int[])
for details.- 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.WithMask.CreateNode
.abstract TruffleString.WithMask
execute
(AbstractTruffleString a, int[] mask) Get the uncached version ofTruffleString.WithMask.CreateNode
.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
Creates a newTruffleString.WithMask
froma
andmask
.mask.length
must be equal to the string's length inint
s.- Since:
- 22.1
-
create
Create a newTruffleString.WithMask.CreateNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleString.WithMask.CreateNode
.- Since:
- 22.1
-