Class TruffleStringBuilder.AppendCodePointNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
TruffleStringBuilder
Node to append a codepoint to a string builder.
- Since:
- 22.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Node
Node.Child, Node.Children -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newTruffleStringBuilder.AppendCodePointNode.final voidexecute(TruffleStringBuilder sb, int codepoint) Append a codepoint to the string builder.final voidexecute(TruffleStringBuilder sb, int codepoint, int repeat) Append a codepoint to the string builder,repeattimes.abstract voidexecute(TruffleStringBuilder sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Append a codepoint to the string builder,repeattimes.final voidexecute(TruffleStringBuilderUTF16 sb, int codepoint) Overload ofexecute(TruffleStringBuilder, int)for performance reasons.final voidexecute(TruffleStringBuilderUTF16 sb, int codepoint, int repeat) Overload ofexecute(TruffleStringBuilder, int, int)for performance reasons.abstract voidexecute(TruffleStringBuilderUTF16 sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Overload ofexecute(TruffleStringBuilder, int, int, boolean)for performance reasons.final voidexecute(TruffleStringBuilderUTF32 sb, int codepoint) Overload ofexecute(TruffleStringBuilder, int)for performance reasons.final voidexecute(TruffleStringBuilderUTF32 sb, int codepoint, int repeat) Overload ofexecute(TruffleStringBuilder, int, int)for performance reasons.abstract voidexecute(TruffleStringBuilderUTF32 sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Overload ofexecute(TruffleStringBuilder, int, int, boolean)for performance reasons.final voidexecute(TruffleStringBuilderUTF8 sb, int codepoint) Overload ofexecute(TruffleStringBuilder, int)for performance reasons.final voidexecute(TruffleStringBuilderUTF8 sb, int codepoint, int repeat) Overload ofexecute(TruffleStringBuilder, int, int)for performance reasons.abstract voidexecute(TruffleStringBuilderUTF8 sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Overload ofexecute(TruffleStringBuilder, int, int, boolean)for performance reasons.Get the uncached version ofTruffleStringBuilder.AppendCodePointNode.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
Append a codepoint to the string builder.- Since:
- 22.1
-
execute
Overload ofexecute(TruffleStringBuilder, int)for performance reasons.- Since:
- 25.1
-
execute
Overload ofexecute(TruffleStringBuilder, int)for performance reasons.- Since:
- 25.1
-
execute
Overload ofexecute(TruffleStringBuilder, int)for performance reasons.- Since:
- 25.1
-
execute
Append a codepoint to the string builder,repeattimes.- Since:
- 22.2
-
execute
Overload ofexecute(TruffleStringBuilder, int, int)for performance reasons.- Since:
- 25.1
-
execute
Overload ofexecute(TruffleStringBuilder, int, int)for performance reasons.- Since:
- 25.1
-
execute
Overload ofexecute(TruffleStringBuilder, int, int)for performance reasons.- Since:
- 25.1
-
execute
public abstract void execute(TruffleStringBuilder sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Append a codepoint to the string builder,repeattimes. IfallowUTF16Surrogatesistrue,UTF-16 surrogate valuespassed ascodepointwill not cause anIllegalArgumentException, but instead be encoded on a best-effort basis. This option is only supported onTruffleString.Encoding.UTF_16andTruffleString.Encoding.UTF_32.- Since:
- 22.2
-
execute
public abstract void execute(TruffleStringBuilderUTF8 sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Overload ofexecute(TruffleStringBuilder, int, int, boolean)for performance reasons.- Since:
- 25.1
-
execute
public abstract void execute(TruffleStringBuilderUTF16 sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Overload ofexecute(TruffleStringBuilder, int, int, boolean)for performance reasons.- Since:
- 25.1
-
execute
public abstract void execute(TruffleStringBuilderUTF32 sb, int codepoint, int repeat, boolean allowUTF16Surrogates) Overload ofexecute(TruffleStringBuilder, int, int, boolean)for performance reasons.- Since:
- 25.1
-
create
Create a newTruffleStringBuilder.AppendCodePointNode.- Since:
- 22.1
-
getUncached
Get the uncached version ofTruffleStringBuilder.AppendCodePointNode.- Since:
- 22.1
-