public abstract static class TruffleString.FromLongNode extends Node
TruffleString
from a long
value. See
TruffleString.FromLongNode.execute(long, TruffleString.Encoding, boolean)
for details.Node.Child, Node.Children
Modifier and Type | Method and Description |
---|---|
static TruffleString.FromLongNode |
create()
Create a new
TruffleString.FromLongNode . |
abstract TruffleString |
execute(long value,
TruffleString.Encoding encoding,
boolean lazy)
Creates a 10's complement string from the given long value, using ASCII digits (0x30 -
0x39).
|
static TruffleString.FromLongNode |
getUncached()
Get the uncached version of
TruffleString.FromLongNode . |
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(long value, TruffleString.Encoding encoding, boolean lazy)
lazy
- if true, the string representation of the number is computed lazily the first
time it is needed. This parameter is expected to be
partial evaluation
constant
.public static TruffleString.FromLongNode create()
TruffleString.FromLongNode
.public static TruffleString.FromLongNode getUncached()
TruffleString.FromLongNode
.