Class MutableTruffleString.ConcatNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
MutableTruffleString
Node to create a new
MutableTruffleString
by concatenating two strings.- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Node
Node.Child, Node.Children
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a newMutableTruffleString.ConcatNode
.abstract MutableTruffleString
execute
(AbstractTruffleString a, AbstractTruffleString b, TruffleString.Encoding expectedEncoding) Creates a newMutableTruffleString
by concatenating two strings.Get the uncached version ofMutableTruffleString.ConcatNode
.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
public abstract MutableTruffleString execute(AbstractTruffleString a, AbstractTruffleString b, TruffleString.Encoding expectedEncoding) Creates a newMutableTruffleString
by concatenating two strings. The concatenation is performed eagerly since return value is mutable.- Since:
- 22.1
-
create
Create a newMutableTruffleString.ConcatNode
.- Since:
- 22.1
-
getUncached
Get the uncached version ofMutableTruffleString.ConcatNode
.- Since:
- 22.1
-