public abstract static class StringPrototypeBuiltins.JSStringLastIndexOfNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringLastIndexOfNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isStringLength1(String str) |
protected int |
lastIndexOf(Object thisObj,
Object searchString,
Object position,
JSToStringNode toString2Node,
JSToNumberNode toNumberNode,
com.oracle.truffle.api.profiles.ConditionProfile posNaN,
com.oracle.truffle.api.profiles.ConditionProfile searchStrZero,
com.oracle.truffle.api.profiles.ConditionProfile searchStrOne) |
protected int |
lastIndexOfChar(String thisObj,
String searchString,
Object position) |
protected int |
lastIndexOfString(String thisObj,
String searchString,
int position,
com.oracle.truffle.api.profiles.ConditionProfile searchStrZero,
com.oracle.truffle.api.profiles.ConditionProfile searchStrOne) |
protected int |
lastIndexOfString(String thisObj,
String searchString,
Object position,
com.oracle.truffle.api.profiles.ConditionProfile searchStrZero,
com.oracle.truffle.api.profiles.ConditionProfile searchStrOne) |
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) |
copyUninitialized, 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 boolean isStringLength1(String str)
protected int lastIndexOfString(String thisObj, String searchString, Object position, com.oracle.truffle.api.profiles.ConditionProfile searchStrZero, com.oracle.truffle.api.profiles.ConditionProfile searchStrOne)
protected int lastIndexOfString(String thisObj, String searchString, int position, com.oracle.truffle.api.profiles.ConditionProfile searchStrZero, com.oracle.truffle.api.profiles.ConditionProfile searchStrOne)
protected int lastIndexOf(Object thisObj, Object searchString, Object position, JSToStringNode toString2Node, JSToNumberNode toNumberNode, com.oracle.truffle.api.profiles.ConditionProfile posNaN, com.oracle.truffle.api.profiles.ConditionProfile searchStrZero, com.oracle.truffle.api.profiles.ConditionProfile searchStrOne)
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)