public abstract static class StringPrototypeBuiltins.JSStringSubstringNode extends JSBuiltinNode implements JSBuiltinNode.Inlineable
| Modifier and Type | Class and Description |
|---|---|
static class |
StringPrototypeBuiltins.JSStringSubstringNode.Inlined |
JSBuiltinNode.InlineableARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringSubstringNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
StringPrototypeBuiltins.JSStringSubstringNode.Inlined |
createInlined() |
protected void |
requireObjectCoercible(Object target) |
protected com.oracle.truffle.api.strings.TruffleString |
substring(com.oracle.truffle.api.strings.TruffleString thisStr,
int start,
int end,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile startLowerEnd) |
protected com.oracle.truffle.api.strings.TruffleString |
substringGeneric(Object thisObj,
Object start,
Object end,
JSToNumberNode toNumberNode,
JSToNumberNode toNumber2Node,
com.oracle.truffle.api.profiles.InlinedConditionProfile startUndefined,
com.oracle.truffle.api.profiles.InlinedConditionProfile endUndefined,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile startLowerEnd) |
protected com.oracle.truffle.api.strings.TruffleString |
substringStart(com.oracle.truffle.api.strings.TruffleString thisStr,
int start,
Object end,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile startLowerEnd) |
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) |
copyUninitialized, 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 com.oracle.truffle.api.strings.TruffleString substring(com.oracle.truffle.api.strings.TruffleString thisStr,
int start,
int end,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile startLowerEnd)
protected com.oracle.truffle.api.strings.TruffleString substringStart(com.oracle.truffle.api.strings.TruffleString thisStr,
int start,
Object end,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile startLowerEnd)
protected com.oracle.truffle.api.strings.TruffleString substringGeneric(Object thisObj, Object start, Object end, JSToNumberNode toNumberNode, JSToNumberNode toNumber2Node, com.oracle.truffle.api.profiles.InlinedConditionProfile startUndefined, com.oracle.truffle.api.profiles.InlinedConditionProfile endUndefined, com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile startLowerEnd)
public StringPrototypeBuiltins.JSStringSubstringNode.Inlined createInlined()
createInlined in interface JSBuiltinNode.Inlineableprotected 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)