public abstract static class StringPrototypeBuiltins.JSStringReplaceAllNode extends StringPrototypeBuiltins.JSStringReplaceBaseNode
StringPrototypeBuiltins.JSStringReplaceBaseNode.ReplaceStringConsumerJSBuiltinNode.Inlineable, JSBuiltinNode.InlinedappendStringNode, appendSubStringNode, builderToStringNode, functionalReplaceProfile, functionReplaceCallNode, replaceNecessaryProfileregExpIgnoreLastIndexNode, regExpNodeARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringReplaceAllNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
performReplaceAll(com.oracle.truffle.api.strings.TruffleString searchValue,
com.oracle.truffle.api.strings.TruffleString replaceValue,
Object thisObj,
ReplaceStringParser.Token[] parsedReplaceParam,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty,
com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile) |
protected Object |
performReplaceAllGeneric(Object searchValue,
Object replParam,
Object thisObj,
com.oracle.truffle.api.nodes.Node node,
JSToStringNode toString2Node,
JSToStringNode toString3Node,
IsCallableNode isCallableNode,
com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty,
com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile) |
protected Object |
replaceGeneric(Object thisObj,
Object searchValue,
Object replaceValue,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch,
JSToStringNode toString2Node,
JSToStringNode toString3Node,
IsCallableNode isCallableNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isRegExp,
com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode stringIndexOfNode,
com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty,
com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile,
com.oracle.truffle.api.profiles.InlinedConditionProfile isSpecialProfile,
com.oracle.truffle.api.profiles.InlinedConditionProfile callSpecialProfile) |
protected Object |
replaceString(Object thisObj,
com.oracle.truffle.api.strings.TruffleString searchValue,
com.oracle.truffle.api.strings.TruffleString replaceValue,
com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty,
com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile) |
protected Object |
replaceStringCached(Object thisObj,
com.oracle.truffle.api.strings.TruffleString searchValue,
com.oracle.truffle.api.strings.TruffleString replaceValue,
com.oracle.truffle.api.strings.TruffleString cachedReplaceValue,
ReplaceStringParser.Token[] cachedParsedReplaceValue,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode,
com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty,
com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile) |
protected void |
requireObjectCoercible(Object target) |
protected int |
toIntegerAsInt(Object target) |
protected com.oracle.truffle.api.strings.TruffleString |
toString(Object target) |
protected static int |
within(int value,
int min,
int max) |
protected static int |
withinNumber(Number value,
int min,
int max) |
appendSubstitution, functionReplaceCall, parseReplaceValuecall, getMethod, getRegExpIgnoreLastIndexNode, getRegExpNode, invoke, matchIgnoreLastIndexcopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected Object replaceStringCached(Object thisObj, com.oracle.truffle.api.strings.TruffleString searchValue, com.oracle.truffle.api.strings.TruffleString replaceValue, com.oracle.truffle.api.strings.TruffleString cachedReplaceValue, ReplaceStringParser.Token[] cachedParsedReplaceValue, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty, com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile)
protected Object replaceString(Object thisObj, com.oracle.truffle.api.strings.TruffleString searchValue, com.oracle.truffle.api.strings.TruffleString replaceValue, com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty, com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile)
protected Object performReplaceAll(com.oracle.truffle.api.strings.TruffleString searchValue, com.oracle.truffle.api.strings.TruffleString replaceValue, Object thisObj, ReplaceStringParser.Token[] parsedReplaceParam, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty, com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile)
protected Object replaceGeneric(Object thisObj, Object searchValue, Object replaceValue, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch, JSToStringNode toString2Node, JSToStringNode toString3Node, IsCallableNode isCallableNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isRegExp, com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode stringIndexOfNode, com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty, com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile isSpecialProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile callSpecialProfile)
protected Object performReplaceAllGeneric(Object searchValue, Object replParam, Object thisObj, com.oracle.truffle.api.nodes.Node node, JSToStringNode toString2Node, JSToStringNode toString3Node, IsCallableNode isCallableNode, com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode stringIndexOfStringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isSearchValueEmpty, com.oracle.truffle.api.profiles.InlinedBranchProfile dollarProfile)
protected static int within(int value,
int min,
int max)
protected static int withinNumber(Number value, int min, int max)
protected final void requireObjectCoercible(Object target)
protected com.oracle.truffle.api.strings.TruffleString toString(Object target)
protected int toIntegerAsInt(Object target)