public abstract static class StringPrototypeBuiltins.JSStringReplaceES5Node extends StringPrototypeBuiltins.JSStringReplaceBaseNode
| Modifier and Type | Class and Description |
|---|---|
protected static class |
StringPrototypeBuiltins.JSStringReplaceES5Node.FunctionReplacer |
protected static class |
StringPrototypeBuiltins.JSStringReplaceES5Node.StringReplacer |
StringPrototypeBuiltins.JSStringReplaceBaseNode.ReplaceStringConsumerJSBuiltinNode.Inlineable, JSBuiltinNode.InlinedappendStringNode, appendSubStringNode, builderToStringNode, functionalReplaceProfile, functionReplaceCallNode, replaceNecessaryProfileregExpIgnoreLastIndexNode, regExpNodeARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringReplaceES5Node(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
match(JSRegExpObject regExp,
com.oracle.truffle.api.strings.TruffleString input) |
protected Object |
replace(Object thisObj,
Object searchValue,
Object replaceValue,
com.oracle.truffle.api.nodes.Node node,
JSToStringNode toString2Node,
JSToStringNode toString3Node,
com.oracle.truffle.api.profiles.InlinedCountingConditionProfile ifIsMatch,
com.oracle.truffle.api.profiles.InlinedConditionProfile isRegExp,
com.oracle.truffle.api.profiles.InlinedCountingConditionProfile isFnRepl,
TRegexUtil.InteropReadIntMemberNode readGroupCount,
TRegexUtil.InteropReadBooleanMemberNode readIsMatch,
TRegexUtil.TRegexCompiledRegexSingleFlagAccessorNode getGlobalFlag) |
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 replace(Object thisObj, Object searchValue, Object replaceValue, com.oracle.truffle.api.nodes.Node node, JSToStringNode toString2Node, JSToStringNode toString3Node, com.oracle.truffle.api.profiles.InlinedCountingConditionProfile ifIsMatch, com.oracle.truffle.api.profiles.InlinedConditionProfile isRegExp, com.oracle.truffle.api.profiles.InlinedCountingConditionProfile isFnRepl, TRegexUtil.InteropReadIntMemberNode readGroupCount, TRegexUtil.InteropReadBooleanMemberNode readIsMatch, TRegexUtil.TRegexCompiledRegexSingleFlagAccessorNode getGlobalFlag)
protected final Object match(JSRegExpObject regExp, com.oracle.truffle.api.strings.TruffleString input)
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)