public abstract class JSConcatStringsNode extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
protected int |
stringLengthLimit |
| Modifier | Constructor and Description |
|---|---|
protected |
JSConcatStringsNode(int stringLengthLimit) |
| Modifier and Type | Method and Description |
|---|---|
static JSConcatStringsNode |
create() |
static JSConcatStringsNode |
create(int stringLengthLimit) |
protected CharSequence |
doConcat(CharSequence left,
CharSequence right,
com.oracle.truffle.api.profiles.ConditionProfile leftIsString,
com.oracle.truffle.api.profiles.ConditionProfile leftIsLazyString,
com.oracle.truffle.api.profiles.ConditionProfile leftIsFlat,
com.oracle.truffle.api.profiles.ConditionProfile rightIsString,
com.oracle.truffle.api.profiles.ConditionProfile rightIsLazyString,
com.oracle.truffle.api.profiles.ConditionProfile rightIsFlat,
com.oracle.truffle.api.profiles.ConditionProfile stringLength,
com.oracle.truffle.api.profiles.ConditionProfile shortStringAppend,
com.oracle.truffle.api.profiles.BranchProfile errorBranch) |
protected static CharSequence |
doLeftEmpty(CharSequence left,
CharSequence right) |
protected static CharSequence |
doRightEmpty(CharSequence left,
CharSequence right) |
abstract CharSequence |
executeCharSequence(CharSequence a,
CharSequence b) |
protected static boolean |
isEmptyString(CharSequence s) |
copy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static JSConcatStringsNode create(int stringLengthLimit)
public static JSConcatStringsNode create()
public abstract CharSequence executeCharSequence(CharSequence a, CharSequence b)
protected static CharSequence doLeftEmpty(CharSequence left, CharSequence right)
protected static CharSequence doRightEmpty(CharSequence left, CharSequence right)
protected final CharSequence doConcat(CharSequence left, CharSequence right, com.oracle.truffle.api.profiles.ConditionProfile leftIsString, com.oracle.truffle.api.profiles.ConditionProfile leftIsLazyString, com.oracle.truffle.api.profiles.ConditionProfile leftIsFlat, com.oracle.truffle.api.profiles.ConditionProfile rightIsString, com.oracle.truffle.api.profiles.ConditionProfile rightIsLazyString, com.oracle.truffle.api.profiles.ConditionProfile rightIsFlat, com.oracle.truffle.api.profiles.ConditionProfile stringLength, com.oracle.truffle.api.profiles.ConditionProfile shortStringAppend, com.oracle.truffle.api.profiles.BranchProfile errorBranch)
protected static boolean isEmptyString(CharSequence s)