public abstract static class TruffleString.ConcatNode extends Node
TruffleString.ConcatNode.execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding, boolean)
for details.Node.Child, Node.Children
Modifier and Type | Method and Description |
---|---|
static TruffleString.ConcatNode |
create()
Create a new
TruffleString.ConcatNode . |
abstract TruffleString |
execute(AbstractTruffleString a,
AbstractTruffleString b,
TruffleString.Encoding expectedEncoding,
boolean lazy)
Create a new string by concatenating
a and b . |
static TruffleString.ConcatNode |
getUncached()
Get the uncached version of
TruffleString.ConcatNode . |
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
public abstract TruffleString execute(AbstractTruffleString a, AbstractTruffleString b, TruffleString.Encoding expectedEncoding, boolean lazy)
a
and b
.lazy
- if true
, the creation of the new string's internal array may be
delayed until it is required by another operation. This parameter is expected
to be partial
evaluation constant
.public static TruffleString.ConcatNode create()
TruffleString.ConcatNode
.public static TruffleString.ConcatNode getUncached()
TruffleString.ConcatNode
.