Class TruffleString.ReadCharUTF16Node
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
TruffleString
Node to read a single char from a UTF-16 string.
- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Node
Node.Child, Node.Children -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newTruffleString.ReadCharUTF16Node.final charexecute(AbstractTruffleString a, int charIndex) Read a single char from a UTF-16 string.final charexecuteBE(AbstractTruffleString a, int charIndex) Read a single char from a UTF-16BE string.final charexecuteLE(AbstractTruffleString a, int charIndex) Read a single char from a UTF-16LE string.Get the uncached version ofTruffleString.ReadCharUTF16Node.Methods inherited from class 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
Read a single char from a UTF-16 string.- Since:
- 22.1
-
executeLE
Read a single char from a UTF-16LE string.- Since:
- 26.0
-
executeBE
Read a single char from a UTF-16BE string.- Since:
- 26.0
-
create
Create a newTruffleString.ReadCharUTF16Node.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleString.ReadCharUTF16Node.- Since:
- 22.1
-