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