public abstract static class StringPrototypeBuiltins.JSStringReplaceNode extends StringPrototypeBuiltins.JSStringReplaceBaseNode
StringPrototypeBuiltins.JSStringReplaceBaseNode.ReplaceStringConsumerJSBuiltinNode.Inlineable, JSBuiltinNode.InlineddollarProfile, functionalReplaceProfile, functionReplaceCallNode, isCallableNode, replaceNecessaryProfile, replaceValueProfile, searchValueProfile, toString2Node, toString3NodecallSpecialProfile, isSpecialProfile, regExpIgnoreLastIndexNode, regExpNodeINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringReplaceNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isStringString(Object arg1,
Object arg2) |
protected Object |
replaceGeneric(Object thisObj,
Object searchValue,
Object replaceValue) |
protected Object |
replaceString(Object thisObj,
String searchValue,
String replaceValue) |
protected Object |
replaceStringCached(Object thisObj,
String searchValue,
String replaceValue,
String cachedReplaceValue,
ReplaceStringParser.Token[] cachedParsedReplaceValue) |
protected void |
requireObjectCoercible(Object target) |
protected int |
toIntegerAsInt(Object target) |
protected String |
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, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected Object replaceStringCached(Object thisObj, String searchValue, String replaceValue, String cachedReplaceValue, ReplaceStringParser.Token[] cachedParsedReplaceValue)
protected Object replaceString(Object thisObj, String searchValue, String replaceValue)
protected Object replaceGeneric(Object thisObj, Object searchValue, Object replaceValue)
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 int toIntegerAsInt(Object target)