Package com.oracle.truffle.api.strings
Class TruffleString.FromCharArrayUTF16Node
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
- All Implemented Interfaces:
NodeInterface
,Cloneable
- Enclosing class:
TruffleString
Node to create a new UTF-16
TruffleString
from a char array.- 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.FromCharArrayUTF16Node
.final TruffleString
execute
(char[] value) Creates a UTF-16TruffleString
from a char array.abstract TruffleString
execute
(char[] value, int charOffset, int charLength) Creates a UTF-16TruffleString
from a char-array.Get the uncached version ofTruffleString.FromCharArrayUTF16Node
.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 UTF-16TruffleString
from a char array.- Since:
- 22.1
-
execute
Creates a UTF-16TruffleString
from a char-array.- Since:
- 22.1
-
create
Create a newTruffleString.FromCharArrayUTF16Node
.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleString.FromCharArrayUTF16Node
.- Since:
- 22.1
-