Class AbstractTruffleString

java.lang.Object
com.oracle.truffle.api.strings.AbstractTruffleString
Direct Known Subclasses:
MutableTruffleString, TruffleString

public abstract sealed class AbstractTruffleString extends Object permits TruffleString, MutableTruffleString
Abstract base class for Truffle strings. Useful when a value can be both a TruffleString or a MutableTruffleString. Note that values of this type are not valid interop values. They must be converted to TruffleString before passing them to other languages.
Since:
22.1
See Also: