public abstract static class StringPrototypeBuiltins.JSStringSliceNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringSliceNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
requireObjectCoercible(Object target) |
protected Object |
sliceGeneric(Object thisObj,
Object start,
Object end,
com.oracle.truffle.api.profiles.InlinedConditionProfile isUndefined,
com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty,
com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1,
com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile2) |
protected Object |
sliceObjectIntInt(Object thisObj,
int start,
int end,
com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1,
com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile2,
com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty) |
protected Object |
sliceStringIntInt(com.oracle.truffle.api.strings.TruffleString thisObj,
int start,
int end,
com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1,
com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile2,
com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty) |
protected Object |
sliceStringIntUndefined(com.oracle.truffle.api.strings.TruffleString str,
int start,
Object end,
com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1,
com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty) |
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 Object sliceStringIntInt(com.oracle.truffle.api.strings.TruffleString thisObj, int start, int end, com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1, com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile2, com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty)
protected Object sliceObjectIntInt(Object thisObj, int start, int end, com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1, com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile2, com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty)
protected Object sliceStringIntUndefined(com.oracle.truffle.api.strings.TruffleString str, int start, Object end, com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1, com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty)
protected Object sliceGeneric(Object thisObj, Object start, Object end, com.oracle.truffle.api.profiles.InlinedConditionProfile isUndefined, com.oracle.truffle.api.profiles.InlinedConditionProfile canReturnEmpty, com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile1, com.oracle.truffle.api.profiles.InlinedConditionProfile offsetProfile2)
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)